From 593327ef5b506f031d75349fdcda1ad04e6684ed Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 Aug 2022 20:39:31 +0200 Subject: [PATCH] gnu: r-bgx: Build without CPU tuning. Fixes . * 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. --- gnu/packages/bioconductor.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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