2021-12-01 15:35:03 +00:00
|
|
|
summary: libomp clang tests for build/PR gating
|
|
|
|
adjust:
|
|
|
|
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
|
|
|
|
when: >-
|
|
|
|
trigger is defined
|
|
|
|
and trigger != commit
|
|
|
|
and trigger != build
|
|
|
|
enabled: false
|
2022-02-15 08:56:31 +00:00
|
|
|
|
2022-01-26 09:52:41 +00:00
|
|
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
|
|
environment+:
|
|
|
|
WITH_SCL: "scl enable llvm-toolset-13.0"
|
|
|
|
when: "collection == llvm-toolset-13.0"
|
2022-04-22 10:52:04 +00:00
|
|
|
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
|
|
environment+:
|
|
|
|
WITH_SCL: "scl enable llvm-toolset-14.0"
|
|
|
|
when: "collection == llvm-toolset-14.0"
|
2022-02-15 08:56:31 +00:00
|
|
|
|
|
|
|
- because: "libomp not supported in s390x"
|
|
|
|
when: arch == s390x
|
|
|
|
enabled: false
|
|
|
|
|
2021-10-18 14:01:51 +00:00
|
|
|
discover:
|
|
|
|
how: fmf
|
|
|
|
test: libomp
|
|
|
|
execute:
|
|
|
|
how: tmt
|
|
|
|
prepare:
|
|
|
|
# We want to make sure libomp is not already present on the system to ensure
|
|
|
|
# that clang pulls in the correct libomp dependencies when it is installed.
|
|
|
|
- name: Drop libomp
|
|
|
|
how: shell
|
|
|
|
script: |
|
2022-01-26 09:52:41 +00:00
|
|
|
yum erase -y libomp libomp-devel clang clang-libs
|
2021-10-18 14:01:51 +00:00
|
|
|
provision:
|
|
|
|
hardware:
|
|
|
|
memory: ">= 4 GiB"
|