jcheca / rpms / clang

Forked from rpms/clang 2 years ago
Clone
Blob Blame History Raw
# TODO: get fitting summary - what's the purpose of this test? Comment from the STI version says:
#
# 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.
summary: libomp tests
# This test requires a special preparation, see `/tests/tests-libomp` plan. As such,
# it shouldn't be part of the `/tests/default` plan.
tag:
  - not-in-default
test: "$WITH_SCL ./test.sh"
adjust:
  # Common requirements when LLVM is not SCL-ized
  - require:
      - clang
      - clang-libs
      - libomp
      - libomp-devel
    when: "collection is not defined"

  # Requirements for SCL-ized LLVM
  - require:
      - llvm-toolset-13.0-clang
      - llvm-toolset-13.0-clang-libs
      - llvm-toolset-13.0-libomp
      - llvm-toolset-13.0-libomp-devel
    when: "collection == llvm-toolset-13.0"