Re: How to disable CLANG co build in buildworld?

2010-06-12 Thread Dag-Erling Smørgrav
Ed Schouten e...@80386.nl writes: Well, I've been thinking about this as well, but keep in mind that tblgen really has no use by itself and strongly depends on the version of your source tree. Even if we backport a tiny patch from the Clang repository, we cannot trust tblgen to do the right

Re: How to disable CLANG co build in buildworld?

2010-06-12 Thread Ed Schouten
* Dag-Erling Smørgrav d...@des.no wrote: Ed Schouten e...@80386.nl writes: Well, I've been thinking about this as well, but keep in mind that tblgen really has no use by itself and strongly depends on the version of your source tree. Even if we backport a tiny patch from the Clang

Re: How to disable CLANG co build in buildworld?

2010-06-12 Thread M. Warner Losh
In message: 4c1315f9.6000...@freebsd.org Doug Barton do...@freebsd.org writes: : On 06/11/10 14:18, M. Warner Losh wrote: : This is building the proper set of tools for the target. It is easy : to do, and only a couple lines of Makefile foo in Makefile.inc1 : instead of in

Re: How to disable CLANG co build in buildworld?

2010-06-12 Thread Doug Barton
On 06/12/10 08:10, M. Warner Losh wrote: In message:4c1315f9.6000...@freebsd.org Doug Bartondo...@freebsd.org writes: : On 06/11/10 14:18, M. Warner Losh wrote: : This is building the proper set of tools for the target. It is easy : to do, and only a couple lines of Makefile foo

Re: How to disable CLANG co build in buildworld?

2010-06-12 Thread M. Warner Losh
In message: 4c13f53f.3050...@freebsd.org Doug Barton do...@freebsd.org writes: : On 06/12/10 08:10, M. Warner Losh wrote: : In message:4c1315f9.6000...@freebsd.org : Doug Bartondo...@freebsd.org writes: : : On 06/11/10 14:18, M. Warner Losh wrote: : : This is building

Re: How to disable CLANG co build in buildworld?

2010-06-12 Thread Doug Barton
On 06/12/10 16:16, M. Warner Losh wrote: I plan on fixing this problem That's good news, since I'm obviously too stupid to understand why it exists. :) I look forward to seeing your solution. Doug -- ... and that's just a little bit of history repeating.

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Ed Schouten
Hello Andreas, * Andreas Tobler andreast-l...@fgznet.ch wrote: I have a sparc64 machine which is quite slow. And for my purpose I do not need CLANG etc. atm. Clang is not enabled on sparc64, so there is no need to disable anything. If you do want to disable Clang on i386, amd64, pc98 or

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Rui Paulo
On 11 Jun 2010, at 19:49, Andreas Tobler wrote: Hello, how can I disable the build of CLANG in a buildworld? echo WITHOUT_CLANG=yes /etc/src.conf Regards, -- Rui Paulo ___ freebsd-current@freebsd.org mailing list

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Boris Kochergin
Andreas Tobler wrote: Hello, how can I disable the build of CLANG in a buildworld? I have a sparc64 machine which is quite slow. And for my purpose I do not need CLANG etc. atm. Thanks for any pointer. Andreas Setting WITHOUT_CLANG=yes in /etc/src.conf seems to be the way:

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Andreas Tobler
Hi Ed, and all the others, On 11.06.10 20:52, Ed Schouten wrote: * Andreas Toblerandreast-l...@fgznet.ch wrote: I have a sparc64 machine which is quite slow. And for my purpose I do not need CLANG etc. atm. Clang is not enabled on sparc64, so there is no need to disable anything. If you do

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread M. Warner Losh
In message: 20100611185237.gl56...@hoeg.nl Ed Schouten e...@80386.nl writes: : Hello Andreas, : : * Andreas Tobler andreast-l...@fgznet.ch wrote: : I have a sparc64 machine which is quite slow. And for my purpose I : do not need CLANG etc. atm. : : Clang is not enabled on sparc64,

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread M. Warner Losh
In message: 20100611.132052.271446115462387749@bsdimp.com M. Warner Losh i...@bsdimp.com writes: : In message: 20100611185237.gl56...@hoeg.nl : Ed Schouten e...@80386.nl writes: : : Hello Andreas, : : : : * Andreas Tobler andreast-l...@fgznet.ch wrote: : : I have a

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Andreas Tobler
On 11.06.10 21:56, M. Warner Losh wrote: In message:20100611.132052.271446115462387749@bsdimp.com M. Warner Loshi...@bsdimp.com writes: : In message:20100611185237.gl56...@hoeg.nl : Ed Schoutene...@80386.nl writes: : : Hello Andreas, : : : : * Andreas

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Ed Schouten
* M. Warner Losh i...@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

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Doug Barton
On 06/11/10 13:35, Ed Schouten wrote: * M. Warner Loshi...@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

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Dag-Erling Smørgrav
Ed Schouten e...@80386.nl writes: Exactly. I already mentioned this problem on arch@ back in May. That's why a small portion of LLVM, namely tblgen, is always built. tblgen + two libraries that it needs. However, we never install tblgen, and that is a problem, because it means we can't make in

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread M. Warner Losh
In message: 20100611203544.ga1...@hoeg.nl Ed Schouten e...@80386.nl writes: : 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. That's

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread M. Warner Losh
In message: 4c129ece.8040...@freebsd.org Doug Barton do...@freebsd.org writes: : On 06/11/10 13:35, Ed Schouten wrote: : * M. Warner Loshi...@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

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Ed Schouten
Hi Dag-Erling, * Dag-Erling Smørgrav d...@des.no wrote: However, we never install tblgen, and that is a problem, because it means we can't make in /usr/src/lib/clang - the only way to build clang is with make toolchain, make buildworld or make buildenv, which is ridiculous. All it takes is

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Ed Schouten
Hi Warner, * M. Warner Losh i...@bsdimp.com wrote: This is building the proper set of tools for the target. It is easy to do, and only a couple lines of Makefile foo in Makefile.inc1 instead of in bsd.own.mk. It is a fairly natural consequence of the tbemd stuff I have been working on and

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread M. Warner Losh
In message: 20100611225844.gc1...@hoeg.nl Ed Schouten e...@80386.nl writes: : Hi Warner, : : * M. Warner Losh i...@bsdimp.com wrote: : This is building the proper set of tools for the target. It is easy : to do, and only a couple lines of Makefile foo in Makefile.inc1 : instead of

Re: How to disable CLANG co build in buildworld?

2010-06-11 Thread Doug Barton
On 06/11/10 14:18, M. Warner Losh wrote: This is building the proper set of tools for the target. It is easy to do, and only a couple lines of Makefile foo in Makefile.inc1 instead of in bsd.own.mk. It is a fairly natural consequence of the tbemd stuff I have been working on and have started