summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <ya@sysdump.net>2018-05-14 11:12:15 -0700
committerDirkjan Ochtman <djc@gentoo.org>2018-05-15 13:47:04 +0200
commit1628a22c616867e8896346d57f11b0071d7d9e9f (patch)
tree78681a7b6e51044966b056ad5c110171dc1fe9d8
parentwww-apps/hugo: Remove old (diff)
downloadgentoo-1628a22c616867e8896346d57f11b0071d7d9e9f.tar.gz
gentoo-1628a22c616867e8896346d57f11b0071d7d9e9f.tar.bz2
gentoo-1628a22c616867e8896346d57f11b0071d7d9e9f.zip
profiles: add default llvm_targets for rust
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
-rw-r--r--profiles/arch/amd64/package.use.force4
-rw-r--r--profiles/arch/arm64/package.use.force4
-rw-r--r--profiles/arch/x86/package.use.force4
3 files changed, 12 insertions, 0 deletions
diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force
index d35dfcf8dc5..eecfbb757e4 100644
--- a/profiles/arch/amd64/package.use.force
+++ b/profiles/arch/amd64/package.use.force
@@ -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
diff --git a/profiles/arch/arm64/package.use.force b/profiles/arch/arm64/package.use.force
index 35055867c2f..31226f27346 100644
--- a/profiles/arch/arm64/package.use.force
+++ b/profiles/arch/arm64/package.use.force
@@ -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
diff --git a/profiles/arch/x86/package.use.force b/profiles/arch/x86/package.use.force
index 6d74f7f7c28..c234a241e4f 100644
--- a/profiles/arch/x86/package.use.force
+++ b/profiles/arch/x86/package.use.force
@@ -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