gnu: fasttree: Use INVOKE.
* gnu/packages/bioinformatics.scm (fasttree)[arguments]: Use INVOKE; simplify install phase.
This commit is contained in:
parent
38622ccd14
commit
0db75f7a79
|
@ -2537,31 +2537,30 @@ similarity of community members.")
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key source #:allow-other-keys)
|
(lambda* (#:key source #:allow-other-keys)
|
||||||
(and (zero? (system* "gcc"
|
(invoke "gcc"
|
||||||
"-O3"
|
"-O3"
|
||||||
"-finline-functions"
|
"-finline-functions"
|
||||||
"-funroll-loops"
|
"-funroll-loops"
|
||||||
"-Wall"
|
"-Wall"
|
||||||
"-o"
|
"-o"
|
||||||
"FastTree"
|
"FastTree"
|
||||||
source
|
source
|
||||||
"-lm"))
|
"-lm")
|
||||||
(zero? (system* "gcc"
|
(invoke "gcc"
|
||||||
"-DOPENMP"
|
"-DOPENMP"
|
||||||
"-fopenmp"
|
"-fopenmp"
|
||||||
"-O3"
|
"-O3"
|
||||||
"-finline-functions"
|
"-finline-functions"
|
||||||
"-funroll-loops"
|
"-funroll-loops"
|
||||||
"-Wall"
|
"-Wall"
|
||||||
"-o"
|
"-o"
|
||||||
"FastTreeMP"
|
"FastTreeMP"
|
||||||
source
|
source
|
||||||
"-lm")))))
|
"-lm")
|
||||||
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((bin (string-append (assoc-ref outputs "out")
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
||||||
"/bin")))
|
|
||||||
(mkdir-p bin)
|
|
||||||
(install-file "FastTree" bin)
|
(install-file "FastTree" bin)
|
||||||
(install-file "FastTreeMP" bin)
|
(install-file "FastTreeMP" bin)
|
||||||
#t))))))
|
#t))))))
|
||||||
|
|
Loading…
Reference in New Issue