mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
1d24cc6de6
commit
70b74663b6
1 changed files with 6 additions and 0 deletions
|
@ -7234,6 +7234,12 @@ printing of sub-tables by specifying a row range.")
|
||||||
"linker_exe='gcc',"
|
"linker_exe='gcc',"
|
||||||
"linker_so='gcc -shared')")))
|
"linker_so='gcc -shared')")))
|
||||||
#t))
|
#t))
|
||||||
|
(add-after 'unpack 'disable-tuning
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("cpu_flags = .*")
|
||||||
|
"cpu_flags = ['sse2']\n"))
|
||||||
|
#t))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(invoke "python" "setup.py" "build"
|
(invoke "python" "setup.py" "build"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue