1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-15 05:35:53 +02:00

gnu: r-bpcells: Build with SSE2 for on x86 32-bit platforms.

* gnu/packages/bioinformatics.scm (r-bpcells)[arguments]: Conditionally add
phase 'require-sse2.

Change-Id: I4927d9701e47dc34cc435d24c64a3043ad984f0d
This commit is contained in:
Ricardo Wurmus
2026-04-16 09:43:16 +02:00
parent 0645572055
commit 4e1160e837
+8 -2
View File
@@ -931,9 +931,15 @@ suite native in R.")
(arguments
(list
#:phases
'(modify-phases %standard-phases
`(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _ (chdir "r"))))))
(lambda _ (chdir "r")))
,@(if (target-x86-32?)
'((add-after 'chdir 'require-sse2
;; This avoids falling back to the scalar backend in
;; highway, which fails to build.
(lambda _ (setenv "CFLAGS" "-msse2"))))
'()))))
(propagated-inputs
(list r-dplyr
r-ggplot2