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 15:50:50 +01:00
|
|
|
|
; #:use-module (gnu packages linux) ;; yes : redundant FIXIT
|
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-18 22:07:47 +01:00
|
|
|
|
(define-public libfabric-opx-beta-upstream-1.14.0-a
|
|
|
|
|
|
2022-03-21 15:50:50 +01:00
|
|
|
|
(let ((commit "e127cd074bbfd8c50b9f3cfb5b8e24162f8076a4"))
|
2022-03-18 22:07:47 +01:00
|
|
|
|
(package
|
|
|
|
|
(inherit gnu:libfabric)
|
|
|
|
|
(version "1.14.0")
|
|
|
|
|
(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
|
|
|
|
;; (branch "opx-beta-upstream")
|
|
|
|
|
;; (commit ("89cbe4d54b23ef98a4795ef8c59f7da85b3a3872")) ;; no tag, as of 2022 03 18
|
|
|
|
|
(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-18 22:15:36 +01:00
|
|
|
|
(sha256 (base32 "0jbm7yadzk0pc7wv2xsvgdgydh3fpracvcc0j15vbjgf6zhr63iw"))
|
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)
|
|
|
|
|
; ("libuuid" , util-linux "lib")
|
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-02-28 16:22:26 +01:00
|
|
|
|
(define local-libfabric libfabric-upstream-1.14.0)
|
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
|
|
|
|
|
|
|
|
|
(define-public apptainer-singularity-3.8.5
|
|
|
|
|
(package
|
|
|
|
|
(name "singularity")
|
|
|
|
|
(version "3.8.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/apptainer/singularity/releases/download/v" version "/singularity-" version ".tar.gz"))
|
|
|
|
|
(sha256 (base32 "1r1w2n1ndj5psvpm87ij6gwr0hwrbsn6gllv4q44spbvq2spizvz"))
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
(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)
|
2021-12-11 14:12:25 +01:00
|
|
|
|
; ("go-github-com-AdamKorcz-go-fuzz-headers", go-github-com-AdamKorcz-go-fuzz-headers)
|
|
|
|
|
; ("go-github-com-Netflix-go-expect", go-github-com-Netflix-go-expect)
|
|
|
|
|
; ("go-github-com-adigunhammedolalekan-registry-auth", go-github-com-adigunhammedolalekan-registry-auth)
|
|
|
|
|
; ("go-github-com-alexflint-go-filemutex", go-github-com-alexflint-go-filemutex)
|
|
|
|
|
; ("go-github-com-apex-log", go-github-com-apex-log)
|
|
|
|
|
; ("go-github-com-blang-semver-v4", go-github-com-blang-semver-v4)
|
|
|
|
|
; ("go-github-com-buger-jsonparser", go-github-com-buger-jsonparser)
|
|
|
|
|
; ("go-github-com-bugsnag-bugsnag-go", go-github-com-bugsnag-bugsnag-go)
|
|
|
|
|
; ("go-github-com-bugsnag-panicwrap", go-github-com-bugsnag-panicwrap)
|
|
|
|
|
; ("go-github-com-containerd-cgroups", go-github-com-containerd-cgroups)
|
|
|
|
|
; ("go-github-com-containerd-containerd", go-github-com-containerd-containerd)
|
|
|
|
|
; ("go-github-com-containernetworking-cni", go-github-com-containernetworking-cni)
|
|
|
|
|
; ("go-github-com-containernetworking-plugins", go-github-com-containernetworking-plugins)
|
|
|
|
|
; ("go-github-com-containers-image-v5", go-github-com-containers-image-v5)
|
|
|
|
|
; ("go-github-com-cyphar-filepath-securejoin", go-github-com-cyphar-filepath-securejoin)
|
|
|
|
|
; ("go-github-com-fatih-color", go-github-com-fatih-color)
|
|
|
|
|
; ("go-github-com-go-log-log", go-github-com-go-log-log)
|
|
|
|
|
; ("go-github-com-godbus-dbus", go-github-com-godbus-dbus)
|
|
|
|
|
; ("go-github-com-google-uuid", go-github-com-google-uuid)
|
|
|
|
|
; ("go-github-com-gorilla-websocket", go-github-com-gorilla-websocket)
|
|
|
|
|
; ("go-github-com-hpcng-sif", go-github-com-hpcng-sif)
|
|
|
|
|
; ("go-github-com-kardianos-osext", go-github-com-kardianos-osext)
|
|
|
|
|
; ("go-github-com-kr-pty", go-github-com-kr-pty)
|
|
|
|
|
; ("go-github-com-opencontainers-go-digest", go-github-com-opencontainers-go-digest)
|
|
|
|
|
; ("go-github-com-opencontainers-image-spec", go-github-com-opencontainers-image-spec)
|
|
|
|
|
; ("go-github-com-opencontainers-runtime-spec", go-github-com-opencontainers-runtime-spec)
|
|
|
|
|
; ("go-github-com-opencontainers-runtime-tools", go-github-com-opencontainers-runtime-tools)
|
|
|
|
|
; ("go-github-com-opencontainers-selinux", go-github-com-opencontainers-selinux)
|
|
|
|
|
; ("go-github-com-opencontainers-umoci", go-github-com-opencontainers-umoci)
|
|
|
|
|
; ("go-github-com-pelletier-go-toml", go-github-com-pelletier-go-toml)
|
|
|
|
|
; ("go-github-com-pkg-errors", go-github-com-pkg-errors)
|
|
|
|
|
; ("go-github-com-russross-blackfriday-v2", go-github-com-russross-blackfriday-v2)
|
|
|
|
|
; ("go-github-com-satori-go-uuid", go-github-com-satori-go-uuid)
|
|
|
|
|
; ("go-github-com-seccomp-containers-golang", go-github-com-seccomp-containers-golang)
|
|
|
|
|
; ("go-github-com-seccomp-libseccomp-golang", go-github-com-seccomp-libseccomp-golang)
|
|
|
|
|
; ("go-github-com-spf13-cobra", go-github-com-spf13-cobra)
|
|
|
|
|
; ("go-github-com-spf13-pflag", go-github-com-spf13-pflag)
|
|
|
|
|
; ("go-github-com-sylabs-json-resp", go-github-com-sylabs-json-resp)
|
|
|
|
|
; ("go-github-com-sylabs-scs-build-client", go-github-com-sylabs-scs-build-client)
|
|
|
|
|
; ("go-github-com-sylabs-scs-key-client", go-github-com-sylabs-scs-key-client)
|
|
|
|
|
; ("go-github-com-sylabs-scs-library-client", go-github-com-sylabs-scs-library-client)
|
|
|
|
|
; ("go-github-com-urfave-cli", go-github-com-urfave-cli)
|
|
|
|
|
; ("go-github-com-vbauerster-mpb-v4", go-github-com-vbauerster-mpb-v4)
|
|
|
|
|
; ("go-github-com-vbauerster-mpb-v6", go-github-com-vbauerster-mpb-v6)
|
|
|
|
|
; ("go-github-com-xeipuuv-gojsonpointer", go-github-com-xeipuuv-gojsonpointer)
|
|
|
|
|
; ("go-github-com-yvasiyarov-go-metrics", go-github-com-yvasiyarov-go-metrics)
|
|
|
|
|
; ("go-github-com-yvasiyarov-gorelic", go-github-com-yvasiyarov-gorelic)
|
|
|
|
|
; ("go-github-com-yvasiyarov-newrelic_platform_go", go-github-com-yvasiyarov-newrelic_platform_go)
|
|
|
|
|
; ("go-golang-org-x-crypto", go-golang-org-x-crypto)
|
|
|
|
|
; ("go-golang-org-x-sys", go-golang-org-x-sys)
|
2021-12-10 21:05:50 +01:00
|
|
|
|
))
|
|
|
|
|
(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-18 22:27:47 +01:00
|
|
|
|
|
|
|
|
|
|
2022-03-21 15:50:50 +01:00
|
|
|
|
libfabric-opx-beta-upstream-1.14.0-a
|