Date: Tue, 26 Jun 2012 13:19:56 -0700 From: "David O'Brien" <obrien@FreeBSD.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: arch@FreeBSD.org Subject: Re: switch tounconditionnal boostrapping while to build the tree Message-ID: <20120626201956.GB13937@dragon.NUXI.org> In-Reply-To: <20120526235510.GB90668@ithaqua.etoilebsd.net> References: <20120526235510.GB90668@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 27, 2012 at 01:55:10AM +0200, Baptiste Daroussin wrote: > so if no one care I'll remove the condition to boostrap at least > yacc(1) and lex(1) on current, 9, 8 and 7. Note that we do a run-time test of make(1) ['upgrade_checks' target] to decide if we need to build a bootstrap version. How hard would it be to do that for yacc/lex? /usr/src/Makefile: # Make sure we have an up-to-date make(1). Only world and buildworld # should do this as those are the initial targets used for upgrades. # The user can define ALWAYS_CHECK_MAKE to have this check performed # for all targets. # .if defined(ALWAYS_CHECK_MAKE) ${TGTS}: upgrade_checks .else buildworld: upgrade_checks .endif # Perform a few tests to determine if the installed tools are adequate # for building the world. # upgrade_checks: @if ! (cd ${.CURDIR}/tools/build/make_check && \ PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \ PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \ then \ (cd ${.CURDIR} && ${MAKE} make); \ fi -- -- David (obrien@FreeBSD.org)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120626201956.GB13937>