gnu: ucx: Use gexps.

* gnu/packages/fabric-management.scm (ucx): Use gexps.
This commit is contained in:
Ludovic Courtès 2023-02-23 13:13:52 +01:00
parent b126eae021
commit 9b3cc02acb
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2,7 +2,7 @@
;;; Copyright © 2017 Dave Love <fx@gnu.org> ;;; Copyright © 2017 Dave Love <fx@gnu.org>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2019, 2023 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -20,6 +20,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages fabric-management) (define-module (gnu packages fabric-management)
#:use-module (guix gexp)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix download) #:use-module (guix download)
@ -187,30 +188,29 @@ (define-public ucx
"0i0ji5ivzxjqh3ys1m517ghw3am7cw1hvf40ma7hsq3wznsyx5s1")))) "0i0ji5ivzxjqh3ys1m517ghw3am7cw1hvf40ma7hsq3wznsyx5s1"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'( ;; These are some of the flags found in 'contrib/configure-release'. (list
#:configure-flags (list ;; These are some of the flags found in ;; 'contrib/configure-release'.
"--disable-static" #:configure-flags #~(list
"--disable-static"
;; XXX: Disable optimizations specific to the build ;; XXX: Disable optimizations specific to the build
;; machine (AVX, etc.) There's apparently no way to ;; machine (AVX, etc.) There's apparently no way to
;; have them picked up at load time. ;; have them picked up at load time.
"--disable-optimizations" "--disable-optimizations"
"--disable-logging" "--disable-logging"
"--disable-debug" "--disable-debug"
"--disable-assertions" "--disable-assertions"
"--disable-params-check" "--disable-params-check"
(string-append "--with-verbs=" (string-append "--with-verbs="
(assoc-ref %build-inputs #$(this-package-input "rdma-core"))
"rdma-core"))
(string-append "--with-rdmacm=" (string-append "--with-rdmacm="
(assoc-ref %build-inputs #$(this-package-input "rdma-core")))
"rdma-core")))
;; Be verbose so that compiler flags are displayed. ;; Be verbose so that compiler flags are displayed.
#:make-flags '("V=1"))) #:make-flags #~'("V=1")))
(native-inputs (native-inputs
(list autoconf automake libtool pkg-config)) (list autoconf automake libtool pkg-config))
(inputs (inputs