aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/mk
Commit message (Collapse)AuthorAgeFilesLines
* Update to bmake-20251111Simon J. Gerraty2025-12-0360-581/+340
| | | | Merge commit '638c66de4a0faa4c2e815e81cd4021c2387c7e0f'
* Merge bmake-20250804Simon J. Gerraty2025-08-054-9/+54
| | | | | | Fixes bug in meta mode output capture. Merge commit '787302bde4d89279180303b753eb73b9bc6820b9'
* Merge bmake-20250707Simon J. Gerraty2025-07-192-4/+8
| | | | Merge commit '3d772e596c1acf76f555c1f51fd8d834e56b0c35'
* Merge bmake-20250618Simon J. Gerraty2025-06-2816-99/+236
|
* Merge bmake-20250414Simon J. Gerraty2025-04-196-14/+57
| | | | Merge commit '284d1f7d496806b18558ab55e4654fd5e96d6a3e'
* Merge bmake-20250308Simon J. Gerraty2025-03-196-19/+62
|
* Merge bmake-20250125Simon J. Gerraty2025-01-3022-84/+661
| | | | Merge commit '5ad769f660f3d00853bc739f82d9bc62f6a682cb'
* Merge bmake-20240711Simon J. Gerraty2024-07-201-0/+0
| | | | Merge commit '84691af93185c692058ba55fa81a04103f5bf71b'
* Merge bmake-20240625Simon J. Gerraty2024-06-293-14/+49
| | | | Merge commit 'dbb5be7f07456d02ce444484c683b130439acb45'
* Merge bmake-20240508Simon J. Gerraty2024-05-143-4/+14
| | | | Merge commit '3c2ab5fddc576e58f3ffa70dc5fa95144646a513'
* Merge bmake-20240430Simon J. Gerraty2024-05-0311-29/+94
| | | | Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'
* Merge bmake-20240309Simon J. Gerraty2024-03-1464-416/+801
| | | | Merge commit '368b06ce6b0135d6de13f7265f6dcbaeb791b3bb'
* Update to bmake-20240108Simon J. Gerraty2024-01-1415-62/+178
|
* Merge bmake-20230909Simon J. Gerraty2023-09-1812-40/+349
| | | | Merge commit '1012cf15f75d1e9048779abd07270a37cdba590a'
* Merge bmake-20230622Simon J. Gerraty2023-06-277-57/+159
| | | | Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'
* sys.dirdeps.mk use ?= for OBJTOPSimon J. Gerraty2023-05-131-1/+1
| | | | This broke bmake's after-import step.
* Merge bmake-20230510Simon J. Gerraty2023-05-1313-108/+754
| | | | Merge commit '945078deae448e0a13c34b3393d836087719fb16'
* Merge bmake-20230414Simon J. Gerraty2023-04-2414-53/+346
| | | | Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'
* Merge bmake-20230208Simon J. Gerraty2023-02-104-6/+26
| | | | Merge commit 'f4d51098686d961fc03dc5aa327619d0af3c9dcd'
* Merge/update to bmake-20230126Simon J. Gerraty2023-01-2814-48/+139
|
* Update to bmake-20220724Simon J. Gerraty2022-07-266-14/+88
| | | | Merge commit '308a28d6cd2e87028e535eabccb89a9dc2fd9515'
* Merge bmake-20220330Simon J. Gerraty2022-04-0317-24/+165
| | | | Merge commit 'a052cb432096794be5070dc68a2b302eaf5a4783'
* cc-wrap.mk: fix typo in modifiersSimon J. Gerraty2022-02-161-1/+1
|
* Merge bmake-20220208Simon J. Gerraty2022-02-094-6/+36
| | | | | | | | | | * 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'
* Merge bmake-20220204Simon J. Gerraty2022-02-0511-94/+311
|
* Merge bmake-20211212Simon J. Gerraty2021-12-1831-161/+379
| | | | commit '2935fe8237c83c1dcb113dd5335733263e68e6fd'
* Merge commit 'ee914ef902ae018bd4f67192832120f9bf05651f' into new_mergeSimon J. Gerraty2021-06-257-45/+143
|
* Merge bmake-20210206Simon J. Gerraty2021-02-114-8/+22
| | | | | | | | | | | 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
* Merge bmake-20210110Simon J. Gerraty2021-01-1410-42/+71
| | | | | | | | | | | | | | | | | | | | | Quite a lot of churn on style, but lots of good work refactoring complicated functions and lots more unit-tests. Thanks mostly to rillig at NetBSD Some interesting entries from ChangeLog o .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 MODE Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c
* Merge bmake-20201117Simon J. Gerraty2020-11-204-6/+14
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=367863
* Update to bmake-20201101Simon J. Gerraty2020-11-077-18/+78
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=367465
* Update to bmake-20200902Simon J. Gerraty2020-09-0566-529/+942
| | | | | | | | | | | | | | | | | | | | Lots 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. Notes: svn path=/head/; revision=365366
* Update to bmake-20200710Simon J. Gerraty2020-07-1218-693/+732
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=363117
* Revert r363031Simon J. Gerraty2020-07-0916-702/+677
| | | | Notes: svn path=/head/; revision=363035
* Update to bmake-20200704Simon J. Gerraty2020-07-0816-677/+702
| | | | | | | | | | Key changes include reduced noise at end of failed build log and avoid evaluation of unnecessary terms in conditionals. MFC after: 1 week Notes: svn path=/head/; revision=363031
* Merge bmake-20200606Simon J. Gerraty2020-06-095-13/+62
| | | | | | | | | | Relevant items from ChangeLog: o dir.c: cached_stats - don't confuse stat and lstat results. o var.c: add :Or for reverse sort. Notes: svn path=/head/; revision=361986
* Merge bmake-20200517Simon J. Gerraty2020-05-2030-137/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=361307
* retire the LLVM_LIBUNWIND optionEd Maste2020-02-291-1/+0
| | | | | | | | | | | | LLVM's libunwind is used on all FreeBSD-supported CPU architectures and is a required component. Reviewed by: brooks (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23123 Notes: svn path=/head/; revision=358460
* retire BSD_CRTBEGIN optionEd Maste2020-01-311-1/+0
| | | | | | | | | | | | | | | | BSD crt is currently used on all architectures (other than sparc64). Remove the option and use BSD crt everywhere as part of the GCC 4.2.1 retirement plan. https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html PR: 239851 Reviewed by: andrew, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23122 Notes: svn path=/head/; revision=357338
* Merge bmake-20181221Simon J. Gerraty2018-12-231-2/+24
| | | | Notes: svn path=/head/; revision=342376
* Update bmake to version 20180919Simon J. Gerraty2018-12-067-23/+70
| | | | | | | | Cleanup of stats cache and new :q modifier. Notes: svn path=/head/; revision=341652
* Merge bmake-20180512Simon J. Gerraty2018-05-1910-73/+212
| | | | | | | | Skip polling job token pipe, better handle sysV style includes with variables. Notes: svn path=/head/; revision=333820
* Update to bmake-201802222Simon J. Gerraty2018-03-0213-29/+206
| | | | | | | | Fixes segfault in Var_Set if val is NULL Don't treat .info as warning with -W Notes: svn path=/head/; revision=330260
* Update to bmake-20171028Simon J. Gerraty2017-11-0210-23/+48
| | | | | | | | | Ignore empty MAKEOBJDIR[PREFIX] Reported by: bdrewery Notes: svn path=/head/; revision=325340
* Import bmake-20170711Simon J. Gerraty2017-07-158-63/+126
| | | | Notes: svn path=/head/; revision=321036
* Merge bmake-20170510Simon J. Gerraty2017-05-1025-96/+367
| | | | | | | No-op change other than version update. Notes: svn path=/head/; revision=318163
* Merge bmake-20170420Simon J. Gerraty2017-04-213-3/+14
| | | | Notes: svn path=/head/; revision=317239
* Update to bmake 20170413Simon J. Gerraty2017-04-157-22/+55
| | | | Notes: svn path=/head/; revision=316949
* Merge bmake-20170301Simon J. Gerraty2017-03-0610-39/+128
| | | | Notes: svn path=/head/; revision=314808
* Merge bmake-20161212Simon J. Gerraty2016-12-1913-203/+374
| | | | Notes: svn path=/head/; revision=310304