py-pycbc: Fix for aarch64 (#19563)

* py-pycbc: Fix for aarch64

* py-pycbc: Change patch application conditions
This commit is contained in:
t-nojiri 2020-10-31 04:54:04 +09:00 committed by GitHub
parent 31f57e56bb
commit ae3178f4eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View 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

View File

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