Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2000 10:33:07 -0400 (EDT)
From:      John Baldwin <jhb@freebsd.org>
To:        Poul-Henning Kamp <phk@freebsd.org>
Cc:        arch@freebsd.org
Subject:   RE: "buildig release" knob in make world/release
Message-ID:  <200004121433.KAA32551@server.baldwin.cx>
In-Reply-To: <35762.955547013@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12-Apr-00 Poul-Henning Kamp wrote:
> 
> The recent discussion about making malloc(3) more picky and adding
> INVARIANTS to kernels during the current cycle came out in favour
> of the general principle of making CURRENT more picky about mistakes.
> 
> This begs the question if we should add a top-level knob which sets 
> the entire build, world, release, kernels and modules in one of two
> modes:
>       CURRENT         - enable extra checks.
>       RELEASE         - disable extra checks

How about using DEVELOPMENT and PRODUCTION instead?  I think they more
clearly convey the meanings of the settings.

> or if we should enable each of these extra checkes individually ?

I like one big tweakable knob personally.  However, what you could do
is have a DEVELOPMENT toggle much like NO_PORTS, etc. in make.conf.
You could then teach make.conf to set default values of many variables
based on the bigger main knob.

> If we agree on one big handle, what should the name be ?

Umm, SYSTEM_FOCUS perhaps?

I assume this would go in /etc/defaults/make.conf?  Is there any
possiblity of possibly creating an /etc/build.conf instead and
cleaning out a lot of the crud in make.conf that has nothing at
all to do with configuring make?

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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