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:
parent
01029e2043
commit
28b24e9975
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue