Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2016 16:27:00 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        current@freebsd.org
Subject:   Re: [CFT] WITH_META_MODE: Working incremental build
Message-ID:  <c5593688-828e-34df-a6f4-fd902c660354@FreeBSD.org>
In-Reply-To: <48166.1464740223@kaos.jnpr.net>
References:  <e25bdb07-8a72-f955-ffb2-5d2609b9d3fe@FreeBSD.org> <20160531140608.GA24894@albert.catwhisker.org> <5c2283ef-def0-1bdd-4766-0d2a901e7580@FreeBSD.org> <abcea294-7e18-c24e-ea3b-986f1e85034d@FreeBSD.org> <fe25f23e-e666-831c-9e90-9122822f8be0@FreeBSD.org> <ff541c28-5be4-b756-85a7-4b5c3c3e4262@FreeBSD.org> <48166.1464740223@kaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c5593688-828e-34df-a6f4-fd902c660354>