aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-03-05 23:50:27 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-03-06 09:16:47 +0100
commit70b74663b64a65f142b3aac8c79d952d96480008 (patch)
tree53f5293f98b65ae0e56866ec40d3b883ce12b5dc /gnu
parent1d24cc6de674ff8cd6321eb373ab86c8028e2281 (diff)
downloadpatches-70b74663b64a65f142b3aac8c79d952d96480008.tar
patches-70b74663b64a65f142b3aac8c79d952d96480008.tar.gz
gnu: python-tables: Do not detect CPU features.
* gnu/packages/python-xyz.scm (python-tables)[arguments]: Add phase "disable-tuning".
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bf82f5934f..22092db2d4 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"