How to disable CLANG & co build in buildworld?
ed at 80386.nl
Fri Jun 11 20:35:45 UTC 2010
* M. Warner Losh <imp at bsdimp.com> wrote:
> Except that clang isn't quite disabled when cross-building, due to the
> issue I pointed out when the commit went in wrt bsd.own.mk.
> MACHINE_ARCH is still amd64 until we start to build the sparc64
> binaries, so anything in the bootstrapping part of the build will not
> be disabled. that's one of many reasons disabling things in
> bsd.own.mk based on architecture is going to fail.
Exactly. I already mentioned this problem on arch@ back in May. That's
why a small portion of LLVM, namely tblgen, is always built. Even though
this will slightly increase the build time, it shouldn't be excessive.
If someone knows of a nice way to fix this, I am more than willing to
get it fixed.
It should be noted that tblgen is not the only tool that may get built
for nothing. Another example is aicasm, which is always built, even if
ahc is not placed in the kernel configuration file.
Ed Schouten <ed at 80386.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100611/1269e587/attachment.pgp
More information about the freebsd-current