Adding AOCC support for M4 (#19572)
* Adding AOCC support for M4 * combining 4 if-statements into a single if-statement with or conditions * keeping parentheses around the or expressions * fixing flake8 test failures Co-authored-by: mohan babu <mohbabul@amd.com>
This commit is contained in:
parent
0bed9a1990
commit
09b63ae3d1
1 changed files with 4 additions and 7 deletions
|
@ -52,13 +52,10 @@ def configure_args(self):
|
||||||
if spec.satisfies('%cce@9:'):
|
if spec.satisfies('%cce@9:'):
|
||||||
args.append('LDFLAGS=-rtlib=compiler-rt')
|
args.append('LDFLAGS=-rtlib=compiler-rt')
|
||||||
|
|
||||||
if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'):
|
if (spec.satisfies('%clang') or
|
||||||
args.append('LDFLAGS=-rtlib=compiler-rt')
|
spec.satisfies('%aocc') or
|
||||||
|
spec.satisfies('%arm') or
|
||||||
if spec.satisfies('%arm') and not spec.satisfies('platform=darwin'):
|
spec.satisfies('%fj')) and not spec.satisfies('platform=darwin'):
|
||||||
args.append('LDFLAGS=-rtlib=compiler-rt')
|
|
||||||
|
|
||||||
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@:18.999'):
|
if spec.satisfies('%intel@:18.999'):
|
||||||
|
|
Loading…
Reference in a new issue