2021-07-15 07:55:00 +00:00
|
|
|
summary: Run the upstream LLVM integration test suite
|
2021-09-17 08:51:44 +00:00
|
|
|
description: |
|
|
|
|
Run the upstream LLVM integration test suite
|
2021-12-06 08:34:51 +00:00
|
|
|
test: "$WITH_SCL ./test.sh"
|
2021-07-15 07:55:00 +00:00
|
|
|
require:
|
|
|
|
- git
|
|
|
|
- make
|
2021-12-15 12:03:43 +00:00
|
|
|
# These require special repositories to be enabled on RHEL
|
|
|
|
- ninja-build
|
2021-07-15 07:55:00 +00:00
|
|
|
- libstdc++-static
|
2021-11-24 13:07:30 +00:00
|
|
|
adjust:
|
2021-12-06 08:34:51 +00:00
|
|
|
# Common requirements when LLVM is not SCL-ized
|
|
|
|
- require+:
|
|
|
|
- cmake
|
|
|
|
- clang
|
|
|
|
- clang-analyzer
|
|
|
|
- clang-devel
|
|
|
|
- clang-tools-extra
|
|
|
|
- compiler-rt
|
|
|
|
- lld
|
|
|
|
- lldb
|
|
|
|
- libomp-devel
|
|
|
|
- llvm-devel
|
|
|
|
- python3-lit
|
|
|
|
when: "collection is not defined"
|
|
|
|
|
|
|
|
# Requirements for SCL-ized LLVM
|
|
|
|
- require+:
|
|
|
|
- llvm-toolset-13.0-cmake
|
|
|
|
- llvm-toolset-13.0-clang
|
|
|
|
- llvm-toolset-13.0-clang-analyzer
|
|
|
|
- llvm-toolset-13.0-clang-devel
|
|
|
|
- llvm-toolset-13.0-clang-tools-extra
|
|
|
|
- llvm-toolset-13.0-compiler-rt
|
|
|
|
- llvm-toolset-13.0-lld
|
|
|
|
- llvm-toolset-13.0-lldb
|
|
|
|
- llvm-toolset-13.0-libomp-devel
|
|
|
|
- llvm-toolset-13.0-llvm-devel
|
|
|
|
- llvm-toolset-13.0-python3-lit
|
|
|
|
when: "collection == llvm-toolset-13.0"
|
2022-04-22 11:04:50 +00:00
|
|
|
- require+:
|
|
|
|
- llvm-toolset-14.0-cmake
|
|
|
|
- llvm-toolset-14.0-clang
|
|
|
|
- llvm-toolset-14.0-clang-analyzer
|
|
|
|
- llvm-toolset-14.0-clang-devel
|
|
|
|
- llvm-toolset-14.0-clang-tools-extra
|
|
|
|
- llvm-toolset-14.0-compiler-rt
|
|
|
|
- llvm-toolset-14.0-lld
|
|
|
|
- llvm-toolset-14.0-lldb
|
|
|
|
- llvm-toolset-14.0-libomp-devel
|
|
|
|
- llvm-toolset-14.0-llvm-devel
|
|
|
|
- llvm-toolset-14.0-python3-lit
|
|
|
|
when: "collection == llvm-toolset-14.0"
|
2021-12-06 08:34:51 +00:00
|
|
|
|
2022-04-29 14:54:43 +00:00
|
|
|
# lld not supported in s390x or ppc64. If any lld package was added to
|
|
|
|
# requirements, remove it.
|
2022-02-09 17:22:40 +00:00
|
|
|
- require-:
|
2022-04-29 14:54:43 +00:00
|
|
|
- lld
|
2022-02-09 17:22:40 +00:00
|
|
|
- llvm-toolset-13.0-lld
|
2022-04-22 11:04:50 +00:00
|
|
|
- llvm-toolset-14.0-lld
|
2022-04-29 14:54:43 +00:00
|
|
|
when: arch == s390x or arch == ppc64
|
|
|
|
|
|
|
|
# libomp not supported in s390x. If any libomp-devel package was added to
|
|
|
|
# requirements, remove it.
|
|
|
|
- require-:
|
|
|
|
- libomp-devel
|
|
|
|
- llvm-toolset-13.0-libomp-devel
|
2022-04-22 11:04:50 +00:00
|
|
|
- llvm-toolset-14.0-libomp-devel
|
2022-04-29 14:54:43 +00:00
|
|
|
when: arch == s390x
|
2022-02-09 17:22:40 +00:00
|
|
|
|
2021-11-24 13:07:30 +00:00
|
|
|
# libcxx shall be required in Fedora, it's not shipped with RHEL.
|
|
|
|
- require+:
|
|
|
|
- libcxx-devel
|
|
|
|
when: "distro == fedora"
|
|
|
|
because: testing against libcxx package in Fedora
|
2021-12-06 08:34:51 +00:00
|
|
|
|
2021-11-24 13:07:30 +00:00
|
|
|
- environment+:
|
|
|
|
CMAKE_CXXLIB: "-DENABLE_LIBCXX=OFF"
|
2021-12-15 12:03:43 +00:00
|
|
|
when: >-
|
|
|
|
distro == centos
|
|
|
|
or distro == rhel
|
|
|
|
because: libcxx is not shipped with neither Centos nor RHEL
|