Original version added --no-gcc to CFLAGS when compiling with intel compilers. This does not appear to be needed and indeed causes problems (see #18894) with newer intel compilers; I have modified so it is not added for intel@19: (I confirmed it is needed/works for intel@20, based on comments in #18854 looks like holds for intel@19 as well). (Also fix old formatting issue flake8 was complaining about)
This commit is contained in:
parent
7a562d4045
commit
7c12ca1d83
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ def configure_args(self):
|
||||||
if spec.satisfies('%fj') and not spec.satisfies('platform=darwin'):
|
if spec.satisfies('%fj') and not spec.satisfies('platform=darwin'):
|
||||||
args.append('LDFLAGS=-rtlib=compiler-rt')
|
args.append('LDFLAGS=-rtlib=compiler-rt')
|
||||||
|
|
||||||
if spec.satisfies('%intel'):
|
if spec.satisfies('%intel@:18.999'):
|
||||||
args.append('CFLAGS=-no-gcc')
|
args.append('CFLAGS=-no-gcc')
|
||||||
|
|
||||||
if '+sigsegv' in spec:
|
if '+sigsegv' in spec:
|
||||||
|
|
Loading…
Reference in a new issue