openblas: fixed a query to target family (#12910)
This commit is contained in:
parent
ccfe8aaf76
commit
71cc29691b
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ def make_defs(self):
|
|||
if '+ilp64' in self.spec:
|
||||
make_defs += ['INTERFACE64=1']
|
||||
|
||||
if 'x86' in self.spec.architecture.target.lower():
|
||||
if self.spec.target.family == 'x86_64':
|
||||
if '~avx2' in self.spec:
|
||||
make_defs += ['NO_AVX2=1']
|
||||
if '~avx512' in self.spec:
|
||||
|
|
Loading…
Reference in a new issue