summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2019-07-09 09:13:49 +0900
committerPeter Scheibel <scheibel1@llnl.gov>2019-07-08 17:13:49 -0700
commitdab3026f2f83c1ff5e9411c26b5ac065f2ad2d3c (patch)
treef45567d1f2228e55784570733e847d69f6272507
parenta718d8af083c7ce6f376e9801084bbe02669e7b9 (diff)
downloadspack-dab3026f2f83c1ff5e9411c26b5ac065f2ad2d3c.tar.gz
spack-dab3026f2f83c1ff5e9411c26b5ac065f2ad2d3c.tar.bz2
spack-dab3026f2f83c1ff5e9411c26b5ac065f2ad2d3c.tar.xz
spack-dab3026f2f83c1ff5e9411c26b5ac065f2ad2d3c.zip
diffsplice package: remove -m64 on ARM. (#11899)
-rw-r--r--var/spack/repos/builtin/packages/diffsplice/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/diffsplice/package.py b/var/spack/repos/builtin/packages/diffsplice/package.py
index 0f3b0ea12b..f213958b6e 100644
--- a/var/spack/repos/builtin/packages/diffsplice/package.py
+++ b/var/spack/repos/builtin/packages/diffsplice/package.py
@@ -17,6 +17,11 @@ class Diffsplice(MakefilePackage):
version('0.1.2beta', 'a1df6e0b50968f2c229d5d7f97327336')
version('0.1.1', 'be90e6c072402d5aae0b4e2cbb8c10ac')
+ def edit(self, spec, prefix):
+ if spec.satisfies('target=aarch64'):
+ makefile = FileFilter(join_path(self.build_directory, 'Makefile'))
+ makefile.filter('-m64', '')
+
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('diffsplice', prefix.bin)