diff options
author | Toyohisa Kameyama <kameyama@riken.jp> | 2019-07-12 11:59:24 +0900 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-07-11 21:59:24 -0500 |
commit | ea9ac3ee52e10cf2f2edc2109ea1658f433022c6 (patch) | |
tree | f8ff492e96e58681d8055bcaed0187d068dd6d1b /var | |
parent | ff728bd06cb23245e3e9d848647938bfdef70a52 (diff) | |
download | spack-ea9ac3ee52e10cf2f2edc2109ea1658f433022c6.tar.gz spack-ea9ac3ee52e10cf2f2edc2109ea1658f433022c6.tar.bz2 spack-ea9ac3ee52e10cf2f2edc2109ea1658f433022c6.tar.xz spack-ea9ac3ee52e10cf2f2edc2109ea1658f433022c6.zip |
velvet: remove -m64 on aarch64. (#11984)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/velvet/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/velvet/package.py b/var/spack/repos/builtin/packages/velvet/package.py index dfe4641c0c..9b6714fe90 100644 --- a/var/spack/repos/builtin/packages/velvet/package.py +++ b/var/spack/repos/builtin/packages/velvet/package.py @@ -17,6 +17,11 @@ class Velvet(MakefilePackage): depends_on('zlib') + def edit(self, spec, prefix): + if spec.satisfies('target=aarch64'): + makefile = FileFilter('Makefile') + makefile.filter('-m64', '') + def install(self, spec, prefix): mkdirp(prefix.bin) install('velvetg', prefix.bin) |