summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Carns <carns@mcs.anl.gov>2019-11-11 09:46:44 -0500
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-11-11 15:46:44 +0100
commit4934448065e43f27aef66a8c0faace4d9e52160a (patch)
treec42e43b9633439d7ce566c3a7cbfdd57b8fad1b3
parentbd9907809ee60052f3b531473131dec93f052eb9 (diff)
downloadspack-4934448065e43f27aef66a8c0faace4d9e52160a.tar.gz
spack-4934448065e43f27aef66a8c0faace4d9e52160a.tar.bz2
spack-4934448065e43f27aef66a8c0faace4d9e52160a.tar.xz
spack-4934448065e43f27aef66a8c0faace4d9e52160a.zip
pmdk: fix x86_64 arch check (#13676)
-rw-r--r--var/spack/repos/builtin/packages/pmdk/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/pmdk/package.py b/var/spack/repos/builtin/packages/pmdk/package.py
index 2f8aca78e0..242a66297f 100644
--- a/var/spack/repos/builtin/packages/pmdk/package.py
+++ b/var/spack/repos/builtin/packages/pmdk/package.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
-import spack.architecture
class Pmdk(Package):
@@ -36,7 +35,7 @@ class Pmdk(Package):
# pmdk is particular about the ARCH specification, must be
# exactly "x86_64" for build to work
- if 'x86_64' in spack.architecture.sys_type():
+ if spec.target.family == 'x86_64':
make_args += ['ARCH=x86_64']
make("install", *make_args)