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.
This commit is contained in:
Ricardo Wurmus 2022-08-14 20:39:31 +02:00
parent 8e87bbde13
commit 593327ef5b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -35,6 +35,7 @@ (define-module (gnu packages bioconductor)
#: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 @@ (define-public r-bgx
"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