commit: 1628a22c616867e8896346d57f11b0071d7d9e9f Author: Georgy Yakovlev <ya <AT> sysdump <DOT> net> AuthorDate: Mon May 14 18:12:15 2018 +0000 Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> CommitDate: Tue May 15 11:47:04 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1628a22c
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 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 <[email protected]> (14 May 2018) +# Force the host target to avoid dependency hell +dev-lang/rust llvm_targets_X86 + # NP-Hardass <[email protected]> (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 <[email protected]> (14 May 2018) +# Force the host target to avoid dependency hell +dev-lang/rust llvm_targets_AArch64 + # Michał Górny <[email protected]> (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 <[email protected]> (14 May 2018) +# Force the host target to avoid dependency hell +dev-lang/rust llvm_targets_X86 + # Michał Górny <[email protected]> (24 Sep 2016) # Force the host target to avoid dependency hell sys-devel/clang llvm_targets_X86
