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,7 +2537,7 @@ similarity of community members.")
|
|||
(delete 'configure)
|
||||
(replace 'build
|
||||
(lambda* (#:key source #:allow-other-keys)
|
||||
(and (zero? (system* "gcc"
|
||||
(invoke "gcc"
|
||||
"-O3"
|
||||
"-finline-functions"
|
||||
"-funroll-loops"
|
||||
|
@ -2545,8 +2545,8 @@ similarity of community members.")
|
|||
"-o"
|
||||
"FastTree"
|
||||
source
|
||||
"-lm"))
|
||||
(zero? (system* "gcc"
|
||||
"-lm")
|
||||
(invoke "gcc"
|
||||
"-DOPENMP"
|
||||
"-fopenmp"
|
||||
"-O3"
|
||||
|
@ -2556,12 +2556,11 @@ similarity of community members.")
|
|||
"-o"
|
||||
"FastTreeMP"
|
||||
source
|
||||
"-lm")))))
|
||||
"-lm")
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((bin (string-append (assoc-ref outputs "out")
|
||||
"/bin")))
|
||||
(mkdir-p bin)
|
||||
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
||||
(install-file "FastTree" bin)
|
||||
(install-file "FastTreeMP" bin)
|
||||
#t))))))
|
||||
|
|
Loading…
Reference in New Issue