mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-25 01:35:17 +00:00
53 lines
1.4 KiB
Text
53 lines
1.4 KiB
Text
summary: Run the upstream LLVM integration test suite
|
|
description: |
|
|
Run the upstream LLVM integration test suite
|
|
test: "$WITH_SCL ./test.sh"
|
|
require:
|
|
- git
|
|
- make
|
|
# These require special repositories to be enabled on RHEL
|
|
- ninja-build
|
|
- libstdc++-static
|
|
adjust:
|
|
# 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"
|
|
|
|
# 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
|
|
|
|
- environment+:
|
|
CMAKE_CXXLIB: "-DENABLE_LIBCXX=OFF"
|
|
when: >-
|
|
distro == centos
|
|
or distro == rhel
|
|
because: libcxx is not shipped with neither Centos nor RHEL
|