Merge bmake-20220208 * unit-tests/Makefile: disable opt-debug-x-trace on Linux if there is any chance we have dash as .SHELL * meta.c: use a variable to hold command line to
Merge bmake-20220208 * unit-tests/Makefile: disable opt-debug-x-trace on Linux if there is any chance we have dash as .SHELL * meta.c: use a variable to hold command line to be filtered to avoid any side effects from content of command line.Merge commit '535c59a6a9214436f5d6643775d29808e4b3408d'(cherry picked from commit a6f0e10b24b6011dd5f71c99848ddeef264d9ac9)
show more ...
Update to bmake-20220204(cherry picked from commit 6598559fdf0c6342b6c30229430c739c42dc9941)
After-import bmake-20211212(cherry picked from commit 1c04cf7d5415a404722bfa182013efa028280736)
Update to bmake-20210621MFC after: 1 week(cherry picked from commit 68c4481aac28f5a088553b9c31579f6fbc8500fd)
Fix 'make bmake' top-level bootstrapping.Fixes: ee10666327b62(cherry picked from commit eb8bf6bb4204c302e2329b68c8a930be5d44bc9c)
bsd.links.mk wants full pathsThe values in LINKS need to be full paths.(cherry picked from commit 85d6747a694a6da2619e9f627d005a0aee87dd34)
Links for bmake and bmake.1Some folk forget that make is bmake, and want the links...MFC after: 1 week(cherry picked from commit ee10666327b622c2f20a4ac17e7a5673b04e7c9a)
Merge bmake-20210206Changes 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
Merge bmake-20210206Changes 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(cherry picked from commit dba7b0ef928af88caa38728a73657b837aeeac93)Approved by: re
Merge bmake-20210110Quite a lot of churn on style, but lots ofgood work refactoring complicated functionsand lots more unit-tests.Thanks mostly to rillig at NetBSDSome interesting entries from
Merge bmake-20210110Quite a lot of churn on style, but lots ofgood work refactoring complicated functionsand lots more unit-tests.Thanks mostly to rillig at NetBSDSome interesting entries from ChangeLogo .MAKE.{UID,GID} represent uid and gid running make.o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory.o add more unit tests for META MODEMerge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into mainChange-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c
Merge bmake-20201117o 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 ref
Merge bmake-20201117o 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 testsMFC after: 1 week
Update to bmake-20201101Lots of new unit-tests increase code coverage.Lots of refactoring, cleanup and simlpification to reducecode size.Fixes for Bug 223564 and 245807Updates to dirdeps.mk
Update to bmake-20201101Lots of new unit-tests increase code coverage.Lots of refactoring, cleanup and simlpification to reducecode size.Fixes for Bug 223564 and 245807Updates to dirdeps.mk and meta2deps.py
Only set WARNS if not definedThis would allow interested parties to do experimental runs with anenvironment set appropriately to raise all the warnings throughout thebuild; e.g. env WARNS=6 NO_WE
Only set WARNS if not definedThis would allow interested parties to do experimental runs with anenvironment set appropriately to raise all the warnings throughout thebuild; e.g. env WARNS=6 NO_WERROR=yes buildworld.Not currently touching the numerous instances in ^/tools.MFC after: 1 week
Update to bmake-20200902Lots of code refactoring, simplification and cleanup.Lots of new unit-tests providing much higher code coverage.All courtesy of rillig at netbsd.Other significant change
Update to bmake-20200902Lots of code refactoring, simplification and cleanup.Lots of new unit-tests providing much higher code coverage.All courtesy of rillig at netbsd.Other significant changes:o new read-only variable .SHELL which provides the path of the shell used to run scripts (as defined by the .SHELL target).o variable parsing detects more errors.o new debug option -dl: LINT mode, does the equivalent of := for all variable assignments so that file and line number are reported for variable parse errors.
Oops missed Makefile.config
Update to bmake-20200710Key changes include reduced noise at end of failed build logand avoid evaluation of unnecessary terms in conditionals.In META MODE; a target flagged .META is out-of-date i
Update to bmake-20200710Key changes include reduced noise at end of failed build logand avoid evaluation of unnecessary terms in conditionals.In META MODE; a target flagged .META is out-of-date if meta fileis missingMFC after: 1 week
Revert r363031
Update to bmake-20200704Key changes include reduced noise at end of failed build logand avoid evaluation of unnecessary terms in conditionals.MFC after: 1 week
Merge bmake-20200606Relevant items from ChangeLog: o dir.c: cached_stats - don't confuse stat and lstat results. o var.c: add :Or for reverse sort.
Merge bmake-20200517Changes since 20181221 are mostly portability relatedhence the large gap in versions imported.There are however some bug fixes, and a rework of filemon handling.In NetBSD ma
Merge bmake-20200517Changes since 20181221 are mostly portability relatedhence 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 fktraceand 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.callows 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 assertplus more unit-tests
Merge bmake-20181221
Update bmake to version 20180919Cleanup of stats cacheand new :q modifier.
Don't override LDFLAGS set in bsd.cpu.mk.This is a direct commit to a generated file. Simon plans to fix thisupstream before the next import.PR: 231557Approved by: re (gjb)Obtained from: Che
Don't override LDFLAGS set in bsd.cpu.mk.This is a direct commit to a generated file. Simon plans to fix thisupstream before the next import.PR: 231557Approved by: re (gjb)Obtained from: CheriBSDSponsored by: DARPA, AFRL
Merge bmake-20180512Skip polling job token pipe,better handle sysV style includes with variables.
Update to bmake-201802222Fixes segfault in Var_Set if val is NULLDon't treat .info as warning with -W
Update to bmake-20171028Ignore empty MAKEOBJDIR[PREFIX]Reported by: bdrewery
123