summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort-nojiri <68096132+t-nojiri@users.noreply.github.com>2020-11-17 01:41:00 +0900
committerGitHub <noreply@github.com>2020-11-16 10:41:00 -0600
commit793af74eb44f62ac0b73af417bb5e9037e9457c7 (patch)
tree9e13696e5bb8da3f6703d7c8d5eaf0c787443cd5
parent59d0c176546861681c012ce12c569ff87caf4f0b (diff)
downloadspack-793af74eb44f62ac0b73af417bb5e9037e9457c7.tar.gz
spack-793af74eb44f62ac0b73af417bb5e9037e9457c7.tar.bz2
spack-793af74eb44f62ac0b73af417bb5e9037e9457c7.tar.xz
spack-793af74eb44f62ac0b73af417bb5e9037e9457c7.zip
graphmap: Fix for aarch64 (#19935)
-rw-r--r--var/spack/repos/builtin/packages/graphmap/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/graphmap/package.py b/var/spack/repos/builtin/packages/graphmap/package.py
index 8d14d80734..aad93c8125 100644
--- a/var/spack/repos/builtin/packages/graphmap/package.py
+++ b/var/spack/repos/builtin/packages/graphmap/package.py
@@ -20,6 +20,8 @@ class Graphmap(MakefilePackage):
mkdirp(prefix.bin)
makefile = FileFilter('Makefile')
makefile.filter('/usr/bin/graphmap', prefix.bin.graphmap)
+ if self.spec.target.family == 'aarch64':
+ makefile.filter('-m64', '')
def build(self, spec, prefix):
make('modules')