summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2024-11-13 17:11:06 +1000
committerMatt Jolly <kangie@gentoo.org>2024-11-13 17:26:31 +1000
commit70efb1b436bd07abc3a2ae01247e5e324577d524 (patch)
tree48185bf9f9f9a9b1843676ee70a38ed5b256da15 /profiles/base
parentdev-python/contourpy: Bump to 1.3.1 (diff)
downloadgentoo-70efb1b436bd07abc3a2ae01247e5e324577d524.tar.gz
gentoo-70efb1b436bd07abc3a2ae01247e5e324577d524.tar.bz2
gentoo-70efb1b436bd07abc3a2ae01247e5e324577d524.zip
profiles/base: p.use.force appropriate llvm_slot_x for Rust.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'profiles/base')
-rw-r--r--profiles/base/package.use.force27
1 files changed, 27 insertions, 0 deletions
diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index 6da238d69422..a5ba2145c048 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -1,6 +1,33 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Matt Jolly <kangie@gentoo.org> (2024-11-13)
+# Force the use of the appropriate llvm_slot_x USE for Rust.
+# This is strictly papercut prevention; the ebuild will enforce the correct
+# selection via LLVM_REQUIRED_USE. This prevents users from deselecting
+# the correct slot by (e.g.) setting -llvm_slot_# globally.
+# source ../eclass/rust.eclass
+# for slot in ${_RUST_SLOTS_ORDERED[@]}; do
+# echo "dev-lang/rust:${slot} llvm_slot_${_RUST_LLVM_MAP[${slot}]}"
+# echo "dev-lang/rust-bin:${slot} llvm_slot_${_RUST_LLVM_MAP[${slot}]}"
+# done
+dev-lang/rust:1.82.0 llvm_slot_19
+dev-lang/rust-bin:1.82.0 llvm_slot_19
+dev-lang/rust:1.81.0 llvm_slot_18
+dev-lang/rust-bin:1.81.0 llvm_slot_18
+dev-lang/rust:1.80.1 llvm_slot_18
+dev-lang/rust-bin:1.80.1 llvm_slot_18
+dev-lang/rust:1.79.0 llvm_slot_18
+dev-lang/rust-bin:1.79.0 llvm_slot_18
+dev-lang/rust:1.77.1 llvm_slot_17
+dev-lang/rust-bin:1.77.1 llvm_slot_17
+dev-lang/rust:1.75.0 llvm_slot_17
+dev-lang/rust-bin:1.75.0 llvm_slot_17
+dev-lang/rust:1.74.1 llvm_slot_17
+dev-lang/rust-bin:1.74.1 llvm_slot_17
+dev-lang/rust:1.71.1 llvm_slot_16
+dev-lang/rust-bin:1.71.1 llvm_slot_16
+
# Sam James <sam@gentoo.org> (2024-09-30)
# gnat-gpl only exists for (bootstrapping) Ada. Until bug #940471 is handled,
# force Ada on. Once it is split/moved/gutted, this won't be necessary