Commit 956a34e2 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

nmad: Arrange so that 'mpicc' & co. find $libexecdir.

Reported by Emmanuel Agullo.

* inria/tadaam.scm (nmad-2019-05-13)[argumenst]: Add
'set-libexec-dir-mpicc' phase.
parent cae395e4
......@@ -229,6 +229,17 @@
(substitute* "building-tools/"
(("/bin/sh") (which "sh")))
(add-after 'install 'set-libexec-dir-mpicc
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(for-each (lambda (file)
(substitute* file
(string-append "libexec=" out
(find-files (string-append out "/bin")
(delete 'check))))
`(("pkg-config" ,pkg-config)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment