openssl: architecture check is now based on spec target (#24228)
This commit is contained in:
parent
3f9f2c2abe
commit
a92bed0dc5
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@
|
|||
import llnl.util.tty as tty
|
||||
|
||||
from spack import *
|
||||
import spack.architecture
|
||||
|
||||
import os
|
||||
import re
|
||||
|
@ -115,7 +114,7 @@ def install(self, spec, prefix):
|
|||
options.append('no-krb5')
|
||||
# clang does not support the .arch directive in assembly files.
|
||||
if ('clang' in self.compiler.cc or 'nvc' in self.compiler.cc) and \
|
||||
'aarch64' in spack.architecture.sys_type():
|
||||
spec.target.family == 'aarch64':
|
||||
options.append('no-asm')
|
||||
|
||||
# The default glibc provided by CentOS 7 does not provide proper
|
||||
|
|
Loading…
Reference in a new issue