diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-pycbc/for_aarch64.patch | 11 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pycbc/package.py | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycbc/for_aarch64.patch b/var/spack/repos/builtin/packages/py-pycbc/for_aarch64.patch new file mode 100644 index 0000000000..22425f3a45 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pycbc/for_aarch64.patch @@ -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 diff --git a/var/spack/repos/builtin/packages/py-pycbc/package.py b/var/spack/repos/builtin/packages/py-pycbc/package.py index f7e96a3221..d315133885 100644 --- a/var/spack/repos/builtin/packages/py-pycbc/package.py +++ b/var/spack/repos/builtin/packages/py-pycbc/package.py @@ -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:') |