gnu: imb: Use INVOKE.

* gnu/packages/benchmark.scm (imb)[arguments]: Use INVOKE.
This commit is contained in:
Ricardo Wurmus 2019-01-25 11:37:54 +01:00
parent 843ce5b419
commit 1530b17aa1
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 4 deletions

View File

@ -135,10 +135,9 @@ is to write a job file matching the I/O load one wants to simulate.")
(replace 'build (replace 'build
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((mpi-home (assoc-ref inputs "mpi"))) (let ((mpi-home (assoc-ref inputs "mpi")))
(zero? ;; Not safe for parallel build
;; Not safe for parallel build (invoke "make" "-C" "imb/src" "-f" "make_mpich" "SHELL=sh"
(system* "make" "-C" "imb/src" "-f" "make_mpich" "SHELL=sh" (string-append "MPI_HOME=" mpi-home)))))
(string-append "MPI_HOME=" mpi-home))))))
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))