25 lines
667 B
Plaintext
25 lines
667 B
Plaintext
summary: Test linker switching with alternatives
|
|
test: "$WITH_SCL ./test.sh"
|
|
# This test spoils the installation by removing lld, therefore it should be marked as such.
|
|
tag:
|
|
- spoils-installation
|
|
require:
|
|
- binutils
|
|
adjust:
|
|
- because: lld is not shipped for s390x and ppc64
|
|
enabled: false
|
|
when: arch == s390x or arch == ppc64
|
|
|
|
# Common requirements when LLVM is not SCL-ized
|
|
- require+:
|
|
- lld
|
|
when: "collection is not defined"
|
|
|
|
# Requirements for SCL-ized LLVM
|
|
- require+:
|
|
- llvm-toolset-13.0-lld
|
|
when: "collection == llvm-toolset-13.0"
|
|
- require+:
|
|
- llvm-toolset-14.0-lld
|
|
when: "collection == llvm-toolset-14.0"
|