mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: slurm: Link plugins with libslurm.
* gnu/packages/parallel.scm (slurm)[arguments]: Add phase patch-plugin-linker-flags to link plugins with libslurm; run autoconf phase after this new phase.
This commit is contained in:
parent
ffd5bc9600
commit
d027637026
1 changed files with 6 additions and 1 deletions
|
@ -198,7 +198,12 @@ (define-public slurm
|
|||
,@(if (target-64bit?) '() '("--enable-deprecated")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'autoconf
|
||||
(add-after 'unpack 'patch-plugin-linker-flags
|
||||
(lambda _
|
||||
(substitute* (find-files "src/plugins/" "Makefile.in")
|
||||
(("_la_LDFLAGS = ")
|
||||
"_la_LDFLAGS = ../../../api/libslurm.la "))))
|
||||
(add-after 'patch-plugin-linker-flags 'autoconf
|
||||
(lambda _ (invoke "autoconf"))) ;configure.ac was patched
|
||||
(add-after 'install 'install-libpmi
|
||||
(lambda _
|
||||
|
|
Loading…
Reference in a new issue