[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add rdma-core.
From: |
Marius Bakke |
Subject: |
07/08: gnu: Add rdma-core. |
Date: |
Tue, 28 Mar 2017 11:07:33 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit f8f44dd7384d1cfc30158917b543e68c132cd60a
Author: Marius Bakke <address@hidden>
Date: Fri Mar 17 09:27:31 2017 +0100
gnu: Add rdma-core.
* gnu/packages/linux.scm (rdma-core): New variable.
---
gnu/packages/linux.scm | 71 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 70 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 608cb29..ed74aa5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -15,7 +15,7 @@
;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
;;; Copyright © 2016 David Craven <address@hidden>
;;; Copyright © 2016 John Darrington <address@hidden>
-;;; Copyright © 2016 Marius Bakke <address@hidden>
+;;; Copyright © 2016, 2017 Marius Bakke <address@hidden>
;;; Copyright © 2016 Rene Saavedra <address@hidden>
;;; Copyright © 2016 ng0 <address@hidden>
;;; Copyright © 2017 Leo Famulari <address@hidden>
@@ -70,6 +70,7 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
+ #:use-module (gnu packages ninja)
#:use-module (gnu packages perl)
#:use-module (gnu packages pciutils)
#:use-module (gnu packages pkg-config)
@@ -3031,6 +3032,74 @@ commonly found on Microsoft Windows. It is implemented
as a FUSE file system.
The package provides additional NTFS tools.")
(license license:gpl2+)))
+(define-public rdma-core
+ (package
+ (name "rdma-core")
+ (version "13")
+ (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
+ "15qdfqkia22vab1dh41s88vgi70yifi40ar5s4x7a456rpbhy8z5"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ ;; Upstream uses the "ninja" build system and encourage distros
+ ;; to do the same for consistency. They also recommend using the
+ ;; "Release" build type.
+ #:configure-flags (list "-GNinja"
+ ;; Defaults to "lib64" on 64-bit archs.
+ (string-append "-DCMAKE_INSTALL_LIBDIR="
+ (assoc-ref %outputs "out")
"/lib")
+ "-DCMAKE_BUILD_TYPE=Release")
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (zero? (system* "ninja"
+ "-j" (number->string (parallel-job-count))))))
+ (replace 'install
+ (lambda _
+ (zero? (system* "ninja" "install")))))))
+ (native-inputs
+ `(("ninja" ,ninja)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)))
+ (inputs
+ `(("libnl" ,libnl)
+ ("udev" ,eudev)))
+ (home-page "https://github.com/linux-rdma/rdma-core")
+ (synopsis "Utilities and libraries for working with RDMA devices")
+ (description
+ "This package provides userspace components for the InfiniBand
+subsystem of the Linux kernel. Specifically it contains userspace
+libraries for the following device nodes:
+
address@hidden
address@hidden @file{/dev/infiniband/uverbsX} (@code{libibverbs})
address@hidden @file{/dev/infiniband/rdma_cm} (@code{librdmacm})
address@hidden @file{/dev/infiniband/umadX} (@code{libibumad})
address@hidden enumerate
+
+The following service daemons are also provided:
address@hidden
address@hidden @code{srp_daemon} (for the @code{ib_srp} kernel module)
address@hidden @code{iwpmd} (for iWARP kernel providers)
address@hidden @code{ibacm} (for InfiniBand communication management assistant)
address@hidden enumerate")
+ ;; All library code is dual licensed under GPL2 and a custom MIT
+ ;; variant. The package also includes some components covered by
+ ;; other licenses. Consult COPYING.md for full details.
+ (license
+ (list license:gpl2
+ (license:x11-style "See COPYING.BSD_MIT in the distribution")
+ license:bsd-2 ; Files referring to COPYING.BSD_FB
+ license:cc0 ; most files in ccan/
+ license:bsd-3)))) ; providers/hfi1verbs are dual GPL2/BSD-3
+
(define-public rng-tools
(package
(name "rng-tools")
- branch master updated (1a75083 -> 2e93ee5), Marius Bakke, 2017/03/28
- 02/08: Revert "gnu: snappy: Update to 1.1.4.", Marius Bakke, 2017/03/28
- 05/08: gnu: fio: Enable rbd support., Marius Bakke, 2017/03/28
- 06/08: gnu: Add multipath-tools., Marius Bakke, 2017/03/28
- 08/08: gnu: rocksdb: Update to 5.2.1., Marius Bakke, 2017/03/28
- 04/08: gnu: Add ceph., Marius Bakke, 2017/03/28
- 03/08: gnu: xmlstarlet: Disable failing tests., Marius Bakke, 2017/03/28
- 01/08: gnu: fio: Install python scripts in separate output., Marius Bakke, 2017/03/28
- 07/08: gnu: Add rdma-core.,
Marius Bakke <=