Archived
1
0
Fork 0

gnu: psm2: Use gexps.

* gnu/packages/linux.scm (psm2)[arguments]: Use gexps.
This commit is contained in:
Ludovic Courtès 2023-02-23 14:41:14 +01:00 committed by Ludovic Courtès
parent 96c335574d
commit b8d3b9d14b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012-2021, 2021-2022 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2012-2021, 2021-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org> ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Mark H Weaver <mhw@netris.org>
@ -8577,25 +8577,23 @@ privileges.")
"062hg4r6gz7pla9df70nqs5i2a3mp1wszmp4l0g771fykhhrxsjg")))) "062hg4r6gz7pla9df70nqs5i2a3mp1wszmp4l0g771fykhhrxsjg"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:make-flags (list #:make-flags
`(,(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) #~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))
#:tests? #f #:tests? #f
#:phases (modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(add-after 'unpack 'patch-Makefiles (add-after 'unpack 'patch-Makefiles
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"
(("/lib64") "/lib") (("/lib64") "/lib")
(("/usr") "")) (("/usr") ""))
(substitute* "compat/Makefile" (substitute* "compat/Makefile"
(("/lib64") "/lib") (("/lib64") "/lib")
(("/usr") "")) (("/usr") ""))))
#t)) (replace 'install
(replace 'install (lambda _
(lambda _ (setenv "DESTDIR" #$output)
(setenv "DESTDIR" %output) (invoke "make" "install"))))))
(invoke "make" "install")
#t)))))
(inputs (inputs
(list rdma-core numactl)) (list rdma-core numactl))
(synopsis "Intel Performance Scaled Messaging 2 (PSM2) library") (synopsis "Intel Performance Scaled Messaging 2 (PSM2) library")