| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Merge commit 'fe271bdb43cf88ee129d94c0e286fe618fd28e89'
|
| |
|
|
|
|
| |
Fixes bug in meta mode output capture.
Merge commit '787302bde4d89279180303b753eb73b9bc6820b9'
|
| |
|
|
|
| |
Reviewed by: ivy
Differential Revision: https://reviews.freebsd.org/D51530
|
| | |
|
| | |
|
| |
|
|
| |
Merge commit '5ad769f660f3d00853bc739f82d9bc62f6a682cb'
|
| |
|
|
| |
Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'
|
| | |
|
| |
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| |
|
|
| |
Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'
|
| |
|
|
| |
Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'
|
| |
|
|
| |
Merge commit 'f4d51098686d961fc03dc5aa327619d0af3c9dcd'
|
| | |
|
| |
|
|
| |
Merge commit '31a96ca5f0b6e5f8f7fa8cecf3a5c4354b3b096f'
|
| |
|
|
|
|
|
|
|
|
| |
Given the way bmake/unit-tests is visited, when doing 'test'
MK_AUTO_OBJ=yes will not be effective.
So create the objdir before running the sub-make.
Also ensure MAKEOBJDIR is passed to opt-m-include-dir
Reviewed by: deo
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Ignore empty MAKEOBJDIR[PREFIX]
Reported by: bdrewery
Notes:
svn path=/head/; revision=325340
|
| |
|
|
|
|
|
| |
Includes fix for compat handling of interrupts.
Notes:
svn path=/head/; revision=321410
|
| |
|
|
| |
Notes:
svn path=/head/; revision=321036
|
| |
|
|
|
|
|
| |
No-op change other than version update.
Notes:
svn path=/head/; revision=318163
|
| |
|
|
| |
Notes:
svn path=/head/; revision=317239
|
| |
|
|
| |
Notes:
svn path=/head/; revision=316949
|
| |
|
|
| |
Notes:
svn path=/head/; revision=314808
|
| |
|
|
| |
Notes:
svn path=/head/; revision=310304
|
| |
|
|
|
|
|
|
| |
This version has some new knobs for dealing with troublesome targets
in meta mode.
Notes:
svn path=/head/; revision=305633
|
| |
|
|
|
|
|
| |
o dir.c: extend mtimes cache to others via cached_stat()
Notes:
svn path=/head/; revision=301665
|
| |
|
|
|
|
|
| |
Performace improvements for meta mode.
Notes:
svn path=/head/; revision=301462
|
| |
|
|
| |
Notes:
svn path=/head/; revision=300313
|
| |
|
|
|
|
|
|
|
|
|
| |
Archive member handling works again
meta mode, treat missing reads as for writes.
Update dirdeps.mk - much improved startup time.
Update meta.stage.mk - avoid ln when chmod required.
Notes:
svn path=/head/; revision=297040
|
| |
|
|
|
|
|
|
|
|
| |
This may be used in later checks, such as in bsd.dep.mk, to
enable features that rely on the built-in value.
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=296644
|
| |
|
|
| |
Notes:
svn path=/head/; revision=296637
|
| |
|
|
|
|
|
| |
Fixed clearing suffixes impact on null suffix
Notes:
svn path=/head/; revision=292733
|
| |
|
|
| |
Notes:
svn path=/head/; revision=291978
|
| |
|
|
| |
Notes:
svn path=/head/; revision=289842
|
| |
|
|
|
|
|
|
| |
Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.
Notes:
svn path=/head/; revision=284254
|
| |
|
|
| |
Notes:
svn path=/head/; revision=282740
|
| |
|
|
|
|
|
| |
PR: 199486
Notes:
svn path=/head/; revision=281812
|
| |
|
|
|
|
|
|
|
| |
Main change is detection of malformed variable references.
Reviewed by: obrien
Notes:
svn path=/head/; revision=268437
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
problem with broken in-tree builds (which are used far more
pervasively than I'd known outside the tree). However, weird results
may now happen if at any point in the tree above you there happens to
be a directory that has subdirectory of share/mk, as unpredictable
results will follow. This was considered the lessor of the two evils,
at least for now. In the future this will be removed again when the
underlying issues are resolved.
Notes:
svn path=/head/; revision=266566
|
| |
|
|
|
|
|
|
| |
location, including updating the test to work in the more-fragile
fmake -> bmake bootstrap environment.
Notes:
svn path=/head/; revision=266104
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This first step is mostly to prevent the code from rotting even further
and to ensure these do not get wiped when fmake's code is removed from
the tree.
These tests are currently being skipped because they detect the underlying
make is not fmake and thus disable themselves -- and the reason is that
some of the tests fail, possibly due to legitimate bugs. Enabling them to
run against bmake will come separately.
Lastly, it would be ideal if these tests were fed upstream but they are
not ready for that yet. In the interim, just put them under usr.bin/bmake/
while we sort things out. The existence of a different unit-tests directory
within here makes me feel less guilty about this.
Change confirmed working with a clean amd64 build.
Notes:
svn path=/head/; revision=266074
|
| |
|
|
| |
Notes:
svn path=/head/; revision=261212
|
| |
|
|
|
|
|
|
| |
Reviewed by: obrien
Approved by: re
Notes:
svn path=/head/; revision=255463
|
| |
|
|
| |
Notes:
svn path=/head/; revision=255253
|
| |
|
|
|
|
|
|
| |
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.
Notes:
svn path=/head/; revision=254194
|