gnu: bitshuffle: Don't use '-march=native'.

* gnu/packages/compression.scm (bitshuffle)[arguments]: Add custom phase
to substitute out the '-march=native' compilation flag.
This commit is contained in:
Efraim Flashner 2018-11-11 08:56:49 +02:00
parent 01029e2043
commit 28b24e9975
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 8 additions and 1 deletions

View File

@ -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)