079bd3253f
Resolves: rhbz#2061041 Resolves: rhbz#2061058
34 lines
949 B
Plaintext
34 lines
949 B
Plaintext
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
|
|
|
|
- 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"
|
|
|
|
- because: "libomp not supported in s390x"
|
|
when: arch == s390x
|
|
enabled: false
|
|
|
|
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: |
|
|
yum erase -y libomp libomp-devel clang clang-libs
|
|
provision:
|
|
hardware:
|
|
memory: ">= 4 GiB"
|