py-pycbc: Fix for aarch64 (#19563)
* py-pycbc: Fix for aarch64 * py-pycbc: Change patch application conditions
This commit is contained in:
parent
31f57e56bb
commit
ae3178f4eb
11
var/spack/repos/builtin/packages/py-pycbc/for_aarch64.patch
Normal file
11
var/spack/repos/builtin/packages/py-pycbc/for_aarch64.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- spack-src/setup.py.bak 2019-07-02 09:00:09.000000000 +0900
|
||||
+++ spack-src/setup.py 2020-10-28 10:58:22.559034050 +0900
|
||||
@@ -207,7 +207,7 @@
|
||||
'filter.matchedfilter',
|
||||
'vetoes.chisq']
|
||||
ext = []
|
||||
-cython_compile_args = ['-O3', '-w', '-msse4.2', '-ffast-math',
|
||||
+cython_compile_args = ['-O3', '-w', '-ffast-math',
|
||||
'-ffinite-math-only']
|
||||
cython_link_args = []
|
||||
# Mac's clang compiler doesn't have openMP support by default. Therefore
|
@ -38,3 +38,5 @@ class PyPycbc(PythonPackage):
|
||||
depends_on('py-six@1.10.0:', type=('build', 'run'))
|
||||
depends_on('py-ligo-segments', type=('build', 'run'))
|
||||
depends_on('py-weave@0.16.0:', when='^python@:2', type=('build', 'run'))
|
||||
|
||||
patch('for_aarch64.patch', when='@:1.14.1 target=aarch64:')
|
||||
|
Loading…
Reference in New Issue
Block a user