suite-sparse: change the condition to add C11 flag. (#16859)
This commit is contained in:
parent
94e77333e6
commit
8be7823cc5
@ -102,7 +102,7 @@ def install(self, spec, prefix):
|
||||
# GraphBLAS/Demo/Program/wildtype_demo.c. For many compilers this is
|
||||
# not an issue because c11 or newer is their default. However, for some
|
||||
# compilers (e.g. xlc) the c11 flag is necessary.
|
||||
if spec.satisfies('@5.4:'):
|
||||
if spec.satisfies('@5.4:5.7.1') and ('%xl' in spec or '%xl_r' in spec):
|
||||
make_args += ['CFLAGS+=%s' % self.compiler.c11_flag]
|
||||
|
||||
# 64bit blas in UMFPACK:
|
||||
|
Loading…
Reference in New Issue
Block a user