Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 06:03:29 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Julian Elischer <julian@FreeBSD.org>, Warner Losh <imp@bsdimp.com>
Cc:        FreeBSD Current <current@FreeBSD.org>
Subject:   Re: options for forcing use of GCC vs CLANG
Message-ID:  <1398686609.61646.200.camel@revolution.hippie.lan>
In-Reply-To: <535DF978.9090102@freebsd.org>
References:  <535D1350.4000106@freebsd.org> <1398616234.61646.155.camel@revolution.hippie.lan> <535DF978.9090102@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2014-04-28 at 14:47 +0800, Julian Elischer wrote:
> On 4/28/14, 12:30 AM, Ian Lepore wrote:
> > On Sun, 2014-04-27 at 22:25 +0800, Julian Elischer wrote:
> >> I need to hold off using CLANG for a while at $JOB. We are moving to a
> >> newer FBSD in the vicinity of 10.0 but we need to keep the gcc in hte
> >> picture for a bit longer before switching.  What options do I put into
> >> various /etc/make.conf to keep CLANG out ofhte picture until we are
> >> ready for it?
> >>
> >>   From reading various posts I see:
> >> WITHOUT_CLANG="yes"
> >> CC=gcc
> >> CXX=g++
> >> CPP=gcc -E
> >> but that doesn't seem complete to me.
> >>
> >> For now I want to not compile clang in our official build environment.
> >> (and obviously not use it until we are ready for it later this year.)
> >>
> >> What other hooks do I need to set?
> >>
> >> Julian
> > We've got the same situation at work.  What I'm using right now to build
> > 11-current @ r264151 is this:
> >
> > 	WITH_GCC=yes \
> > 	WITH_GNUCXX=yes \
> > 	WITHOUT_CLANG=yes \
> > 	WITHOUT_CLANG_IS_CC=yes \
> >
> > But that's now several weeks out of date, and there are two new knobs I
> > haven't investigated yet: WITH_CLANG_BOOTSTRAP and WITH_GCC_BOOTSTRAP.
> >
> > -- Ian
> >
> >
> >
> >
> 
> Thanks Ian.
> Can soneone who is driving this please chime in?  I will need to keep 
> GCC on systems from 9.0 to 10.1 (and various points in between on the 
> -current lineage).  Will the lines above work for that whole range? or 
> did it change over time?
> I expect to flip the CLANG switch sometime around the time when we 
> slide on to 10.1 or so.
> 

Adding Warner, since he's the one doing the work on this stuff.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1398686609.61646.200.camel>