diff options
author | Toyohisa Kameyama <kameyama@riken.jp> | 2019-07-02 02:48:45 +0900 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2019-07-01 10:48:45 -0700 |
commit | 54de03548be21b540cc23b4bfcfd900e2fb8c985 (patch) | |
tree | 7e9bc29d8cbeb628879b9e80c9d0d2a21e80d147 | |
parent | 1b3c11e7937038e8711ddf872b498f42aa007c68 (diff) | |
download | spack-54de03548be21b540cc23b4bfcfd900e2fb8c985.tar.gz spack-54de03548be21b540cc23b4bfcfd900e2fb8c985.tar.bz2 spack-54de03548be21b540cc23b4bfcfd900e2fb8c985.tar.xz spack-54de03548be21b540cc23b4bfcfd900e2fb8c985.zip |
planck-likelihood: remove -m64 on ARM (#11902)
-rw-r--r-- | var/spack/repos/builtin/packages/planck-likelihood/arm.patch | 16 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/planck-likelihood/package.py | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/planck-likelihood/arm.patch b/var/spack/repos/builtin/packages/planck-likelihood/arm.patch new file mode 100644 index 0000000000..2db4ed52f8 --- /dev/null +++ b/var/spack/repos/builtin/packages/planck-likelihood/arm.patch @@ -0,0 +1,16 @@ +diff -ur spack-src/Makefile new/Makefile +--- spack-src/Makefile 2015-04-28 02:21:27.000000000 +0900 ++++ new/Makefile 2019-07-01 15:12:04.985193793 +0900 +@@ -186,10 +186,10 @@ + else + DEFINES = $(DEFINESLINUX) $(DEFINESCOMMON) + ifndef CM64 +-CM64 = -m64 ++CM64 = + endif + ifndef FM64 +-FM64 = -m64 ++FM64 = + endif + endif + diff --git a/var/spack/repos/builtin/packages/planck-likelihood/package.py b/var/spack/repos/builtin/packages/planck-likelihood/package.py index c838e6d766..9c139684a7 100644 --- a/var/spack/repos/builtin/packages/planck-likelihood/package.py +++ b/var/spack/repos/builtin/packages/planck-likelihood/package.py @@ -27,6 +27,7 @@ class PlanckLikelihood(Package): patch('fortran.patch') patch('make.patch') + patch('arm.patch', when='target=aarch64') resource( name='baseline', |