mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
26 lines
936 B
Text
26 lines
936 B
Text
summary: Test basic cargo usage
|
|
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
|
|
|
|
- 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"
|