lots of old packages cleaned

This commit is contained in:
Yann Dupont 2025-01-28 18:42:16 +01:00
parent d4ac16c761
commit 2992349804
4 changed files with 90 additions and 511 deletions

View file

@ -17,7 +17,7 @@
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages databases)
#:use-module (glicid utils)
#:use-module (glicid packages fabric-management) ;for latest ucx
; #:use-module (glicid packages fabric-management) ;for latest ucx
#:use-module (gnu packages fabric-management)
#:use-module (glicid packages containers) ;for latest podman
#:use-module (gnu packages compression) ;lz4
@ -130,91 +130,91 @@
(sha256
(base32 "0mlhqsyn3sc59wjg47wk20aw9rxz379rnqpjny8f0x6qnppfxsrr"))))))
(define-public slurm-22.05-glicid-std
(package
(inherit slurm-22.05-latest)
(name "slurm-glicid-noucx-nopmix")
(inputs (modify-inputs (package-inputs slurm-22.05-latest)
(prepend gtk+-2 ;for sview
ucx
openpmix-3 ;for pmix support
json-c
libjwt
libyaml
http-parser ;for REST API
`(,mariadb "dev"))))))
;(define-public slurm-22.05-glicid-std
; (package
; (inherit slurm-22.05-latest)
; (name "slurm-glicid-noucx-nopmix")
; (inputs (modify-inputs (package-inputs slurm-22.05-latest)
; (prepend gtk+-2 ;for sview
; ucx
; openpmix-3 ;for pmix support
; json-c
; libjwt
; libyaml
; http-parser ;for REST API
; `(,mariadb "dev"))))))
; for mariadb/mysql client support
(define-public slurm-22.05-glicid
(package
(inherit slurm-22.05-glicid-std)
(version "22.05.11")
(name "slurm-glicid")
(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-pmix=" #$(this-package-input "openpmix-3") ":" #$(this-package-input "openpmix-4") )
(string-append "--with-pmix="
#$(this-package-input
"openpmix-3"))
(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-4"))
;; 32-bit support is marked as deprecated and needs to be
;; explicitly enabled.
#$@(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"))) ;configure.ac was patched
(add-after 'install 'install-libpmi
(lambda _
;; Open MPI expects libpmi to be provided by Slurm so install it.
(invoke "make" "install" "-C" "contribs/pmi")
;(define-public slurm-22.05-glicid
; (package
; (inherit slurm-22.05-glicid-std)
; (version "22.05.11")
; (name "slurm-glicid")
; (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-pmix=" #$(this-package-input "openpmix-3") ":" #$(this-package-input "openpmix-4") )
; (string-append "--with-pmix="
; #$(this-package-input
; "openpmix-3"))
; (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-4"))
; ;; 32-bit support is marked as deprecated and needs to be
; ;; explicitly enabled.
; #$@(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"))) ;configure.ac was patched
; (add-after 'install 'install-libpmi
; (lambda _
; ;; Open MPI expects libpmi to be provided by Slurm so install it.
; (invoke "make" "install" "-C" "contribs/pmi")
;
; ;; Others expect pmi2.
; (invoke "make" "install" "-C" "contribs/pmi2"))))))))
;; Others expect pmi2.
(invoke "make" "install" "-C" "contribs/pmi2"))))))))
;(define slurm-23.02-latest
; (latest-version gnu:slurm slurm-upstream-23.02))
(define slurm-23.02-latest
(latest-version gnu:slurm slurm-upstream-23.02))
(define-public slurm-23.02-glicid
(package
(inherit slurm-23.02-latest)
(name "slurm-upstream-glicid")
(inputs (modify-inputs (package-inputs slurm-23.02-latest)
(prepend gtk+-2
`(,mariadb "dev")
ucx-latest-glicid ;not autotested by config
podman
lua
lz4)))))
;(define-public slurm-23.02-glicid
; (package
; (inherit slurm-23.02-latest)
; (name "slurm-upstream-glicid")
; (inputs (modify-inputs (package-inputs slurm-23.02-latest)
; (prepend gtk+-2
; `(,mariadb "dev")
; ucx-latest-glicid ;not autotested by config
; podman
; lua
; lz4)))))
(define (make-slurm-glicid base-package)
(package
@ -279,13 +279,13 @@
http-parser ;for REST API
`(,mariadb "dev")))))) ; for mariadb/mysql client support
(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-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-ccipl slurm-22.05-glicid)
(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)