From a92bed0dc5c9748fde8f1eab53915d443bd97d15 Mon Sep 17 00:00:00 2001 From: OliverPerks Date: Wed, 16 Jun 2021 15:10:43 +0100 Subject: openssl: architecture check is now based on spec target (#24228) --- var/spack/repos/builtin/packages/openssl/package.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py index 11c74c9b7f..473b5c4092 100644 --- a/var/spack/repos/builtin/packages/openssl/package.py +++ b/var/spack/repos/builtin/packages/openssl/package.py @@ -6,7 +6,6 @@ import llnl.util.tty as tty from spack import * -import spack.architecture import os import re @@ -115,7 +114,7 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package 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 -- cgit v1.2.3-60-g2f50