pmdk: fix x86_64 arch check (#13676)
This commit is contained in:
parent
bd9907809e
commit
4934448065
@ -4,7 +4,6 @@
|
|||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
from spack import *
|
from spack import *
|
||||||
import spack.architecture
|
|
||||||
|
|
||||||
|
|
||||||
class Pmdk(Package):
|
class Pmdk(Package):
|
||||||
@ -36,7 +35,7 @@ def install(self, spec, prefix):
|
|||||||
|
|
||||||
# pmdk is particular about the ARCH specification, must be
|
# pmdk is particular about the ARCH specification, must be
|
||||||
# exactly "x86_64" for build to work
|
# 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_args += ['ARCH=x86_64']
|
||||||
|
|
||||||
make("install", *make_args)
|
make("install", *make_args)
|
||||||
|
Loading…
Reference in New Issue
Block a user