guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: ucx: Disable optimizations specific to the build machine.


From: guix-commits
Subject: 01/02: gnu: ucx: Disable optimizations specific to the build machine.
Date: Thu, 17 Oct 2019 08:50:29 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit ba95233f84189ec0a51cde6aedd704a8f058d3e2
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 17 11:28:13 2019 +0200

    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 9b30b09..e822a3f 100644
--- a/gnu/packages/fabric-management.scm
+++ b/gnu/packages/fabric-management.scm
@@ -193,16 +193,21 @@ testing InfiniBand networks.")
                 "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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]