2021-10-18 14:01:51 +00:00
|
|
|
# TODO REVIEW: better summary
|
|
|
|
summary: ""
|
2021-12-13 12:37:36 +00:00
|
|
|
test: "$WITH_SCL ./test.sh"
|
2022-02-11 11:24:17 +00:00
|
|
|
require:
|
|
|
|
- glibc-static
|
2022-01-26 09:52:41 +00:00
|
|
|
- yum-utils
|
2022-02-14 14:06:13 +00:00
|
|
|
# This require EPEL/CRB to be enabled on RHEL
|
|
|
|
- libstdc++-static
|
2021-11-11 11:56:36 +00:00
|
|
|
adjust:
|
2021-12-13 12:37:36 +00:00
|
|
|
# Common requirements when LLVM is not SCL-ized
|
|
|
|
- require+:
|
|
|
|
- clang
|
2022-02-14 14:06:13 +00:00
|
|
|
- compiler-rt
|
|
|
|
- lld
|
2021-12-13 12:37:36 +00:00
|
|
|
when: "collection is not defined"
|
2022-02-14 14:06:13 +00:00
|
|
|
- require-:
|
|
|
|
- lld
|
|
|
|
when: collection is not defined and arch == s390x
|
2021-12-13 12:37:36 +00:00
|
|
|
|
|
|
|
# Requirements for SCL-ized LLVM
|
|
|
|
- require+:
|
|
|
|
- llvm-toolset-13.0-clang
|
2022-02-14 14:06:13 +00:00
|
|
|
- llvm-toolset-13.0-compiler-rt
|
|
|
|
- llvm-toolset-13.0-lld
|
2021-12-13 12:37:36 +00:00
|
|
|
when: "collection == llvm-toolset-13.0"
|
2022-02-14 14:06:13 +00:00
|
|
|
- require-:
|
|
|
|
- llvm-toolset-13.0-lld
|
|
|
|
when: collection == llvm-toolset-13.0 and arch == s390x
|
2021-12-13 12:37:36 +00:00
|
|
|
|
2021-11-11 11:56:36 +00:00
|
|
|
- environment+:
|
|
|
|
CXXLIBS: "libc++"
|
2022-02-11 11:24:17 +00:00
|
|
|
require+:
|
2021-11-11 11:56:36 +00:00
|
|
|
- libcxx-devel
|
2022-02-14 14:06:13 +00:00
|
|
|
- libcxx-static
|
2021-11-11 11:56:36 +00:00
|
|
|
when: "distro == fedora"
|
|
|
|
because: testing against libcxx package in Fedora
|
2021-12-13 12:37:36 +00:00
|
|
|
|
2021-11-11 11:56:36 +00:00
|
|
|
- environment+:
|
|
|
|
CXXLIBS: "libstdc++"
|
2022-02-11 11:24:17 +00:00
|
|
|
require+:
|
2021-11-11 11:56:36 +00:00
|
|
|
- libstdc++
|
2022-02-11 11:24:17 +00:00
|
|
|
when: >-
|
|
|
|
distro == rhel
|
|
|
|
or distro == centos
|
2021-11-11 11:56:36 +00:00
|
|
|
because: testing against libstdc++ package in RHEL as libcxx is not shipped with RHEL
|
2021-12-13 12:37:36 +00:00
|
|
|
|
2021-10-18 14:01:51 +00:00
|
|
|
# TODO REVIEW: are these all requirements? test.sh seems to run quite a lot of stuff, looks like we
|
|
|
|
# need more packages from LLVM family.
|