jcheca / rpms / llvm

Forked from rpms/llvm 2 years ago
Clone
b7b4d3e
summary: Test basic cargo usage
978f495
test: "$WITH_SCL ./test.sh"
978f495
require: []
978f495
adjust:
978f495
  # Common requirements when LLVM is not SCL-ized
978f495
  - require+:
978f495
    # Required for rust and possibly other dependant packages
978f495
    #
978f495
    # NOTE #1: drop the requirement once the transitional period between releases is gone
978f495
    # and llvm-compat is no longer a) needed, and b) part of the build.
978f495
    #
978f495
    # NOTE #2: keep it the first requirement. Depending on the order of requirements, placing it somewhere
978f495
    # else in the list may lead to harness uninstalling and re-installing LLVM packages. That a) would be
978f495
    # a waste of time, b) could potentially hide issues, leading to testing unexpected NVRs.
978f495
    #
978f495
    #  - llvm-compat
027da39
978f495
      - cargo
978f495
      - rust
978f495
    when: "collection is not defined"
978f495
978f495
  # Requirements for SCL-ized LLVM
978f495
  - require+:
978f495
      - rust-toolset-1.58-cargo
978f495
      - rust-toolset-1.58-rust
978f495
    when: "collection == llvm-toolset-13.0"
965c7fb
  - require+:
965c7fb
      - rust-toolset-1.62-cargo
965c7fb
      - rust-toolset-1.62-rust
965c7fb
    when: "collection == llvm-toolset-14.0"