2021-07-15 07:55:00 +00:00
|
|
|
summary: Test basic cargo usage
|
2021-12-06 08:34:51 +00:00
|
|
|
test: "$WITH_SCL ./test.sh"
|
|
|
|
require: []
|
|
|
|
adjust:
|
|
|
|
# Common requirements when LLVM is not SCL-ized
|
|
|
|
- require+:
|
|
|
|
# Required for rust and possibly other dependant packages
|
|
|
|
#
|
|
|
|
# NOTE #1: drop the requirement once the transitional period between releases is gone
|
|
|
|
# and llvm-compat is no longer a) needed, and b) part of the build.
|
|
|
|
#
|
|
|
|
# NOTE #2: keep it the first requirement. Depending on the order of requirements, placing it somewhere
|
|
|
|
# else in the list may lead to harness uninstalling and re-installing LLVM packages. That a) would be
|
|
|
|
# a waste of time, b) could potentially hide issues, leading to testing unexpected NVRs.
|
|
|
|
#
|
|
|
|
# - llvm-compat
|
2021-09-17 08:51:44 +00:00
|
|
|
|
2021-12-06 08:34:51 +00:00
|
|
|
- cargo
|
|
|
|
- rust
|
|
|
|
when: "collection is not defined"
|
|
|
|
|
|
|
|
# Requirements for SCL-ized LLVM
|
|
|
|
- require+:
|
|
|
|
- rust-toolset-1.58-cargo
|
|
|
|
- rust-toolset-1.58-rust
|
|
|
|
when: "collection == llvm-toolset-13.0"
|
2022-04-22 11:04:50 +00:00
|
|
|
- require+:
|
|
|
|
- rust-toolset-1.62-cargo
|
|
|
|
- rust-toolset-1.62-rust
|
|
|
|
when: "collection == llvm-toolset-14.0"
|