Simon J. Gerraty
494f719155
Merge bmake-20180512
...
Skip polling job token pipe,
better handle sysV style includes with variables.
2018-05-19 00:26:00 +00:00
Matt Macy
329d20de97
Revert accidentally commited local change to bmake to prevent debilitating
...
excess system time from poor API usage.
Approved by: sbruno@
2018-05-10 17:57:46 +00:00
Matt Macy
06bf2a6aef
Add simple preempt safe epoch API
...
Read locking is over used in the kernel to guarantee liveness. This API makes
it easy to provide livenes guarantees without atomics.
Includes epoch_test kernel module to stress test the API.
Documentation will follow initial use case.
Test case and improvements to preemption handling in response to discussion
with mjg@
Reviewed by: imp@, shurd@
Approved by: sbruno@
2018-05-10 17:55:24 +00:00
Simon J. Gerraty
50d2e745fa
Update to bmake-201802222
...
Fixes segfault in Var_Set if val is NULL
Don't treat .info as warning with -W
2018-03-02 01:53:50 +00:00
Simon J. Gerraty
e22fef7dc1
Update to bmake-20171028
...
Ignore empty MAKEOBJDIR[PREFIX]
Reported by: bdrewery
2017-11-02 20:08:00 +00:00
Simon J. Gerraty
c7019bf79d
Import bmake-20170720
...
Includes fix for compat handling of interrupts.
2017-07-24 04:38:05 +00:00
Simon J. Gerraty
8695518c44
Import bmake-20170711
2017-07-15 21:19:27 +00:00
Simon J. Gerraty
cac6fd1154
Merge bmake-20170510
...
No-op change other than version update.
2017-05-10 22:45:05 +00:00
Simon J. Gerraty
e23f3f6ec0
Ensure buf2 is in scope
2017-05-10 22:24:09 +00:00
Simon J. Gerraty
8b054d3c36
Str_Match: fix closure tests for [^] and add unit-test.
2017-04-21 22:19:13 +00:00
Simon J. Gerraty
e1cee40d8b
Merge bmake-20170420
2017-04-21 00:45:44 +00:00
Simon J. Gerraty
b46b903930
Update to bmake 20170413
2017-04-15 01:44:45 +00:00
Simon J. Gerraty
a3b2e0bc8b
Do not consider using -C arg "as is" for .CURDIR unless it starts with /.
...
Reported by: bdrewery
2017-03-11 20:28:31 +00:00
Simon J. Gerraty
1ce939a7b7
Merge bmake-20170301
2017-03-06 23:02:33 +00:00
Simon J. Gerraty
45447996a0
Merge bmake-20161212
2016-12-19 23:38:07 +00:00
Simon J. Gerraty
95e3ed2cdb
Update to bmake-20170818
...
This version has some new knobs for dealing with troublesome targets
in meta mode.
2016-09-09 01:09:39 +00:00
Bryan Drewery
eb39a64db8
Flush every line when using meta mode and no -j or with -B.
...
Otherwise the output is buffered and it appears that make is stuck on something
long-running. This problem is not present with -j as it uses different
code that was already flushing.
Discussed with: sjg
Approved by: re (blanket, META_MODE)
Sponsored by: EMC / Isilon Storage Division
2016-06-29 22:54:01 +00:00
Simon J. Gerraty
ad7fb14f52
meta_oodate: set needOODATE if oodate due to missing .meta file.
...
Reviewed by: bdrewery
Approved by: re
2016-06-14 23:52:32 +00:00
Simon J. Gerraty
39ac7ef49a
Merge bmake-20160606
...
o dir.c: extend mtimes cache to others via cached_stat()
2016-06-08 17:51:21 +00:00
Simon J. Gerraty
b778b302be
Import bmake-20160604
...
Performace improvements for meta mode.
2016-06-05 20:26:16 +00:00
Simon J. Gerraty
e48f47ddc1
Merge bmake-20160512
2016-05-20 17:35:39 +00:00
Simon J. Gerraty
3bebe7293b
Update to bmake-20160315
...
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.
2016-03-18 20:03:09 +00:00
Simon J. Gerraty
be19d90b61
Merge bmake-20160307
2016-03-11 01:35:39 +00:00
Simon J. Gerraty
6e05054094
Merge bmake-20151220
...
Fixed clearing suffixes impact on null suffix
2015-12-25 16:19:21 +00:00
Simon J. Gerraty
ac3446e962
Merge bmake-20151201
2015-12-08 01:29:07 +00:00
Simon J. Gerraty
fe90c77aae
ParseTrackInput: do not access beyond end of buffer.
...
Reviewed by: dim
2015-11-26 00:26:23 +00:00
Simon J. Gerraty
4c620fe5c4
Merge bmake 20151020
2015-10-23 17:38:01 +00:00
Ed Maste
4ed220cdd7
Update meta2deps example after i386-elf to i386 rename
2015-07-02 14:44:30 +00:00
Simon J. Gerraty
128a410505
Merge bmake-20150606
...
Only change to bmake is man page - document .OBJDIR target.
We also get latest dirdeps.mk and friends.
2015-06-11 04:00:22 +00:00
Simon J. Gerraty
28a6bc8146
Merge bmake-20150505 improve detection of malformed conditionals.
2015-05-10 22:03:59 +00:00
Simon J. Gerraty
db29cad815
Merge bmake-20150418
...
PR: 199486
2015-04-21 04:40:38 +00:00
Simon J. Gerraty
bedf67ae99
Make sure that -- filemon is at start of a line, so that
...
it is found as expected.
2015-03-13 02:54:46 +00:00
Simon J. Gerraty
5bcb74248e
Update to bmake-20140620
...
Main change is detection of malformed variable references.
Reviewed by: obrien
2014-07-08 22:27:50 +00:00
Simon J. Gerraty
4d9f507db9
Portmgr no longer need the UL hack.
...
Reviewed by: obrien
2014-05-27 18:39:13 +00:00
Simon J. Gerraty
0dede8b0ba
Merge bmake-20140101 from vendor
2014-01-27 17:47:21 +00:00
Simon J. Gerraty
bc49bb2062
Don't SEGV when Hash_Table is uninitialized
2013-11-14 00:29:48 +00:00
Simon J. Gerraty
4ec38eb510
Avoid SEGV when passed NULL for list
2013-11-14 00:06:44 +00:00
Simon J. Gerraty
a0774d09d3
Fix Fx syntax.
...
PR: 182269
Approved by: re@
2013-09-27 17:42:23 +00:00
Simon J. Gerraty
2d395cb507
If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token ("E")
...
into the job queue.
This avoids closing down an entire build on failure of one branch.
Probably has no use outside the context of universe/tinderbox.
Reviewed by: obrien
2013-09-06 02:55:51 +00:00
Simon J. Gerraty
1bbe5942b5
Merge bmake-20130904
2013-09-05 15:57:26 +00:00
Simon J. Gerraty
f4ae7f0c45
Pay attention to errCheck!
...
PR: 181715
2013-09-01 18:59:09 +00:00
Simon J. Gerraty
9a4bc556be
Add .MAKE.ALWAYS_PASS_JOB_QUEUE knob (default yes)
...
for backwards compatability.
2013-08-16 18:47:18 +00:00
Simon J. Gerraty
84efbe96f1
ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.
...
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.
2013-08-10 21:31:35 +00:00
Simon J. Gerraty
d191243d90
Move the call to Job_SetPrefix() to Job_Init() so that
...
makefiles have had a chance to set .MAKE.JOB.PREFIX
2013-08-04 07:10:16 +00:00
Simon J. Gerraty
51ee2c1cc6
Merge bmake-20130730
...
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.
2013-08-02 06:25:28 +00:00
Simon J. Gerraty
15441b18e2
Fix use after free bug.
...
Parse_SetInput:
curFile->fname was using the buffer passed to it - which ReadMakefile frees.
This change makes the comment in ParseEOF about leaking curFile->fname true.
2013-06-18 19:35:51 +00:00
Simon J. Gerraty
74d2e02b85
Update to bmake-20130604 to fix file descriptor leak.
2013-06-05 16:12:50 +00:00
Simon J. Gerraty
52d8625616
Sync with upstream version (20130520) that includes same fixes made last week.
2013-05-20 22:51:11 +00:00
Simon J. Gerraty
4fc82fe44c
Fix wildcard srcs for phony targets
2013-05-18 13:24:53 +00:00
Simon J. Gerraty
2c6a3af9ab
Match what is in netbsd.
2013-05-18 13:15:19 +00:00