From 1628a22c616867e8896346d57f11b0071d7d9e9f Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Mon, 14 May 2018 11:12:15 -0700 Subject: [PATCH] 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 --- profiles/arch/amd64/package.use.force | 4 ++++ profiles/arch/arm64/package.use.force | 4 ++++ profiles/arch/x86/package.use.force | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/profiles/arch/amd64/package.use.force b/profiles/arch/amd64/package.use.force index d35dfcf8dc5a..eecfbb757e49 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 (14 May 2018) +# Force the host target to avoid dependency hell +dev-lang/rust llvm_targets_X86 + # NP-Hardass (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 35055867c2fc..31226f273464 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 (14 May 2018) +# Force the host target to avoid dependency hell +dev-lang/rust llvm_targets_AArch64 + # Michał Górny (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 6d74f7f7c286..c234a241e4f7 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 (14 May 2018) +# Force the host target to avoid dependency hell +dev-lang/rust llvm_targets_X86 + # Michał Górny (24 Sep 2016) # Force the host target to avoid dependency hell sys-devel/clang llvm_targets_X86 -- 2.26.2