python: improve building with Intel (#21134)
This commit is contained in:
parent
fa53838d2f
commit
723f132531
1 changed files with 2 additions and 2 deletions
|
@ -417,8 +417,8 @@ def configure_args(self):
|
|||
config_args.append('--disable-toolbox-glue')
|
||||
|
||||
if spec.satisfies('%intel', strict=True) and \
|
||||
spec.satisfies('@2.7.12:2.8,3.5.2:', strict=True):
|
||||
config_args.append('--with-icc')
|
||||
spec.satisfies('@2.7.12:2.8,3.5.2:3.7', strict=True):
|
||||
config_args.append('--with-icc={0}'.format(spack_cc))
|
||||
|
||||
if '+debug' in spec:
|
||||
config_args.append('--with-pydebug')
|
||||
|
|
Loading…
Reference in a new issue