On Sun, Sep 25, 2016, at 16:08 CDT, Michał Górny <mgo...@gentoo.org> wrote:
> Hi, > > I'd like to introduce a new USE_EXPAND for LLVM & clang. It'd be named > LLVM_TARGETS, and it's going to replace the current solution based on > USE=multitarget & VIDEO_CARDS=radeon. > > In the old system, the following rules applied: > > - host (implicitly figured out by LLVM) and BPF targets were always > built, > > - VIDEO_CARDS=radeon enabled additional R600 target, > > - USE=multitarget enabled all targets. > > In the new system, LLVM_TARGETS explicitly controls *all* targets > built. To avoid dependency hell, the host target is package.use.forced > in specific arch profiles. Additionally, the BPF target is on by > default. +1 We also avoid a very subtle abuse of the VIDEO_CARDS use expand with it. So far, I had to explain a surprising amount of times that VIDEO_CARDS=radeon for llvm does *not* mean that llvm magically uses the GPU for compiling. Best, Matthias
signature.asc
Description: PGP signature