gnu: Add cxi-driver.

* gnu/packages/linux.scm (cxi-driver): New variable.

Change-Id: Iac48010d3de7f46248afe8c71991da71b61ebe6f
This commit is contained in:
Ludovic Courtès 2024-11-18 14:27:40 +01:00 committed by Ludovic Courtès
parent d607233d9e
commit 24f6a1c188
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -9033,6 +9033,36 @@ high-speed network interconnect made by HPE (formerly Cray). User-land
software uses @file{cxi_prov_hw.h} from this package.")
(license (list license:gpl2 license:bsd-2))))) ;dual-licensed
(define-public cxi-driver
(let ((commit "5f0ec0ead6ef3f98542a2ef5e76b89d14dd22150")
(revision "0"))
(package
(name "cxi-driver")
(version (git-version "1.0.0" ;per .spec file
revision commit))
(home-page "https://github.com/HewlettPackard/shs-cxi-driver")
(source
(origin
(method git-fetch)
(uri (git-reference (url home-page) (commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"19cly014ihgdidrc1aki2xsbfhpc0g73v0vxcky8r27xza7rz5bg"))))
;; TODO: Actually build the Linux driver.
(build-system copy-build-system)
(arguments
(list #:install-plan #~'(("include" "include"))))
(propagated-inputs (list cassini-headers))
(synopsis "Linux driver for the Cassini/Slingshot interconnect")
(description
"This is the Linux driver for the Cray/HPE Cassini 1 and 2 high-speed
network interconnect (aka. Slingshot), and its Ethernet driver. It includes
the @file{uapi/misc/cxi.h} C header file for use by user-land software.
Currently the Linux driver itself is missing from this package.")
(license license:gpl2+))))
(define-public libfabric
(package
(name "libfabric")