summary refs log tree commit diff
path: root/gnu/packages/bioconductor.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-14 20:39:31 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-08-14 20:43:01 +0200
commit593327ef5b506f031d75349fdcda1ad04e6684ed (patch)
treed33dd2557050a4b35fc132e28088a12bc42e6ade /gnu/packages/bioconductor.scm
parent8e87bbde1358a00bfe19c73c366cb620899a4119 (diff)
downloadguix-593327ef5b506f031d75349fdcda1ad04e6684ed.tar.gz
gnu: r-bgx: Build without CPU tuning.
Fixes <https://issues.guix.gnu.org/57210>.

* gnu/packages/bioconductor.scm (r-bgx)[arguments]: Add phase
'do-not-tune-cflags-for-reproducibility to patch configure.ac.
[inputs]: Add boost.
[native-inputs]: Add autoconf and automake.
Diffstat (limited to 'gnu/packages/bioconductor.scm')
-rw-r--r--gnu/packages/bioconductor.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 07440dff69..111bd65823 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -35,6 +35,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system r)
   #:use-module (gnu packages)
+  #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages bioinformatics)
   #:use-module (gnu packages boost)
@@ -12995,8 +12996,22 @@ gene expression.")
          "0q2y4n6bcc9pvz5sgfkw1lrb00rrp7q29i1vh7srdfmfhgpyz6bk"))))
     (properties `((upstream-name . "bgx")))
     (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'do-not-tune-cflags-for-reproducibility
+           (lambda _
+             (substitute* "configure.ac"
+               (("AX_GCC_ARCHFLAG.*") ""))
+             (delete-file "configure")
+             (invoke "autoreconf" "-vif"))))))
+    (inputs
+     (list boost))
     (propagated-inputs
      (list r-affy r-biobase r-gcrma r-rcpp))
+    (native-inputs
+     (list autoconf automake))
     (home-page "https://bioconductor.org/packages/bgx/")
     (synopsis "Bayesian gene expression")
     (description