2021-11-16 11:31:23 +00:00
|
|
|
summary: Test linker switching with alternatives
|
2021-12-06 15:19:29 +00:00
|
|
|
test: "$WITH_SCL ./test.sh"
|
2021-11-16 11:31:23 +00:00
|
|
|
# This test spoils the installation by removing lld, therefore it should be marked as such.
|
|
|
|
tag:
|
|
|
|
- spoils-installation
|
|
|
|
require:
|
|
|
|
- binutils
|
2021-12-06 15:19:29 +00:00
|
|
|
adjust:
|
2022-05-03 14:59:58 +00:00
|
|
|
- because: lld is not shipped for s390x and ppc64
|
2022-02-15 10:15:20 +00:00
|
|
|
enabled: false
|
2022-05-03 14:59:58 +00:00
|
|
|
when: arch == s390x or arch == ppc64
|
2022-02-15 10:15:20 +00:00
|
|
|
|
2022-05-06 08:37:43 +00:00
|
|
|
- because: lld is not installed as ld alternative in rhel < 9
|
|
|
|
enabled: false
|
|
|
|
when: distro < rhel-9
|
|
|
|
|
2021-12-06 15:19:29 +00:00
|
|
|
# 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"
|
2022-04-25 08:46:35 +00:00
|
|
|
- require+:
|
|
|
|
- llvm-toolset-14.0-lld
|
|
|
|
when: "collection == llvm-toolset-14.0"
|