* [gentoo-commits] repo/gentoo:master commit in: profiles/arch/s390/s390x/, profiles/arch/riscv/, profiles/arch/powerpc/, ...
@ 2025-07-19 11:35 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-07-19 11:35 UTC (permalink / raw
To: gentoo-commits
commit: cffe8adcf3c22bf8b68f89c3c4394c05c0590e15
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 19 10:54:57 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 19 11:35:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cffe8adc
profiles: move LLVM native/host forces to use.force
It's tedious to have to keep updating these for misc. packages and it's
also not clear why, if you have LLVM_TARGETS, you would ever not
want the native one for a package.
Signed-off-by: Sam James <sam <AT> gentoo.org>
profiles/arch/amd64/package.use.force | 11 -----------
profiles/arch/amd64/use.force | 4 ++++
profiles/arch/arm/package.use.force | 11 -----------
profiles/arch/arm/use.force | 4 ++++
profiles/arch/arm64/package.use.force | 11 -----------
profiles/arch/arm64/use.force | 6 +++++-
profiles/arch/loong/package.use.force | 11 -----------
profiles/arch/loong/use.force | 6 +++++-
profiles/arch/mips/package.use.force | 11 -----------
profiles/arch/mips/use.force | 6 +++++-
profiles/arch/powerpc/package.use.force | 11 -----------
profiles/arch/powerpc/use.force | 6 ++++++
profiles/arch/riscv/package.use.force | 6 ------
profiles/arch/riscv/use.force | 6 +++++-
profiles/arch/s390/s390x/package.use.force | 8 --------
profiles/arch/s390/s390x/use.force | 6 +++++-
profiles/arch/sparc/package.use.force | 8 --------
profiles/arch/sparc/use.force | 4 ++++
profiles/arch/x86/package.use.force | 11 -----------
profiles/arch/x86/use.force | 4 ++++
profiles/prefix/darwin/macos/arch/arm64/package.use.force | 7 -------
profiles/prefix/darwin/macos/arch/arm64/use.force | 6 +++++-
profiles/prefix/darwin/macos/arch/ppc/package.use.force | 7 -------
profiles/prefix/darwin/macos/arch/ppc/use.force | 6 +++++-
profiles/prefix/darwin/macos/arch/x64/package.use.force | 7 -------
profiles/prefix/darwin/macos/arch/x64/use.force | 6 +++++-
26 files changed, 62 insertions(+), 128 deletions(-)
diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force
index 6dc03bb90625..6059168cf0f4 100644
--- a/profiles/arch/amd64/package.use.force
+++ b/profiles/arch/amd64/package.use.force
@@ -25,10 +25,6 @@ sys-kernel/vanilla-kernel -savedconfig
# iasl is stable on amd64
sys-firmware/seabios -binary
-# Georgy Yakovlev <gyakovlev@gentoo.org> (2018-05-14)
-# Force the host target to avoid dependency hell
-dev-lang/rust llvm_targets_X86
-
# Adam Feldman <NP-Hardass@gentoo.org> (2017-05-23)
# Packages with optional 64-bit variant
app-emulation/wine-vanilla -abi_x86_64
@@ -42,13 +38,6 @@ virtual/wine -abi_x86_64
# multilib packages, #611292.
sys-apps/sandbox abi_x86_32
-# Michał Górny <mgorny@gentoo.org> (2016-09-24)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_X86
-llvm-core/clang llvm_targets_X86
-llvm-core/llvm llvm_targets_X86
-llvm-core/lld llvm_targets_X86
-
# Diego Elio Pettenò <flameeyes@gmail.com> (2011-04-21)
# The plugin is 32-bit only (and I'm not even sure if it works with
# modern iscan); make sure it only installs the firmware for amd64!
diff --git a/profiles/arch/amd64/use.force b/profiles/arch/amd64/use.force
index 6595a954f57e..456064d936a8 100644
--- a/profiles/arch/amd64/use.force
+++ b/profiles/arch/amd64/use.force
@@ -1,6 +1,10 @@
# Force the flag which corresponds to ARCH.
amd64
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_X86
+
# Michał Górny <mgorny@gentoo.org> (2013-01-26)
# Force the flag corresponding to the default ABI.
abi_x86_64
diff --git a/profiles/arch/arm/package.use.force b/profiles/arch/arm/package.use.force
index 7a32c9f93ad8..33d259964b07 100644
--- a/profiles/arch/arm/package.use.force
+++ b/profiles/arch/arm/package.use.force
@@ -9,14 +9,3 @@ dev-lang/ghc:0/9.0.2 llvm
# Thomas Deutschmann <whissi@gentoo.org> (2021-05-11)
# Satisfy REQUIRED_USE on arm
app-emulation/xen debug
-
-# Georgy Yakovlev <gyakovlev@gentoo.org> (2019-02-16)
-# Force the host target
-dev-lang/rust llvm_targets_ARM
-
-# Michał Górny <mgorny@gentoo.org> (2016-09-24)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_ARM
-llvm-core/clang llvm_targets_ARM
-llvm-core/llvm llvm_targets_ARM
-llvm-core/lld llvm_targets_ARM
diff --git a/profiles/arch/arm/use.force b/profiles/arch/arm/use.force
index 7116ac8c8915..02a3468423df 100644
--- a/profiles/arch/arm/use.force
+++ b/profiles/arch/arm/use.force
@@ -1,2 +1,6 @@
# Force the flag which corresponds to ARCH.
arm
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_ARM
diff --git a/profiles/arch/arm64/package.use.force b/profiles/arch/arm64/package.use.force
index f3b043056be7..55e8ef0bf878 100644
--- a/profiles/arch/arm64/package.use.force
+++ b/profiles/arch/arm64/package.use.force
@@ -23,14 +23,3 @@ net-misc/sunshine cpu_flags_arm_neon
# Luke Dashjr <luke-jr+gentoobugs@utopios.org> (2019-09-21)
# iasl is keyworded ~arm64
sys-firmware/seabios -binary
-
-# Georgy Yakovlev <gyakovlev@gentoo.org> (2018-05-14)
-# Force the host target to avoid dependency hell
-dev-lang/rust llvm_targets_AArch64
-
-# Michał Górny <mgorny@gentoo.org> (2016-09-24)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_AArch64
-llvm-core/clang llvm_targets_AArch64
-llvm-core/llvm llvm_targets_AArch64
-llvm-core/lld llvm_targets_AArch64
diff --git a/profiles/arch/arm64/use.force b/profiles/arch/arm64/use.force
index d0e9e5e91125..0bba8192b1ce 100644
--- a/profiles/arch/arm64/use.force
+++ b/profiles/arch/arm64/use.force
@@ -1,9 +1,13 @@
-# Copyright 2014-2023 Gentoo Authors
+# Copyright 2014-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag which corresponds to ARCH.
arm64
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_AArch64
+
# Instruction sets that are always available
cpu_flags_arm_v8
diff --git a/profiles/arch/loong/package.use.force b/profiles/arch/loong/package.use.force
index 48909ba78199..500c4f54a15b 100644
--- a/profiles/arch/loong/package.use.force
+++ b/profiles/arch/loong/package.use.force
@@ -13,17 +13,6 @@ dev-perl/DBD-MariaDB mariadb
# [1] https://github.com/mpv-player/mpv/wiki/FAQ#why-does-mpv-not-support-lua-53-or-newer
media-video/mpv lua_single_target_lua5-1 -lua_single_target_luajit
-# WANG Xuerui <xen0n@gentoo.org> (2022-08-13)
-# Force the host target
-#
-# Some packages are not fully ported yet, but preemptively added so we won't
-# have to revisit later.
-dev-lang/rust llvm_targets_LoongArch
-dev-ml/llvm llvm_targets_LoongArch
-llvm-core/clang llvm_targets_LoongArch
-llvm-core/llvm llvm_targets_LoongArch
-llvm-core/lld llvm_targets_LoongArch
-
# WANG Xuerui <xen0n@gentoo.org> (2022-04-24)
# Force-enable experimental-loong on packages; we're loong.
<sys-libs/glibc-2.36 experimental-loong
diff --git a/profiles/arch/loong/use.force b/profiles/arch/loong/use.force
index a75f45bda3b2..fabb80204249 100644
--- a/profiles/arch/loong/use.force
+++ b/profiles/arch/loong/use.force
@@ -1,5 +1,9 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag which corresponds to ARCH.
loong
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_LoongArch
diff --git a/profiles/arch/mips/package.use.force b/profiles/arch/mips/package.use.force
index f3394d65e783..103fceffd390 100644
--- a/profiles/arch/mips/package.use.force
+++ b/profiles/arch/mips/package.use.force
@@ -1,13 +1,2 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-
-# matoro <matoro_gentoo@matoro.tk> (2022-09-14)
-# Same as below for rust.
-dev-lang/rust llvm_targets_Mips
-
-# Michał Górny <mgorny@gentoo.org> (2016-09-24)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_Mips
-llvm-core/clang llvm_targets_Mips
-llvm-core/llvm llvm_targets_Mips
-llvm-core/lld llvm_targets_Mips
diff --git a/profiles/arch/mips/use.force b/profiles/arch/mips/use.force
index a7a49e49beb0..220930d116ae 100644
--- a/profiles/arch/mips/use.force
+++ b/profiles/arch/mips/use.force
@@ -1,5 +1,9 @@
-# Copyright 2008-2021 Gentoo Authors
+# Copyright 2008-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag which corresponds to ARCH.
mips
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_Mips
diff --git a/profiles/arch/powerpc/package.use.force b/profiles/arch/powerpc/package.use.force
index 5fd0d8c92947..271a93a2712f 100644
--- a/profiles/arch/powerpc/package.use.force
+++ b/profiles/arch/powerpc/package.use.force
@@ -13,14 +13,3 @@ media-video/mpv lua_single_target_lua5-1 -lua_single_target_luajit
# Luke Dashjr <luke-jr+gentoobugs@utopios.org> (2019-09-21)
# iasl is stable on ppc
sys-firmware/seabios -binary
-
-# Sergei Trofimovich <slyfox@gentoo.org> (2018-12-25)
-# Enable powerpc target by default.
-dev-lang/rust llvm_targets_PowerPC
-
-# Michał Górny <mgorny@gentoo.org> (2016-09-24)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_PowerPC
-llvm-core/clang llvm_targets_PowerPC
-llvm-core/llvm llvm_targets_PowerPC
-llvm-core/lld llvm_targets_PowerPC
diff --git a/profiles/arch/powerpc/use.force b/profiles/arch/powerpc/use.force
new file mode 100644
index 000000000000..871f84e5c803
--- /dev/null
+++ b/profiles/arch/powerpc/use.force
@@ -0,0 +1,6 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_PowerPC
diff --git a/profiles/arch/riscv/package.use.force b/profiles/arch/riscv/package.use.force
index d1a396a2ed98..da45a9746ef7 100644
--- a/profiles/arch/riscv/package.use.force
+++ b/profiles/arch/riscv/package.use.force
@@ -23,9 +23,3 @@ app-editors/neovim lua_single_target_lua5-1
# It gains LLVM codegen in 9.2, but we maintain a backport of this,
# so force LLVM codegen in all versions.
<dev-lang/ghc-9.12.1 llvm
-
-# we, kinda, need this on riscv ...
-llvm-core/llvm llvm_targets_RISCV
-llvm-core/clang llvm_targets_RISCV
-dev-lang/rust llvm_targets_RISCV
-llvm-core/lld llvm_targets_RISCV
diff --git a/profiles/arch/riscv/use.force b/profiles/arch/riscv/use.force
index 684f397caa9f..2b6bb78f90e8 100644
--- a/profiles/arch/riscv/use.force
+++ b/profiles/arch/riscv/use.force
@@ -1,5 +1,9 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag which corresponds to ARCH.
riscv
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_RISCV
diff --git a/profiles/arch/s390/s390x/package.use.force b/profiles/arch/s390/s390x/package.use.force
index e54d49dd46c6..33d9d9d1b6ef 100644
--- a/profiles/arch/s390/s390x/package.use.force
+++ b/profiles/arch/s390/s390x/package.use.force
@@ -4,11 +4,3 @@
# Michał Górny <mgorny@gentoo.org> (2022-06-18)
# dev-lang/spidermonkey not keyworded yet.
sys-auth/polkit duktape
-
-# Michał Górny <mgorny@gentoo.org> (2016-11-11)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_SystemZ
-dev-lang/rust llvm_targets_SystemZ
-llvm-core/clang llvm_targets_SystemZ
-llvm-core/llvm llvm_targets_SystemZ
-llvm-core/lld llvm_targets_SystemZ
diff --git a/profiles/arch/s390/s390x/use.force b/profiles/arch/s390/s390x/use.force
index e1bcb55f0b36..18f5e6a050eb 100644
--- a/profiles/arch/s390/s390x/use.force
+++ b/profiles/arch/s390/s390x/use.force
@@ -1,5 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag corresponding to the only ABI.
abi_s390_64
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_SystemZ
diff --git a/profiles/arch/sparc/package.use.force b/profiles/arch/sparc/package.use.force
index 96be5f34db45..251b0d3118bc 100644
--- a/profiles/arch/sparc/package.use.force
+++ b/profiles/arch/sparc/package.use.force
@@ -4,11 +4,3 @@
# Sam James <sam@gentoo.org> (2022-02-19)
# New enough SpiderMonkey not (yet?) keyworded here, bug #753221
sys-auth/polkit duktape
-
-# Michał Górny <mgorny@gentoo.org> (2016-09-24)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_Sparc
-llvm-core/clang llvm_targets_Sparc
-llvm-core/llvm llvm_targets_Sparc
-llvm-core/lld llvm_targets_Sparc
-dev-lang/rust llvm_targets_Sparc
diff --git a/profiles/arch/sparc/use.force b/profiles/arch/sparc/use.force
index 191e6829c54d..e2aaa2062a02 100644
--- a/profiles/arch/sparc/use.force
+++ b/profiles/arch/sparc/use.force
@@ -1,6 +1,10 @@
# Force the flag which corresponds to ARCH.
sparc
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_Sparc
+
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (2021-04-01)
# sys-libs/libunwind not supported on SPARC.
llvm-libunwind
diff --git a/profiles/arch/x86/package.use.force b/profiles/arch/x86/package.use.force
index 025b0affe494..ff6ffb5efc3e 100644
--- a/profiles/arch/x86/package.use.force
+++ b/profiles/arch/x86/package.use.force
@@ -36,14 +36,3 @@ sys-kernel/vanilla-kernel -savedconfig
# Luke Dashjr <luke-jr+gentoobugs@utopios.org> (2019-11-21)
# iasl is stable on x86
sys-firmware/seabios -binary
-
-# Georgy Yakovlev <gyakovlev@gentoo.org> (2018-05-14)
-# Force the host target to avoid dependency hell
-dev-lang/rust llvm_targets_X86
-
-# Michał Górny <mgorny@gentoo.org> (2016-09-24)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_X86
-llvm-core/clang llvm_targets_X86
-llvm-core/llvm llvm_targets_X86
-llvm-core/lld llvm_targets_X86
diff --git a/profiles/arch/x86/use.force b/profiles/arch/x86/use.force
index 857a8b5df0f0..98978f7630bc 100644
--- a/profiles/arch/x86/use.force
+++ b/profiles/arch/x86/use.force
@@ -1,6 +1,10 @@
# Force the flag which corresponds to ARCH.
x86
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_X86
+
# Michał Górny <mgorny@gentoo.org> (2013-01-26)
# Force the flag corresponding to the only ABI. This allows x86 binary
# packages to have uniform dependencies for amd64-multilib & x86.
diff --git a/profiles/prefix/darwin/macos/arch/arm64/package.use.force b/profiles/prefix/darwin/macos/arch/arm64/package.use.force
index e33f3626c699..103fceffd390 100644
--- a/profiles/prefix/darwin/macos/arch/arm64/package.use.force
+++ b/profiles/prefix/darwin/macos/arch/arm64/package.use.force
@@ -1,9 +1,2 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-
-# Fabian Groffen <grobian@gentoo.org> (2020-12-31)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_AArch64
-llvm-core/clang llvm_targets_AArch64
-llvm-core/llvm llvm_targets_AArch64
-llvm-core/lld llvm_targets_AArch64
diff --git a/profiles/prefix/darwin/macos/arch/arm64/use.force b/profiles/prefix/darwin/macos/arch/arm64/use.force
index 1dc3e267bfe2..18ee0542d5b5 100644
--- a/profiles/prefix/darwin/macos/arch/arm64/use.force
+++ b/profiles/prefix/darwin/macos/arch/arm64/use.force
@@ -1,9 +1,13 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag corresponding to the default ABI
arm64-macos
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_AArch64
+
# Instruction sets that are always available on M1
cpu_flags_arm_v4
cpu_flags_arm_v5
diff --git a/profiles/prefix/darwin/macos/arch/ppc/package.use.force b/profiles/prefix/darwin/macos/arch/ppc/package.use.force
index 37805e78ae91..ecf99a062b59 100644
--- a/profiles/prefix/darwin/macos/arch/ppc/package.use.force
+++ b/profiles/prefix/darwin/macos/arch/ppc/package.use.force
@@ -4,10 +4,3 @@
# Fabian Groffen <grobian@gentoo.org> (2024-03-08)
# un-force pie, won't work on this arch
sys-devel/gcc -pie
-
-# Fabian Groffen <grobian@gentoo.org> (2016-12-20)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_PowerPC
-llvm-core/clang llvm_targets_PowerPC
-llvm-core/llvm llvm_targets_PowerPC
-llvm-core/lld llvm_targets_PowerPC
diff --git a/profiles/prefix/darwin/macos/arch/ppc/use.force b/profiles/prefix/darwin/macos/arch/ppc/use.force
index 2df1dde89af6..ed2e282994b0 100644
--- a/profiles/prefix/darwin/macos/arch/ppc/use.force
+++ b/profiles/prefix/darwin/macos/arch/ppc/use.force
@@ -1,6 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag corresponding to the default ABI
ppc-macos
abi_ppc_32
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_PowerPC
diff --git a/profiles/prefix/darwin/macos/arch/x64/package.use.force b/profiles/prefix/darwin/macos/arch/x64/package.use.force
index 99a8e046620c..103fceffd390 100644
--- a/profiles/prefix/darwin/macos/arch/x64/package.use.force
+++ b/profiles/prefix/darwin/macos/arch/x64/package.use.force
@@ -1,9 +1,2 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-
-# Fabian Groffen <grobian@gentoo.org> (2016-12-20)
-# Force the host target to avoid dependency hell
-dev-ml/llvm llvm_targets_X86
-llvm-core/clang llvm_targets_X86
-llvm-core/llvm llvm_targets_X86
-llvm-core/lld llvm_targets_X86
diff --git a/profiles/prefix/darwin/macos/arch/x64/use.force b/profiles/prefix/darwin/macos/arch/x64/use.force
index 7ffc124249d7..bb31f7522d21 100644
--- a/profiles/prefix/darwin/macos/arch/x64/use.force
+++ b/profiles/prefix/darwin/macos/arch/x64/use.force
@@ -1,6 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Force the flag corresponding to the default ABI
x64-macos
abi_x86_64
+
+# Sam James <sam@gentoo.org> (2025-07-19)
+# Force the native/host target
+llvm_targets_X86
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-19 11:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-19 11:35 [gentoo-commits] repo/gentoo:master commit in: profiles/arch/s390/s390x/, profiles/arch/riscv/, profiles/arch/powerpc/, Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox