[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
146/146: gnu: r-rbowtie: Fix build on architectures other than x86_64.
From: |
guix-commits |
Subject: |
146/146: gnu: r-rbowtie: Fix build on architectures other than x86_64. |
Date: |
Tue, 12 Apr 2022 10:01:44 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 855097683230b756ba28636bed03ce904b6f3589
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 12 11:37:57 2022 +0200
gnu: r-rbowtie: Fix build on architectures other than x86_64.
* gnu/packages/bioconductor.scm (r-rbowtie)[arguments]: Disable use of
popcnt
on systems other than x86_64.
---
gnu/packages/bioconductor.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 04328c6876..803437a033 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -9677,6 +9677,18 @@ Gaussian distributions.")
"0ardmryx6ac7v6n900a1klrrldvbmh7bxvy8ldz8rwid19h29ikr"))))
(properties `((upstream-name . "Rbowtie")))
(build-system r-build-system)
+ (arguments
+ `(#:phases
+ ;; Disable unsupported `popcnt' instructions on
+ ;; architectures other than x86_64
+ ,(if (string-prefix? "x86_64"
+ (or (%current-target-system)
+ (%current-system)))
+ '%standard-phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'patch-sources
+ (lambda _
+ (setenv "POPCNT_CAPABILITY" "0")))))))
(inputs (list zlib))
(native-inputs
(list r-knitr))
- 123/146: gnu: r-rcolorbrewer: Update to 1.1-3., (continued)
- 123/146: gnu: r-rcolorbrewer: Update to 1.1-3., guix-commits, 2022/04/12
- 113/146: gnu: r-exactextractr: Update to 0.8.1., guix-commits, 2022/04/12
- 131/146: gnu: r-rprojroot: Update to 2.0.3., guix-commits, 2022/04/12
- 114/146: gnu: r-paws-common: Update to 0.3.17., guix-commits, 2022/04/12
- 133/146: gnu: r-rsqlite: Update to 2.2.12., guix-commits, 2022/04/12
- 137/146: gnu: r-deoptimr: Update to 1.0-11., guix-commits, 2022/04/12
- 139/146: gnu: r-rcppeigen: Update to 0.3.3.9.2., guix-commits, 2022/04/12
- 144/146: gnu: r-norm: Update to 1.0-10.0., guix-commits, 2022/04/12
- 142/146: gnu: r-cairo: Update to 1.5-15., guix-commits, 2022/04/12
- 140/146: gnu: r-lme4: Update to 1.1-29., guix-commits, 2022/04/12
- 146/146: gnu: r-rbowtie: Fix build on architectures other than x86_64.,
guix-commits <=
- 145/146: gnu: r-rlrsim: Update to 3.1-8., guix-commits, 2022/04/12
- 31/146: gnu: r-rdpack: Update to 2.3., guix-commits, 2022/04/12
- 32/146: gnu: r-officer: Update to 0.4.2., guix-commits, 2022/04/12
- 39/146: gnu: r-emmeans: Update to 1.7.3., guix-commits, 2022/04/12
- 41/146: gnu: r-performance: Update to 0.9.0., guix-commits, 2022/04/12
- 47/146: gnu: r-admisc: Update to 0.26., guix-commits, 2022/04/12
- 11/146: gnu: r-sass: Update to 0.4.1., guix-commits, 2022/04/12
- 50/146: gnu: r-gmp: Update to 0.6-5., guix-commits, 2022/04/12
- 52/146: gnu: r-parallelly: Update to 1.31.0., guix-commits, 2022/04/12
- 67/146: gnu: r-mcmcpack: Update to 1.6-2., guix-commits, 2022/04/12