lld/tests/ld-alternative/main.fmf
2022-05-06 10:37:43 +02:00

29 lines
777 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
- because: lld is not installed as ld alternative in rhel < 9
enabled: false
when: distro < rhel-9
# 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"