guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c6cdc2590510ccd4ad1dbe157c15a1e2bee14292
Author: Olivier Farges <[email protected]>
AuthorDate: Wed Jun 10 10:41:50 2026 +0200
gnu: embree: Rewrite arguments using gexps.
* gnu/packages/graphics.scm (embree)[arguments]: Rewrite using gexps.
Relates-to: guix/guix!9216
Reviewed-by: bdunahu <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/graphics.scm | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index eaa7c5be03..1a447ed042 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -623,21 +623,21 @@ with the @command{autotrace} utility or as a C library,
@code{libautotrace}.")
"1hyv68b0q6chflf9p1s64z2qcddv7yrh2f4vjf9nclnpgnkjv4k4"))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ; no tests (apparently)
- #:configure-flags
- (list
- "-DEMBREE_ISPC_SUPPORT=OFF"
- ,@(cond
- ((target-x86-64?)
- ;; They SAY that that's the default--but it isn't
- ;; (that would be AVX512--and that segfaults GCC (!)).
- `("-DEMBREE_MAX_ISA=AVX2"))
- ((target-aarch64?)
- `("-DEMBREE_ARM=ON"
- "-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF"
- "-DCMAKE_CXX_FLAGS=-flax-vector-conversions"))
- (else
- '())))))
+ (list
+ #:tests? #f ; no tests (apparently)
+ #:configure-flags
+ #~(list "-DEMBREE_ISPC_SUPPORT=OFF"
+ #$@(cond
+ ((target-x86-64?)
+ ;; They SAY that that's the default--but it isn't
+ ;; (that would be AVX512--and that segfaults GCC (!)).
+ '("-DEMBREE_MAX_ISA=AVX2"))
+ ((target-aarch64?)
+ '("-DEMBREE_ARM=ON"
+ "-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF"
+ "-DCMAKE_CXX_FLAGS=-flax-vector-conversions"))
+ (else
+ '())))))
(inputs
(list glfw onetbb))
(home-page "https://www.embree.org/")