dannym pushed a commit to branch master
in repository guix.

commit ed5e4b7135ee52d8667d3b06215d4adf8851f4cb
Author: Danny Milosavljevic <dan...@friendly-machines.com>
AuthorDate: Thu Mar 27 00:43:11 2025 +0100

    gnu: embree: Fix build.
    
    * gnu/packages/graphics.scm (embree)[arguments]<#:configure-flags>: Modify.
    
    Change-Id: Ie746c40e51b2cccf9b2b5ea2e867fc2dcc195f15
---
 gnu/packages/graphics.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 9d7ec2933a..fa646dd7c5 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -467,7 +467,10 @@ with the @command{autotrace} utility or as a C library, 
@code{libautotrace}.")
      `(#:tests? #f ; no tests (apparently)
        #:configure-flags
          (list
-          "-DEMBREE_ISPC_SUPPORT=OFF")))
+          "-DEMBREE_ISPC_SUPPORT=OFF"
+          ;; They SAY that that's the default--but it isn't
+          ;; (that would be AVX512--and that segfaults GCC (!)).
+          "-DEMBREE_MAX_ISA=AVX2")))
     (inputs
      (list tbb glfw))
     (home-page "https://www.embree.org/";)

Reply via email to