Commit bf4dca0f authored by Marko's avatar Marko 🇪🇭
Browse files

hawen now compiles and installation step copies the executable

parent fdbde642
......@@ -37,7 +37,12 @@
#:parallel-build? #f
#:phases
(modify-phases %standard-phases
(add-after 'build 'mpi-setup
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(install-file "../bin/forward_helmholtz_acoustic-iso_hdg.out" bin))))
(add-after 'build 'mpi-setup
,%openmpi-setup)
;; go into code subdirectory, yes I know it is verbose
;; only for a "cd" command 😀
......
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