add pmixv3 version for debug

This commit is contained in:
Yann Dupont 2025-02-10 16:02:41 +01:00
parent e254f0439d
commit dfa3cd009e

View file

@ -148,12 +148,57 @@
http-parser
`(,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-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 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-glicid-preprod slurm-glicid-24.11)
(define-public slurm-glicid-test slurm-glicid-24.11)