From ba95233f84189ec0a51cde6aedd704a8f058d3e2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 17 Oct 2019 11:28:13 +0200 Subject: gnu: ucx: Disable optimizations specific to the build machine. * gnu/packages/fabric-management.scm (ucx)[arguments]: Replace "--enable-optimizations" with "--disable-optimizations". --- gnu/packages/fabric-management.scm | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm index 9b30b09df5..e822a3fb20 100644 --- a/gnu/packages/fabric-management.scm +++ b/gnu/packages/fabric-management.scm @@ -193,16 +193,21 @@ (define-public ucx "0x3clvy716i7va4m4adgx6ihjsfnzrkdizhxz5v52944dkglpc8n")))) (build-system gnu-build-system) (arguments - '( ;; These are the flags found in 'contrib/configure-release'. - #:configure-flags (list "--enable-optimizations" - "--disable-logging" - "--disable-debug" - "--disable-assertions" - "--disable-params-check" + '( ;; These are some of the flags found in 'contrib/configure-release'. + #:configure-flags (list + ;; XXX: Disable optimizations specific to the build + ;; machine (AVX, etc.) There's apparently no way to + ;; have them picked up at load time. + "--disable-optimizations" - (string-append "--with-rdmacm=" - (assoc-ref %build-inputs - "rdma-core"))))) + "--disable-logging" + "--disable-debug" + "--disable-assertions" + "--disable-params-check" + + (string-append "--with-rdmacm=" + (assoc-ref %build-inputs + "rdma-core"))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) -- cgit v1.2.3