[Bug 240507] WITHOUT_CLANG=yes WITH_CLANG_BOOTSTRAP=yes does not work
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 11 16:18:02 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240507
--- Comment #2 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Kyle Evans from comment #0)
> Can we consider enabling all LLVM_TARGET_* knobs for the bootstrap/cross-compiler clang, and leaving those user-controlled knobs to be purely for the clang that's getting installed
The problem with that is that a lot of unused targets will be built, which is
why the MK_LLVM_TARGET_ knobs were created in the first place. Ideally, only
the minimum set of targets is built.
That said, I agree that WITHOUT_CLANG should not immediately cause all
MK_LLVM_TARGET_ knobs to be turned off. However, the logic in share/mk/*.mk to
achieve all this is very convoluted and fragile, so I would rather defer to an
expert in that area. :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list