diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-11-17 10:12:43 +0000 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-11-17 11:00:02 +0000 |
commit | aad93806ac26d53d301bcb9acfe45dc2aa01c355 (patch) | |
tree | ba240f21de8459171b1ab78efadd8ec54e53e0b1 /gnu | |
parent | 3b1a12c5bff5a0c108284d19a6982bdf663bbceb (diff) | |
download | guix-aad93806ac26d53d301bcb9acfe45dc2aa01c355.tar.gz guix-aad93806ac26d53d301bcb9acfe45dc2aa01c355.zip |
gnu: python-hnswlib: Disable native optimizations.
* gnu/packages/python-xyz.scm (python-hnswlib)[arguments]: Add build phase
'disable-native-optimization.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f32c322c0a..4623c7b3b2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1380,6 +1380,13 @@ concepts.") (sha256 (base32 "0wf1cwmxmdzfqmfhrkqdxb5spf21ylgl2bidswhzjrqhwf35c9qf")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-native-optimization + (lambda _ + (substitute* "setup.py" + ((", '-march=native'") ""))))))) (propagated-inputs `(("python-numpy" ,python-numpy))) (native-inputs |