2021-10-25 09:08:28 +02:00
|
|
|
(define-module (glicid packages linux)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2022-03-18 22:07:47 +01:00
|
|
|
#:use-module (guix git-download)
|
2021-12-10 21:05:50 +01:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module (guix build-system go)
|
|
|
|
#:use-module (gnu packages backup)
|
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages cryptsetup)
|
|
|
|
#:use-module (gnu packages golang)
|
2021-11-21 22:42:20 +01:00
|
|
|
#:use-module ((gnu packages linux) #:prefix gnu:)
|
2022-03-21 22:25:52 +01:00
|
|
|
#:use-module (gnu packages linux) ;; yes : redundant FIXIT
|
|
|
|
#:use-module (gnu system uuid)
|
2021-12-10 21:05:50 +01:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2022-03-18 22:34:43 +01:00
|
|
|
#:use-module (gnu packages autotools)
|
2021-12-10 21:05:50 +01:00
|
|
|
#:use-module (gnu packages python)
|
|
|
|
#:use-module (gnu packages tls)
|
2021-12-11 14:12:25 +01:00
|
|
|
; #:use-module (glicid packages golang)
|
2022-02-28 15:58:39 +01:00
|
|
|
#:use-module (glicid utils)
|
2021-10-25 09:08:28 +02:00
|
|
|
)
|
|
|
|
|
2022-02-28 16:22:26 +01:00
|
|
|
(define-public rdma-core-upstream-37.1
|
2021-12-03 11:56:14 +01:00
|
|
|
(package
|
2021-11-21 22:42:20 +01:00
|
|
|
(inherit gnu:rdma-core)
|
2022-02-28 16:22:26 +01:00
|
|
|
(name (string-append (package-name gnu:rdma-core) "-upstream" ))
|
2021-10-25 20:51:36 +02:00
|
|
|
(version "37.1")
|
2021-12-03 11:56:14 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/linux-rdma/rdma-core/releases/download/v" version "/rdma-core-" version ".tar.gz"))
|
|
|
|
(sha256 (base32 "1hjwagf5x48vgshy5s01qjlzjr8kmxpflfcvh8pgj3zbj82zzxiz"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2021-10-25 09:08:28 +02:00
|
|
|
)
|
|
|
|
|
2022-02-28 16:22:26 +01:00
|
|
|
(define-public rdma-core-upstream-38.0
|
2021-12-03 11:56:14 +01:00
|
|
|
(package
|
2021-11-21 22:42:20 +01:00
|
|
|
(inherit gnu:rdma-core)
|
2022-02-28 16:22:26 +01:00
|
|
|
(name (string-append (package-name gnu:rdma-core) "-upstream" ))
|
2021-11-21 22:42:20 +01:00
|
|
|
(version "38.0")
|
2021-12-03 11:56:14 +01:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/linux-rdma/rdma-core/releases/download/v" version "/rdma-core-" version ".tar.gz"))
|
|
|
|
(sha256 (base32 "043vybwx9kz4mbbmnj0jzkzsw02vzhkkjc5j3yjdiiqkmsgwr3cs"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2021-11-21 22:42:20 +01:00
|
|
|
)
|
|
|
|
|
2022-02-28 16:22:26 +01:00
|
|
|
(define-public rdma-core-upstream-39.0
|
2022-02-11 23:01:03 +01:00
|
|
|
(package
|
|
|
|
(inherit gnu:rdma-core)
|
2022-02-28 16:22:26 +01:00
|
|
|
(name (string-append (package-name gnu:rdma-core) "-upstream" ))
|
2022-02-11 23:01:03 +01:00
|
|
|
(version "39.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/linux-rdma/rdma-core/releases/download/v" version "/rdma-core-" version ".tar.gz"))
|
|
|
|
(sha256 (base32 "0y13px3qgyh3szywjhikw183y54iym9sa60aw0sf51p3kzgg1spn"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2022-02-28 16:22:26 +01:00
|
|
|
(define local-rdma-core rdma-core-upstream-39.0)
|
2021-10-25 09:08:28 +02:00
|
|
|
|
2022-02-28 15:58:39 +01:00
|
|
|
(define-public rdma-core-latest (latest-version local-rdma-core gnu:rdma-core))
|
2021-10-25 19:14:23 +02:00
|
|
|
|
2022-02-28 16:22:26 +01:00
|
|
|
(define-public libfabric-upstream-1.13.1
|
2021-12-03 11:56:14 +01:00
|
|
|
(package
|
2021-11-21 22:42:20 +01:00
|
|
|
(inherit gnu:libfabric)
|
2021-10-25 20:51:36 +02:00
|
|
|
(version "1.13.1")
|
2022-02-28 16:22:26 +01:00
|
|
|
(name (string-append (package-name gnu:libfabric) "-upstream" ))
|
2021-11-21 22:54:16 +01:00
|
|
|
(source
|
2021-12-03 11:56:14 +01:00
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/ofiwg/libfabric/releases/download/v" version "/libfabric-" version ".tar.bz2"))
|
|
|
|
(sha256 (base32 "03nkhqjjyw3hwhxrn7rg30qc1gzc1r7p7lymyz5s96m3qhwfsvlf"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2021-11-21 22:54:16 +01:00
|
|
|
)
|
|
|
|
|
2022-02-28 16:22:26 +01:00
|
|
|
(define-public libfabric-upstream-1.14.0
|
2021-12-03 11:56:14 +01:00
|
|
|
(package
|
2021-11-21 22:54:16 +01:00
|
|
|
(inherit gnu:libfabric)
|
|
|
|
(version "1.14.0")
|
2022-02-28 16:22:26 +01:00
|
|
|
(name (string-append (package-name gnu:libfabric) "-upstream" ))
|
2021-11-21 22:54:16 +01:00
|
|
|
(source
|
2021-12-03 11:56:14 +01:00
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/ofiwg/libfabric/releases/download/v" version "/libfabric-" version ".tar.bz2"))
|
|
|
|
(sha256 (base32 "16klkzkg04wb699mqpi8mn2r8sqzj35zalynbdazyg4ghj4169pw"))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2021-10-25 19:14:23 +02:00
|
|
|
)
|
|
|
|
|
2022-03-21 22:25:52 +01:00
|
|
|
(define-public libfabric-opx-beta-upstream-1.14.0-c
|
2022-03-18 22:07:47 +01:00
|
|
|
|
2022-03-21 15:50:50 +01:00
|
|
|
(let ((commit "e127cd074bbfd8c50b9f3cfb5b8e24162f8076a4"))
|
2022-03-18 22:07:47 +01:00
|
|
|
(package
|
|
|
|
(inherit gnu:libfabric)
|
2022-03-21 22:25:52 +01:00
|
|
|
(version "1.14.0c")
|
2022-03-18 22:07:47 +01:00
|
|
|
(name (string-append (package-name gnu:libfabric) "-opx-beta-upstream" ))
|
|
|
|
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
2022-03-21 15:50:50 +01:00
|
|
|
(url "https://github.com/ofiwg/libfabric.git")
|
2022-03-18 22:07:47 +01:00
|
|
|
(commit commit)
|
2022-03-21 15:50:50 +01:00
|
|
|
))
|
2022-03-18 22:07:47 +01:00
|
|
|
(file-name (git-file-name name version))
|
2022-03-21 22:25:52 +01:00
|
|
|
(sha256 (base32 "0fh665l2xcl59zhbn63y5bm8v9s652gk5s8r094qb4if0bp3in04"))
|
2022-03-18 22:07:47 +01:00
|
|
|
|
|
|
|
)
|
2022-03-18 22:27:47 +01:00
|
|
|
)
|
|
|
|
(inputs `(
|
|
|
|
("autoconf", autoconf)
|
2022-03-21 15:50:50 +01:00
|
|
|
("automake", automake)
|
|
|
|
("libtool", libtool)
|
2022-03-21 22:25:52 +01:00
|
|
|
("libuuid" , util-linux "lib")
|
|
|
|
("numactl" , gnu:numactl)
|
|
|
|
("psm2" , gnu:psm2)
|
2022-03-18 22:27:47 +01:00
|
|
|
,@(package-inputs gnu:libfabric)))
|
|
|
|
|
2022-03-21 15:50:50 +01:00
|
|
|
)
|
|
|
|
)
|
2022-03-18 22:07:47 +01:00
|
|
|
)
|
|
|
|
|
2022-03-23 14:59:10 +01:00
|
|
|
|
|
|
|
(define-public libfabric-opx-beta-upstream-1.14.0-d
|
|
|
|
|
|
|
|
(let ((commit "e127cd074bbfd8c50b9f3cfb5b8e24162f8076a4"))
|
|
|
|
(package
|
|
|
|
(inherit gnu:libfabric)
|
|
|
|
(version "1.14.0d")
|
|
|
|
(name (string-append (package-name gnu:libfabric) "-opx-beta-upstream" ))
|
|
|
|
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/ofiwg/libfabric.git")
|
|
|
|
(commit commit)
|
|
|
|
))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256 (base32 "0fh665l2xcl59zhbn63y5bm8v9s652gk5s8r094qb4if0bp3in04"))
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(inputs `(
|
|
|
|
("autoconf", autoconf)
|
|
|
|
("automake", automake)
|
|
|
|
("libtool", libtool)
|
2022-03-23 15:24:55 +01:00
|
|
|
("libuuid" , util-linux "lib")
|
2022-03-23 14:59:10 +01:00
|
|
|
("numactl" , gnu:numactl)
|
|
|
|
; ("psm2" , gnu:psm2) ; intended : no psm2
|
|
|
|
,@(package-inputs gnu:libfabric)))
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;(define local-libfabric libfabric-opx-beta-upstream-1.14.0-c)
|
|
|
|
(define local-libfabric libfabric-opx-beta-upstream-1.14.0-d)
|
2021-10-25 19:14:23 +02:00
|
|
|
|
2022-02-28 15:58:39 +01:00
|
|
|
(define-public libfabric-latest (latest-version local-libfabric gnu:libfabric))
|
2021-12-10 21:05:50 +01:00
|
|
|
|
2022-03-23 15:19:08 +01:00
|
|
|
(define-public apptainer
|
|
|
|
(package
|
|
|
|
(name "apptainer")
|
|
|
|
(version "1.0.1")
|
|
|
|
(source (origin
|
2022-03-23 15:26:46 +01:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/apptainer/apptainer/")
|
|
|
|
(commit "a308dd1a664a0bf01ff74b39c69d07442c7fac4f")
|
|
|
|
))
|
2022-03-23 15:30:14 +01:00
|
|
|
(sha256 (base32 "0k2fkwlvp72vh07a7m1sdzj1f3zml9y5mligzhnscs7zzlv5s28j"))
|
2022-03-23 15:26:46 +01:00
|
|
|
))
|
2022-03-23 15:19:08 +01:00
|
|
|
(home-page "https://apptainer.org/")
|
|
|
|
(synopsis "THE CONTAINER SYSTEM FOR SECURE HIGH PERFORMANCE COMPUTING")
|
|
|
|
(description "Apptainer/Singularity is the most widely used container system for HPC.
|
|
|
|
It is designed to execute applications at bare-metal performance while
|
|
|
|
being secure, portable, and 100% reproducible. Apptainer is an
|
|
|
|
open-source project with a friendly community of developers and users.
|
|
|
|
The user base continues to expand, with Apptainer/Singularity now used
|
|
|
|
across industry and academia in many areas of work."
|
|
|
|
)
|
|
|
|
(license license:bsd-3)
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs `(
|
|
|
|
("libarchive", libarchive)
|
|
|
|
("python", python-wrapper)
|
|
|
|
("zlib", zlib)
|
|
|
|
("squashfs-tools", squashfs-tools)
|
|
|
|
("openssl", openssl)
|
|
|
|
("libseccomp", gnu:libseccomp)
|
|
|
|
("cryptsetup", cryptsetup)
|
|
|
|
("go", go-1.17)
|
|
|
|
("pkg-config", pkg-config)
|
|
|
|
))
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'configure
|
|
|
|
(lambda* (#:key inputs native-inputs propagated-inputs configure-flags #:allow-other-keys)
|
|
|
|
(begin
|
|
|
|
(invoke "./mconfig" "--localstatedir=/var")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2022-03-23 16:42:17 +01:00
|
|
|
(add-before 'configure
|
2022-03-23 16:36:37 +01:00
|
|
|
(lambda* (#:key input #:allow-other-keys)
|
2022-03-23 16:45:26 +01:00
|
|
|
(invoke "echo" "1.1.0" ">" "VERSION")
|
2022-03-23 16:36:37 +01:00
|
|
|
)
|
|
|
|
)
|
2022-03-23 15:19:08 +01:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2022-03-18 22:27:47 +01:00
|
|
|
|