From owner-freebsd-current@freebsd.org Sun Jun 5 23:27:05 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2154B6B335 for ; Sun, 5 Jun 2016 23:27:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CAD131251 for ; Sun, 5 Jun 2016 23:27:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id C69F6B6B334; Sun, 5 Jun 2016 23:27:05 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4043B6B333 for ; Sun, 5 Jun 2016 23:27:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A15CF1249 for ; Sun, 5 Jun 2016 23:27:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 9874D14F7 for ; Sun, 5 Jun 2016 23:27:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 4022420B9D for ; Sun, 5 Jun 2016 23:27:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id QWwR-oyMEOCY for ; Sun, 5 Jun 2016 23:27:02 +0000 (UTC) Subject: Re: [CFT] WITH_META_MODE: Working incremental build DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com D0D9520B98 References: <20160531140608.GA24894@albert.catwhisker.org> <5c2283ef-def0-1bdd-4766-0d2a901e7580@FreeBSD.org> <48166.1464740223@kaos.jnpr.net> To: current@freebsd.org From: Bryan Drewery Organization: FreeBSD Message-ID: Date: Sun, 5 Jun 2016 16:27:00 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <48166.1464740223@kaos.jnpr.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 23:27:06 -0000 On 5/31/16 5:17 PM, Simon J. Gerraty wrote: >> Another reported issue just now is that right after an installworld, >> everything rebuilds due to changed /bin/sh (-dM flag to make tells you >> why things rebuild). I'll look into some mitigations for this. >=20 > It is probably sufficient to just add >=20 > .MAKE.META.IGNORE_PATHS +=3D ${__MAKE_SHELL} >=20 Several fixes are now in after r301475 (using several bmake updates): - buildworld->installworld->buildworld will no longer rebuild everything - .meta files lacking filemon data will force a rebuild - No 'make cleanworld' needed now. The lack of .meta files will force a rebuild - WITH_SYSTEM_COMPILER is forced off with WITH_META_MODE due to it causing buildworld->installworld->buildworld to rebuild everything due to using new --sysroot/-target in CFLAGS. This shouldn't be a big deal since the build is incremental; clang should build infrequently or fast. - cross-building causing a rebuild of make_keys in lib/ncurses is fixed - bmake's processing of .meta files (incremental build) is something like 77% faster now - NOP 'Building .depend' lines will no longer show - Building some targets multiple times (like yacc output) Still remaining to fix: - Libraries being relinked during a NOP build - Jail installworld with WITH_META_MODE enabled errors since it is forcing filemon in that case. Just disable for now during install. --=20 Regards, Bryan Drewery