Re: Building clang in buildworld as part of the bootstrap process -- is it really necessary?

2014-09-06 Thread Dimitry Andric
On 06 Sep 2014, at 05:16, Warner Losh i...@bsdimp.com wrote: On Sep 5, 2014, at 8:21 PM, Garrett Cooper yaneurab...@gmail.com wrote: One of the questions that came up from a co-worker is why do I need to build clang in buildworld if I already installed it from ports? I could see some

Re: Building clang in buildworld as part of the bootstrap process -- is it really necessary?

2014-09-06 Thread David Chisnall
On 6 Sep 2014, at 06:47, Garrett Cooper yaneurab...@gmail.com wrote: Makes sense. I'll do some poking around and see if things could potentially be optimized with the clang build. On beefy machines it's not a big deal, but as we know on machines without a ton of memory or SSDs, it can become

Re: Building clang in buildworld as part of the bootstrap process -- is it really necessary?

2014-09-06 Thread Warner Losh
On Sep 6, 2014, at 5:32 AM, Dimitry Andric d...@freebsd.org wrote: On 06 Sep 2014, at 05:16, Warner Losh i...@bsdimp.com wrote: On Sep 5, 2014, at 8:21 PM, Garrett Cooper yaneurab...@gmail.com wrote: One of the questions that came up from a co-worker is why do I need to build clang in

Building clang in buildworld as part of the bootstrap process -- is it really necessary?

2014-09-05 Thread Garrett Cooper
Hi all, One of the questions that came up from a co-worker is why do I need to build clang in buildworld if I already installed it from ports? I could see some valid reasons for doing this (one needs a cross-compiler, one might need specific options that might not be set in the ports version),

Re: Building clang in buildworld as part of the bootstrap process -- is it really necessary?

2014-09-05 Thread Warner Losh
On Sep 5, 2014, at 8:21 PM, Garrett Cooper yaneurab...@gmail.com wrote: Hi all, One of the questions that came up from a co-worker is why do I need to build clang in buildworld if I already installed it from ports? I could see some valid reasons for doing this (one needs a

Re: Building clang in buildworld as part of the bootstrap process -- is it really necessary?

2014-09-05 Thread Garrett Cooper
tl;dr: NO. Makes sense. I'll do some poking around and see if things could potentially be optimized with the clang build. On beefy machines it's not a big deal, but as we know on machines without a ton of memory or SSDs, it can become painful, as expected. Thanks :)! -Garrett