tests: fedora-flags
* Fixed broken dependency on annobin. Requiring just redhat-rpm-config should pull the correct annobin rpm * Added SCL specific requirements for LLVM 13 and 14
This commit is contained in:
parent
0ca250eb5b
commit
718bd7a127
@ -1,16 +1,29 @@
|
|||||||
summary: fedora-flags
|
summary: fedora-flags
|
||||||
test: "$WITH_SCL ./test.sh"
|
test: "$WITH_SCL ./test.sh"
|
||||||
require:
|
require:
|
||||||
- annobin
|
|
||||||
- clang
|
|
||||||
- redhat-rpm-config
|
- redhat-rpm-config
|
||||||
adjust:
|
adjust:
|
||||||
|
|
||||||
|
# Common requirements when LLVM is not SCL-ized
|
||||||
|
- require+:
|
||||||
|
- clang
|
||||||
|
when: "collection is not defined"
|
||||||
|
|
||||||
|
# Requirements for SCL-ized LLVM
|
||||||
|
- require+:
|
||||||
|
- llvm-toolset-13.0-clang
|
||||||
|
when: "collection == llvm-toolset-13.0"
|
||||||
|
- require+:
|
||||||
|
- llvm-toolset-14.0-clang
|
||||||
|
when: "collection == llvm-toolset-14.0"
|
||||||
|
|
||||||
- because: s390x does not have epel repo which is required to provide rpm macros
|
- because: s390x does not have epel repo which is required to provide rpm macros
|
||||||
enabled: false
|
enabled: false
|
||||||
when: >-
|
when: >-
|
||||||
distro == rhel-7
|
distro == rhel-7
|
||||||
and arch == s390x
|
and arch == s390x
|
||||||
|
|
||||||
|
# Note: this needs epel-release repo to be available
|
||||||
- because: "To enable rpm macros not available by default (e.g. build_cflags), epel-rpm-macros is needed"
|
- because: "To enable rpm macros not available by default (e.g. build_cflags), epel-rpm-macros is needed"
|
||||||
require+:
|
require+:
|
||||||
- epel-rpm-macros
|
- epel-rpm-macros
|
||||||
|
Loading…
Reference in New Issue
Block a user