mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-29 21:58:36 +02:00
add pmixv3 version for debug
This commit is contained in:
parent
e254f0439d
commit
dfa3cd009e
1 changed files with 45 additions and 0 deletions
|
@ -148,12 +148,57 @@
|
||||||
http-parser
|
http-parser
|
||||||
`(,mariadb "dev"))))))
|
`(,mariadb "dev"))))))
|
||||||
|
|
||||||
|
(define (make-slurm-glicid-pmix3 base-package)
|
||||||
|
(package
|
||||||
|
(inherit base-package)
|
||||||
|
(name "slurm-glicid-pmix3")
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:configure-flags #~(list "--enable-pam"
|
||||||
|
"--sysconfdir=/etc/slurm"
|
||||||
|
"--disable-static"
|
||||||
|
(string-append "--with-freeipmi=" #$(this-package-input "freeipmi"))
|
||||||
|
(string-append "--with-hwloc=" (ungexp (this-package-input "hwloc") "lib"))
|
||||||
|
(string-append "--with-json=" #$(this-package-input "json-c"))
|
||||||
|
(string-append "--with-munge=" #$(this-package-input "munge"))
|
||||||
|
(string-append "--with-yaml=" #$(this-package-input "libyaml"))
|
||||||
|
(string-append "--with-jwt=" #$(this-package-input "libjwt"))
|
||||||
|
(string-append "--with-http-parser=" #$(this-package-input "http-parser"))
|
||||||
|
(string-append "--with-ucx=" #$(this-package-input "ucx"))
|
||||||
|
(string-append "--with-pmix=" #$(this-package-input "openpmix-3"))
|
||||||
|
#$@(if (target-64bit?)
|
||||||
|
'()
|
||||||
|
'("--enable-deprecated")))
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(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")))
|
||||||
|
(add-after 'install 'install-libpmi
|
||||||
|
(lambda _
|
||||||
|
(invoke "make" "install" "-C" "contribs/pmi")
|
||||||
|
(invoke "make" "install" "-C" "contribs/pmi2"))))))
|
||||||
|
(inputs (modify-inputs (package-inputs base-package)
|
||||||
|
(prepend gtk+-2
|
||||||
|
ucx openpmix-3
|
||||||
|
json-c
|
||||||
|
libjwt
|
||||||
|
libyaml
|
||||||
|
http-parser
|
||||||
|
`(,mariadb "dev"))))))
|
||||||
|
|
||||||
|
|
||||||
(define-public slurm-glicid-22.05 (make-slurm-glicid slurm-upstream-22.05))
|
(define-public slurm-glicid-22.05 (make-slurm-glicid slurm-upstream-22.05))
|
||||||
(define-public slurm-glicid-23.11 (make-slurm-glicid slurm-upstream-23.11))
|
(define-public slurm-glicid-23.11 (make-slurm-glicid slurm-upstream-23.11))
|
||||||
(define-public slurm-glicid-24.11 (make-slurm-glicid slurm-upstream-24.11))
|
(define-public slurm-glicid-24.11 (make-slurm-glicid slurm-upstream-24.11))
|
||||||
|
|
||||||
(define-public slurm-glicid slurm-glicid-24.11)
|
(define-public slurm-glicid slurm-glicid-24.11)
|
||||||
|
(define-public slurm-glicid-pmix3-24.11 (make-slurm-glicid-pmix3 slurm-upstream-24.11))
|
||||||
|
|
||||||
(define-public slurm-ccipl slurm-glicid-22.05)
|
(define-public slurm-ccipl slurm-glicid-22.05)
|
||||||
(define-public slurm-glicid-preprod slurm-glicid-24.11)
|
(define-public slurm-glicid-preprod slurm-glicid-24.11)
|
||||||
(define-public slurm-glicid-test slurm-glicid-24.11)
|
(define-public slurm-glicid-test slurm-glicid-24.11)
|
||||||
|
|
Loading…
Add table
Reference in a new issue