commit:     a1589a28394b62e0e1d29865ed5fdb94c1e8ca22
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  4 22:23:20 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov  4 22:23:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1589a28

profiles/base: Force all LLVM targets on llvm/clang-13.0.1+

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/base/package.use.force | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index 47bf0a61d98..947b30464c6 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -1,6 +1,28 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Michał Górny <[email protected]> (2021-11-04)
+# Enable all LLVM targets unconditionally.  Unfortunately, disabling
+# targets tend to break reverse dependencies (e.g. Rust) and we are yet
+# to find a clean way of resolving that.  Compared to the damage
+# potential, the increase of build time is a minor problem.  Users who
+# really insist of building a smaller system can un-force the flags
+# at their own responsibility.
+>=sys-devel/clang-13.0.1 llvm_targets_AArch64 llvm_targets_AMDGPU
+>=sys-devel/clang-13.0.1 llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF
+>=sys-devel/clang-13.0.1 llvm_targets_Hexagon llvm_targets_Lanai
+>=sys-devel/clang-13.0.1 llvm_targets_MSP430 llvm_targets_Mips
+>=sys-devel/clang-13.0.1 llvm_targets_NVPTX llvm_targets_PowerPC
+>=sys-devel/clang-13.0.1 llvm_targets_RISCV llvm_targets_Sparc
+>=sys-devel/clang-13.0.1 llvm_targets_SystemZ llvm_targets_WebAssembly
+>=sys-devel/llvm-13.0.1 llvm_targets_AArch64 llvm_targets_AMDGPU
+>=sys-devel/llvm-13.0.1 llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF
+>=sys-devel/llvm-13.0.1 llvm_targets_Hexagon llvm_targets_Lanai
+>=sys-devel/llvm-13.0.1 llvm_targets_MSP430 llvm_targets_Mips
+>=sys-devel/llvm-13.0.1 llvm_targets_NVPTX llvm_targets_PowerPC
+>=sys-devel/llvm-13.0.1 llvm_targets_RISCV llvm_targets_Sparc
+>=sys-devel/llvm-13.0.1 llvm_targets_SystemZ llvm_targets_WebAssembly
+
 # Sam James <[email protected]> (2021-03-08)
 # Broken without USE=unicode
 # Needs to link with libiconv, bug #774507

Reply via email to