guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/32: gnu: graphene: Fix build on armhf-linux.


From: guix-commits
Subject: 01/32: gnu: graphene: Fix build on armhf-linux.
Date: Mon, 6 May 2024 19:19:38 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f14513b660b213b79e203529929fccec5325d7a0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 2 17:03:15 2024 +0300

    gnu: graphene: Fix build on armhf-linux.
    
    * gnu/packages/gtk.scm (graphene)[arguments]: When building for
    armhf-linux add a configure-flag to disable neon optimizations.
    
    Change-Id: I42b412d3f7536180e959e268b68f2c292edda749
---
 gnu/packages/gtk.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index b0098e780e..7367be1d1a 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2424,6 +2424,11 @@ Parcellite and adds bugfixes and features.")
        #:configure-flags
        (list
         "-Dinstalled_tests=false"
+        ;; Armhf with neon in graphene segfaulting is a known issue.
+        ;; https://github.com/ebassi/graphene/issues/215
+        ,@(if (target-arm32?)
+              '("-Darm_neon=false")
+              '())
         ,@(if (%current-target-system)
               ;; Introspection requires running binaries for 'host' on 'build'.
               '("-Dintrospection=disabled")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]