From e12477c48f496a91fb2a83f50bc670617ab89e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 18 Sep 2025 17:55:25 +0200 Subject: [PATCH] gnu: libcxi: Update to 12.0.1. * gnu/packages/linux.scm (libcxi): Update to 12.0.1. Change-Id: I253ed3c744e5fd3f2067c0dd7a317ce9b5f0c732 --- gnu/packages/linux.scm | 95 +++++++++++++++++++++--------------------- 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c8ff71625792a79ba3e7538443681cb0d18949ae..461382d6174a3c2e143e87771fed4243ad9be560 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -10055,58 +10055,57 @@ Currently the Linux driver itself is missing from this package.") (license license:gpl2+)))) (define-public libcxi - (let ((commit "5b6f8b5d57017c7963debb379d5693c59aca63ed") - (revision "0")) - (package - (name "libcxi") - (version (git-version "1.0.1" revision commit)) - (home-page "https://github.com/HewlettPackard/shs-libcxi") - (source - (origin - (method git-fetch) - (uri (git-reference (url home-page) (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1h3dhird8p11q4ziaxzg1hr5gxcgwx1limzdcyildyaw50dy549g")))) - (build-system gnu-build-system) - (arguments - (list #:configure-flags - #~(list "--disable-static" - (string-append "--with-udevrulesdir=" - #$output "/lib/udev/rules.d")) + (package + (name "libcxi") + (version "12.0.1") + (home-page "https://github.com/HewlettPackard/shs-libcxi") + (source + (origin + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "release/shs-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pk2mdkkgiic7nnmhx3iwvgrnxva3qqk2wyni0yhxjciln0hq7s7")))) + (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--disable-static" + (string-append "--with-udevrulesdir=" + #$output "/lib/udev/rules.d")) - #:phases - #~(modify-phases %standard-phases - (add-before 'configure 'set-cassini-file-names - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "utils/cxi_dump_csrs.py" - (("/usr/share/cassini-headers/csr_defs.json") - (search-input-file - inputs - "/share/cassini-headers/csr_defs.json")))))))) - (native-inputs (list autoconf - automake - libtool - pkg-config - python-wrapper)) - (inputs (list libconfig - libuv - fuse-2 - libyaml - libnl - numactl - eudev - (list lm-sensors "lib"))) - (propagated-inputs (list cassini-headers cxi-driver)) - (synopsis "Interface to the Cassini/Slingshot high-speed interconnect") - (description - "Libcxi provides applications with a low-level interface to the + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'set-cassini-file-names + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "utils/cxi_dump_csrs.py" + (("/usr/share/cassini-headers/csr_defs.json") + (search-input-file + inputs + "/share/cassini-headers/csr_defs.json")))))))) + (native-inputs (list autoconf + automake + libtool + pkg-config + python-wrapper)) + (inputs (list libconfig + libuv + fuse-2 + libyaml + libnl + numactl + eudev + (list lm-sensors "lib"))) + (propagated-inputs (list cassini-headers cxi-driver)) + (synopsis "Interface to the Cassini/Slingshot high-speed interconnect") + (description + "Libcxi provides applications with a low-level interface to the Cray/HPE Cassini high-speed @acronym{NIC, network interface controller}, also known as Slingshot.") - ;; License is spelled out in 'cray-libcxi.spec' and in source file - ;; headers. - (license (list license:lgpl2.1+ license:bsd-3))))) ;dual-licensed + ;; License is spelled out in 'cray-libcxi.spec' and in source file + ;; headers. + (license (list license:lgpl2.1+ license:bsd-3)))) ;dual-licensed (define-public libfabric (package