guix-commits
[Top][All Lists]
Advanced

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

01/09: gnu: python-tables: Do not detect CPU features.


From: guix-commits
Subject: 01/09: gnu: python-tables: Do not detect CPU features.
Date: Fri, 6 Mar 2020 03:16:57 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 70b74663b64a65f142b3aac8c79d952d96480008
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Thu Mar 5 23:50:27 2020 +0100

    gnu: python-tables: Do not detect CPU features.
    
    * gnu/packages/python-xyz.scm (python-tables)[arguments]: Add phase
    "disable-tuning".
---
 gnu/packages/python-xyz.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bf82f59..22092db 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7234,6 +7234,12 @@ printing of sub-tables by specifying a row range.")
                                "linker_exe='gcc',"
                                "linker_so='gcc -shared')")))
              #t))
+         (add-after 'unpack 'disable-tuning
+           (lambda _
+             (substitute* "setup.py"
+               (("cpu_flags = .*")
+                "cpu_flags = ['sse2']\n"))
+             #t))
          (replace 'build
            (lambda* (#:key inputs #:allow-other-keys)
              (invoke "python" "setup.py" "build"



reply via email to

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