Re: cvs commit: src Makefile

From: Peter Wemm <peter_at_wemm.org>
Date: Tue, 27 May 2008 15:35:09 -0700
On Tue, May 27, 2008 at 4:06 AM, David Schultz <das_at_freebsd.org> wrote:
> On Mon, May 26, 2008, Peter Wemm wrote:
>> On Mon, May 26, 2008 at 12:06 AM, Poul-Henning Kamp <phk_at_phk.freebsd.dk> wrote:
>> > In message <20080525221112.GH5179_at_what-creek.com>, John Birrell writes:
>> >
>> >>I will back out the change, but I think you are making the 'universe' target
>> >>out to be more than was intended. We used to talk about tiers. We seem to have
>> >>lost sight of that.
>> >
>> > No, architecture tiers is about code how well the code runs, make
>> > universe is simply a way to keep it compiling.
>>
>> sparc64 and sun4v share userland.  The sparc64 in universe overs 99%
>> of the compile test for sun4v already.
>>
>> It seems a shame to compile sparc64 userland twice for universe.  And
>> on that note, do we compile i386 twice for i386 and pc98?
>>
>> I might find myself more inclined to use 'universe' if it had less
>> duplicated work.
>
> I've always thought it would be nice to have a stripped-down
> version of make universe (make galaxy?) that compiled for a
> representative sample of platforms, and with only one or two
> kernels per platform instead of 3 or 4 or 5. For small changes,
> this represents a better tradeoff in time spent compiling vs. the
> cost of things breaking occasionally. For actively developed
> platforms, breaking the build wastes lots of people's time; for
> everything else, there's tinderbox.

"make tier1" ?  (Stuff which must not be broken)
"make tier2" etc.

FWIW, I really don't think it is worth burning an entire 99.9999%
duplicate build cycle just to test a #ifdef SUN4V in one file in libc.

-- 
Peter Wemm - peter_at_wemm.org; peter_at_FreeBSD.org; peter_at_yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell
Received on Tue May 27 2008 - 22:35:11 UTC