summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2019-08-03 09:02:36 +0900
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-02 19:02:36 -0500
commit3fc5a08f5b577590b21703bc2b63d11d55fbc6eb (patch)
treeda6a444baed971512ec3534521f07b239e3cdc23
parent474bf188532da7bb99fb99be4d1e4c3f43b1d29d (diff)
downloadspack-3fc5a08f5b577590b21703bc2b63d11d55fbc6eb.tar.gz
spack-3fc5a08f5b577590b21703bc2b63d11d55fbc6eb.tar.bz2
spack-3fc5a08f5b577590b21703bc2b63d11d55fbc6eb.tar.xz
spack-3fc5a08f5b577590b21703bc2b63d11d55fbc6eb.zip
dialign-tx: build on ARM. (#12210)
-rw-r--r--var/spack/repos/builtin/packages/dialign-tx/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dialign-tx/package.py b/var/spack/repos/builtin/packages/dialign-tx/package.py
index 1a3db2bb12..6b0a5f4bf8 100644
--- a/var/spack/repos/builtin/packages/dialign-tx/package.py
+++ b/var/spack/repos/builtin/packages/dialign-tx/package.py
@@ -24,6 +24,8 @@ class DialignTx(MakefilePackage):
makefile = FileFilter('Makefile')
makefile.filter(' -march=i686 ', ' ')
makefile.filter('CC=gcc', 'CC=%s' % spack_cc)
+ if spec.satisfies('target=aarch64'):
+ makefile.filter('-mfpmath=sse -msse -mmmx', ' ')
def install(self, spec, prefix):
mkdirp(prefix.bin)