From owner-freebsd-arch@FreeBSD.ORG Tue Jun 26 20:19:57 2012 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FB651065670; Tue, 26 Jun 2012 20:19:57 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id 197088FC08; Tue, 26 Jun 2012 20:19:57 +0000 (UTC) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.5/8.14.5) with ESMTP id q5QKJuDX014211; Tue, 26 Jun 2012 13:19:56 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.5/8.14.5/Submit) id q5QKJugF014210; Tue, 26 Jun 2012 13:19:56 -0700 (PDT) (envelope-from obrien) Date: Tue, 26 Jun 2012 13:19:56 -0700 From: "David O'Brien" To: Baptiste Daroussin Message-ID: <20120626201956.GB13937@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Baptiste Daroussin , arch@FreeBSD.org References: <20120526235510.GB90668@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120526235510.GB90668@ithaqua.etoilebsd.net> X-Operating-System: FreeBSD 10.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? User-Agent: Mutt/1.5.20 (2009-06-14) Cc: arch@FreeBSD.org Subject: Re: switch tounconditionnal boostrapping while to build the tree X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 20:19:57 -0000 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)