profiles: add default llvm_targets for rust
authorGeorgy Yakovlev <ya@sysdump.net>
Mon, 14 May 2018 18:12:15 +0000 (11:12 -0700)
committerDirkjan Ochtman <djc@gentoo.org>
Tue, 15 May 2018 11:47:04 +0000 (13:47 +0200)
It's not installable without user invervention
with latest changes.

!!! The ebuild selected to satisfy "dev-lang/rust" has unmet
requirements.
- dev-lang/rust-1.26.0::gentoo USE="-debug -doc (-extended) -jemalloc"
ABI_X86="(64)" LLVM_TARGETS="-AArch64 -AMDGPU -ARM -BPF -Hexagon -Lanai
-MSP430 -Mips -NVPTX -PowerPC -Sparc -SystemZ -X86 -XCore"

Treat it the same way as llvm/clang does.
Not touching musl/uclibc profiles, since they
maintain their own rust ebuild.

Fixes: https://bugs.gentoo.org/655780

profiles/arch/amd64/package.use.force
profiles/arch/arm64/package.use.force
profiles/arch/x86/package.use.force

index d35dfcf8dc5ad11abdbfa8095e0a9276e78fd02c..eecfbb757e493de3cbe051471d6732360e8e3eb7 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Georgy Yakovlev <ya@sysdump.net> (14 May 2018)
+# Force the host target to avoid dependency hell
+dev-lang/rust llvm_targets_X86
+
 # NP-Hardass <NP-Hardass@gentoo.org> (23 May 2017)
 # Packages with optional 64-bit variant
 app-emulation/wine-vanilla -abi_x86_64
index 35055867c2fcf3c4ae66c510188b1358d920380a..31226f27346473ee72bedea84ca22e6cfed47a49 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Georgy Yakovlev <ya@sysdump.net> (14 May 2018)
+# Force the host target to avoid dependency hell
+dev-lang/rust llvm_targets_AArch64
+
 # Michał Górny <mgorny@gentoo.org> (24 Sep 2016)
 # Force the host target to avoid dependency hell
 sys-devel/clang llvm_targets_AArch64
index 6d74f7f7c286e3c1b93256652a29046f3ff4e188..c234a241e4f7cb5b33c7efadf4c138530664e1c4 100644 (file)
@@ -1,6 +1,10 @@
 # Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+# Georgy Yakovlev <ya@sysdump.net> (14 May 2018)
+# Force the host target to avoid dependency hell
+dev-lang/rust llvm_targets_X86
+
 # Michał Górny <mgorny@gentoo.org> (24 Sep 2016)
 # Force the host target to avoid dependency hell
 sys-devel/clang llvm_targets_X86