summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-04-02 21:18:54 +0200
committerLudovic Courtès <ludo@gnu.org>2026-04-09 00:35:42 +0200
commitbfba90d6513e690da45f8e090f8559c7b4616d81 (patch)
tree1fe71e9ea7d85aae7e98a4daaa46f3bc48ea72ea /gnu
parent4c88e99b03dcb0cecd748c6debc4d818386c2057 (diff)
gnu: libfabric: Build from a Git checkout.
* gnu/packages/linux.scm (libfabric)[source]: Switch to ‘git-fetch’. [native-inputs]: New field. (libfabric-1)[source]: Likewise. Change-Id: I79a252c79210792b7c68589f922cd6fb6133e0f6 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #7635
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm29
1 files changed, 17 insertions, 12 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c6bdadc81b..8a6ef282ff 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -10498,13 +10498,17 @@ known as Slingshot.")
(version "2.5.0")
(source
(origin
- (method url-fetch)
- (uri
- (string-append "https://github.com/ofiwg/libfabric/releases/download/v"
- version "/libfabric-" version ".tar.bz2"))
- (sha256
- (base32 "1589hm7mj86imqf7i69ji2qsfnrr5r0ll1pkkibc13bhrbnijq17"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ofiwg/libfabric")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256 (base32 "14yhvywbz98yajffq5pmpphhpdr0g8m8a5579dfy56fpxar441an"))))
(build-system gnu-build-system)
+ (native-inputs
+ (list autoconf
+ automake
+ libtool))
(inputs
(let ((if-supported ;XXX: modified from openmpi
(lambda (package . extra)
@@ -10561,15 +10565,16 @@ libraries, which are often integrated directly into libfabric.")
(define-public libfabric-1 ;needed by Open MPI 4.x
(package
(inherit libfabric)
+ (name "libfabric")
(version "1.22.0")
(source
(origin
- (method url-fetch)
- (uri
- (string-append "https://github.com/ofiwg/libfabric/releases/download/v"
- version "/libfabric-" version ".tar.bz2"))
- (sha256
- (base32 "1znmw83rmippv0fwz0x7lgylfk17dr9ckll8lrm4z7kclspnqpj8"))))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ofiwg/libfabric")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256 (base32 "1scwkfdnlg20hld03pdq83jq1q3nmvj1gravpn02pacqq18bv9xk"))))
(inputs
(modify-inputs inputs
(append cxi-driver-for-libfabric-1)))))