mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
30 lines
No EOL
1 KiB
Text
30 lines
No EOL
1 KiB
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"
|
|
- require+:
|
|
- rust-toolset-1.62-cargo
|
|
- rust-toolset-1.62-rust
|
|
when: "collection == llvm-toolset-14.0" |