GNU bug report logs -
#31172
[PATCH 0/1] Add psm2
Previous Next
Full log
View this message in rfc822 format
* gnu/packages/linux.scm (psm2): New variable.
---
gnu/packages/linux.scm | 48 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f49171fa5..e69bbf5b7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2017, 2018 Rutger Helling <rhelling <at> mykolab.com>
;;; Copyright © 2017 nee <nee-git <at> hidamari.blue>
;;; Copyright © 2017 Dave Love <fx <at> gnu.org>
+;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby <at> inria.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4561,3 +4562,50 @@ text-mode or graphical applications that don't use a display server.
Also included is @command{fbgrab}, a wrapper around @command{fbcat} that
emulates the behaviour of Gunnar Monell's older fbgrab utility.")
(license license:gpl2)))
+
+(define-public psm2
+ (package
+ (name "psm2")
+ (version "10.3-46")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/intel/opa-psm2.git")
+ (commit (string-append "PSM2_" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0wadphv4rl5p38x6a3dgpbijlzqdvcn02cfafnp72nh9faz0zvlx"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:make-flags
+ `(,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'patch-Makefiles
+ (lambda _
+ (substitute* "Makefile"
+ (("/lib64") "/lib")
+ (("/usr") ""))
+ (substitute* "compat/Makefile"
+ (("/lib64") "/lib")
+ (("/usr") ""))
+ #t))
+ (replace 'install
+ (lambda _
+ (setenv "DESTDIR" %output)
+ (invoke "make" "install"))))))
+ (inputs
+ `(("rdma-core" ,rdma-core)
+ ("numactl" ,numactl)))
+ (synopsis "Intel Performance Scaled Messaging 2 (PSM2) library")
+ (description
+ "This package is low-level user-level Intel's communications interface.
+The PSM2 API is a high-performance vendor-specific protocol that provides a
+low-level communications interface for the Intel Omni-Path family of
+products.")
+ (home-page "https://github.com/intel/opa-psm2")
+ ;; Only the x86_64 architecure is supported.
+ (supported-systems '("x86_64-linux"))
+ (license (list license:bsd-3 license:gpl2)))) ; dual
--
2.17.0
This bug report was last modified 7 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.