History log of /freebsd-current/contrib/bmake/configure.in
Revision Date Author Comments
# 548bfc56 03-May-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20240430

Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'


# c59c3bf3 13-Mar-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20240309

Merge commit '368b06ce6b0135d6de13f7265f6dcbaeb791b3bb'


# d5e0a182 13-Jan-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20240108


# 98875883 17-Sep-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230909

Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# e2eeea75 19-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20201117

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o More code cleanup and refactoring.

o More unit tests

MFC after: 1 week


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# ef0b2538 09-Jun-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200606

Relevant items from ChangeLog:

o dir.c: cached_stats - don't confuse stat and lstat results.
o var.c: add :Or for reverse sort.


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 50d2e745 01-Mar-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-201802222

Fixes segfault in Var_Set if val is NULL
Don't treat .info as warning with -W


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 39ac7ef4 08-Jun-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160606

o dir.c: extend mtimes cache to others via cached_stat()


# ac3446e9 07-Dec-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20151201


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 51ee2c1c 02-Aug-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 3955d011 02-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg


# c59c3bf3 13-Mar-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20240309

Merge commit '368b06ce6b0135d6de13f7265f6dcbaeb791b3bb'


# d5e0a182 13-Jan-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20240108


# 98875883 17-Sep-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230909

Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# e2eeea75 19-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20201117

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o More code cleanup and refactoring.

o More unit tests

MFC after: 1 week


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# ef0b2538 09-Jun-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200606

Relevant items from ChangeLog:

o dir.c: cached_stats - don't confuse stat and lstat results.
o var.c: add :Or for reverse sort.


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 50d2e745 01-Mar-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-201802222

Fixes segfault in Var_Set if val is NULL
Don't treat .info as warning with -W


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 39ac7ef4 08-Jun-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160606

o dir.c: extend mtimes cache to others via cached_stat()


# ac3446e9 07-Dec-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20151201


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 51ee2c1c 02-Aug-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 3955d011 02-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg


# d5e0a182 13-Jan-2024 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20240108


# 98875883 17-Sep-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230909

Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# e2eeea75 19-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20201117

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o More code cleanup and refactoring.

o More unit tests

MFC after: 1 week


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# ef0b2538 09-Jun-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200606

Relevant items from ChangeLog:

o dir.c: cached_stats - don't confuse stat and lstat results.
o var.c: add :Or for reverse sort.


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 50d2e745 01-Mar-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-201802222

Fixes segfault in Var_Set if val is NULL
Don't treat .info as warning with -W


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 39ac7ef4 08-Jun-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160606

o dir.c: extend mtimes cache to others via cached_stat()


# ac3446e9 07-Dec-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20151201


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 51ee2c1c 02-Aug-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 3955d011 02-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg


# 98875883 17-Sep-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20230909

Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# e2eeea75 19-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20201117

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o More code cleanup and refactoring.

o More unit tests

MFC after: 1 week


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# ef0b2538 09-Jun-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200606

Relevant items from ChangeLog:

o dir.c: cached_stats - don't confuse stat and lstat results.
o var.c: add :Or for reverse sort.


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 50d2e745 01-Mar-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-201802222

Fixes segfault in Var_Set if val is NULL
Don't treat .info as warning with -W


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 39ac7ef4 08-Jun-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160606

o dir.c: extend mtimes cache to others via cached_stat()


# ac3446e9 07-Dec-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20151201


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 51ee2c1c 02-Aug-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 3955d011 02-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg


# 4fde40d9 27-Jan-2023 Simon J. Gerraty <sjg@FreeBSD.org>

Merge/update to bmake-20230126


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# e2eeea75 19-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20201117

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o More code cleanup and refactoring.

o More unit tests

MFC after: 1 week


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# ef0b2538 09-Jun-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200606

Relevant items from ChangeLog:

o dir.c: cached_stats - don't confuse stat and lstat results.
o var.c: add :Or for reverse sort.


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 50d2e745 01-Mar-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-201802222

Fixes segfault in Var_Set if val is NULL
Don't treat .info as warning with -W


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 39ac7ef4 08-Jun-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160606

o dir.c: extend mtimes cache to others via cached_stat()


# ac3446e9 07-Dec-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20151201


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 51ee2c1c 02-Aug-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 3955d011 02-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg


# 12904384 18-Dec-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20211212

commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'


# dba7b0ef 10-Feb-2021 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20210206

Changes of interest

o unit-tests: use private TMPDIR to avoid errors from other users
o avoid strdup in mkTempFile
o always use vfork
o job.c: do not create empty shell files in jobs mode
reduce unnecessary calls to waitpid
o cond.c: fix debug output for comparison operators in conditionals


# e2eeea75 19-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20201117

o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
checks in InitObjdir. Explicit .OBJDIR target always allows
read-only directory.

o More code cleanup and refactoring.

o More unit tests

MFC after: 1 week


# 956e45f6 07-Nov-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20201101

Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py


# 3841c287 11-Jul-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20200710

Key changes include reduced noise at end of failed build log
and avoid evaluation of unnecessary terms in conditionals.
In META MODE; a target flagged .META is out-of-date if meta file
is missing

MFC after: 1 week


# ef0b2538 09-Jun-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200606

Relevant items from ChangeLog:

o dir.c: cached_stats - don't confuse stat and lstat results.
o var.c: add :Or for reverse sort.


# 49caa483 20-May-2020 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20200517

Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

o str.c: empty string does not match % pattern
plus unit-test changes
o var.c: import handling of old sysV style modifier using '%'
o str.c: refactor brk_string
o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
a blank command is perfectly valid.
o meta.c: meta_oodate, check for corrupted meta file
earlier and more often.
* meta.c: meta_compat_parent check for USE_FILEMON
patch from Soeren Tempel
o meta.c: fix compat mode, need to call meta_job_output()
o job.c: extra fds for meta mode not needed if using filemon_dev
o meta.c: avoid passing NULL to filemon_*() when meta_needed()
returns FALSE.
o filemon/filemon_{dev,ktrace}.c: allow selection of
filemon implementation. filemon_dev.c uses the kernel module
while filemon_ktrace.c leverages the fktrace api available in
NetBSD. filemon_ktrace.c can hopefully form the basis for
adding support for other tracing mechanisms such as strace on
Linux.
o meta.c: when target is out-of-date per normal make rules
record value of .OODATE in meta file.
o parse.c: don't pass NULL to realpath(3)
some versions cannot handle it.
o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests


# 50d2e745 01-Mar-2018 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-201802222

Fixes segfault in Var_Set if val is NULL
Don't treat .info as warning with -W


# e22fef7d 02-Nov-2017 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20171028

Ignore empty MAKEOBJDIR[PREFIX]

Reported by: bdrewery


# 39ac7ef4 08-Jun-2016 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20160606

o dir.c: extend mtimes cache to others via cached_stat()


# ac3446e9 07-Dec-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20151201


# 4c620fe5 23-Oct-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake 20151020


# db29cad8 20-Apr-2015 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20150418

PR: 199486


# 5bcb7424 08-Jul-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20140620
Main change is detection of malformed variable references.

Reviewed by: obrien


# 0dede8b0 27-Jan-2014 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20140101 from vendor


# 51ee2c1c 02-Aug-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.


# 1748de26 02-Apr-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Update to bmake-20130330


# 3cbdda60 01-Feb-2013 Simon J. Gerraty <sjg@FreeBSD.org>

Merge bmake-20130123

Approved by: marcel (mentor)


# 3955d011 02-Oct-2012 Marcel Moolenaar <marcel@FreeBSD.org>

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg