diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2018-11-11 08:56:49 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2018-11-11 08:57:16 +0200 |
commit | 28b24e9975967119620e272662b8ffc4a3f783aa (patch) | |
tree | 84bb12e6b0b89de7dd659db8db9ca2b5051669a9 /gnu/packages/compression.scm | |
parent | 01029e20430c54333bdc50d2b6db8fa5f389f331 (diff) | |
download | guix-28b24e9975967119620e272662b8ffc4a3f783aa.tar.gz |
gnu: bitshuffle: Don't use '-march=native'.
* gnu/packages/compression.scm (bitshuffle)[arguments]: Add custom phase to substitute out the '-march=native' compilation flag.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index d24f48cd2c..7f6857d260 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1210,7 +1210,14 @@ well as bzip2.") #t)))) (build-system python-build-system) (arguments - `(#:tests? #f)) ; fail: https://github.com/h5py/h5py/issues/769 + `(#:tests? #f ; fail: https://github.com/h5py/h5py/issues/769 + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'dont-build-native + (lambda _ + (substitute* "setup.py" + (("'-march=native', ") "")) + #t))))) (inputs `(("numpy" ,python-numpy) ("h5py" ,python-h5py) |