gnu: python-tables: Do not detect CPU features.

* gnu/packages/python-xyz.scm (python-tables)[arguments]: Add phase
"disable-tuning".
This commit is contained in:
Ricardo Wurmus 2020-03-05 23:50:27 +01:00
parent 1d24cc6de6
commit 70b74663b6
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7234,6 +7234,12 @@ (define-public python-tables
"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"