diff options
| author | 2025-02-16 20:10:29 +0800 | |
|---|---|---|
| committer | 2025-02-16 12:28:41 +0000 | |
| commit | ff8e2b548c258e60463b1df0224beda29c7aacec (patch) | |
| tree | c0ac60db2dd29c5c99f52f2495c5d86994164659 /dev-lang/rust/rust-1.78.0-r101.ebuild | |
| parent | dev-ruby/net-imap: Stabilize 0.4.19 ppc64, #949829 (diff) | |
| download | gentoo-ff8e2b548c258e60463b1df0224beda29c7aacec.tar.gz gentoo-ff8e2b548c258e60463b1df0224beda29c7aacec.tar.bz2 gentoo-ff8e2b548c258e60463b1df0224beda29c7aacec.zip | |
dev-lang/rust: experimental target must be available first
current experimental targets are defined from v1.73 only, so the final
experimental target list should be the intersection of
ALL_LLVM_EXPERIMENTAL_TARGETS in ALL_LLVM_TARGETS.
Fixes: 94e2375d8bbaa777c83a3bffd60355075ee6ff83
Fixes: 3d841904ebfe01e74cb01eae6456b30f6aeca7e8
Closes: https://bugs.gentoo.org/949795
Signed-off-by: Z. Liu <[email protected]>
Closes: https://github.com/gentoo/gentoo/pull/40594
Signed-off-by: Sam James <[email protected]>
Diffstat (limited to 'dev-lang/rust/rust-1.78.0-r101.ebuild')
| -rw-r--r-- | dev-lang/rust/rust-1.78.0-r101.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.78.0-r101.ebuild b/dev-lang/rust/rust-1.78.0-r101.ebuild index a2ab0b579d5f..7bcddb3c4dba 100644 --- a/dev-lang/rust/rust-1.78.0-r101.ebuild +++ b/dev-lang/rust/rust-1.78.0-r101.ebuild @@ -39,7 +39,8 @@ ALL_LLVM_TARGETS=( AArch64 AMDGPU ARC ARM AVR BPF CSKY DirectX Hexagon Lanai ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?} -ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa ) +_ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa ) +ALL_LLVM_EXPERIMENTAL_TARGETS=( ) LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4" SLOT="${PV}" @@ -50,6 +51,12 @@ LLVM_DEPEND=() # splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation for _x in "${ALL_LLVM_TARGETS[@]}"; do LLVM_DEPEND+=( " ${_x}? ( $(llvm_gen_dep "llvm-core/llvm:\${LLVM_SLOT}[${_x}]") )" ) + for _xx in "${_ALL_LLVM_EXPERIMENTAL_TARGETS[@]}"; do + if [[ "${_xx}" == "${_x}" ]] ; then + ALL_LLVM_EXPERIMENTAL_TARGETS+=( ${_x} ) + break + fi + done done LLVM_DEPEND+=( " wasm? ( $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}') )" ) LLVM_DEPEND+=( " $(llvm_gen_dep 'llvm-core/llvm:${LLVM_SLOT}')" ) |
