rekado pushed a commit to branch master
in repository guix.
commit 70b74663b64a65f142b3aac8c79d952d96480008
Author: Ricardo Wurmus <[email protected]>
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"