Summary: | sys-apps/portage doesn't pick up negation of LLVM_TARGETS in package.use | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ta2002 <throw_away_2002> |
Component: | Profiles | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | bkohler, mscardovi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ta2002
2021-07-21 05:33:47 UTC
Have you tried to add it inside /etc/portage/profile/package.use.force too? (In reply to Marco Scardovi (scardracs) from comment #1) > Have you tried to add it inside /etc/portage/profile/package.use.force too? No. I can get it to work with USE=-llvm_targets_NVPTX on the command line (or in package.use), but I just sort of expected portage to handle LLVM_TARGETS the same way it handles all other expansions. This works for me: # # emerge -pvO llvm These are the packages that would be merged, in order: [ebuild R ] sys-devel/llvm-12.0.1:12::gentoo USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR -CSKY -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB # echo "*/* LLVM_TARGETS: -AMDGPU" >> /etc/portage/package.use/test # emerge -pvO llvm These are the packages that would be merged, in order: [ebuild R ] sys-devel/llvm-12.0.1:12::gentoo USE="libffi ncurses xml -debug -doc -exegesis -gold -libedit -test -xar -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="BPF NVPTX (X86) -AArch64 -AMDGPU* -ARC -ARM -AVR -CSKY -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB # Is it possible you have a later package.use entry which turns it back on? Can you check "grep -ri llvm_targets /etc/portage" output? I know that's a necrobump, but for general info (as probably someone will come here again), you can look at [1] too. [1] https://forums.gentoo.org/viewtopic-p-8694149.html?sid=b6d1cfd02c9b2224094a7cb6591051f0 |