gnu: flexbar: Fix reproducibility bug.

* gnu/packages/bioinformatics.scm (flexbar)[arguments]: Add phase
"do-not-tune-to-CPU".
This commit is contained in:
Ricardo Wurmus 2019-02-27 15:39:51 +01:00
parent d97283c3a6
commit 8aa1ca85ac
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 5 additions and 0 deletions

View File

@ -2715,6 +2715,11 @@ results. The FASTX-Toolkit tools perform some of these preprocessing tasks.")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'do-not-tune-to-CPU
(lambda _
(substitute* "src/CMakeLists.txt"
((" -march=native") ""))
#t))
(replace 'check
(lambda* (#:key outputs #:allow-other-keys)
(setenv "PATH" (string-append (getcwd) ":" (getenv "PATH")))