2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00
Commit Graph

137 Commits

Author SHA1 Message Date
K. Noel Belcourt
3cf875e93b Revert commit 76862, restore FreeBSD and other
unix testers that I broke with this commit.



[SVN r78800]
2012-06-02 18:26:35 +00:00
Jurko Gospodnetić
a08319aa92 Updated the SPLIT_BY_CHARACTERS builtin rule signature so invalid calls get rejected with a correct error message instead of silently causing the rule to return an empty list.
[SVN r78608]
2012-05-25 10:16:36 +00:00
Jurko Gospodnetić
a02dcab69a Minor stylistic change - trimmed trailing whitespace.
[SVN r78576]
2012-05-24 09:56:23 +00:00
Jurko Gospodnetić
5effe42b98 Fixed Boost Jam crash when the SPLIT_BY_CHARACTERS rule gets passed an empty list as any of its arguments.
[SVN r78575]
2012-05-24 09:53:24 +00:00
Jurko Gospodnetić
357641decc Explicitly flushed bjam's standard output after printing out '...patience...' lines. Without a fflush() call these lines may get buffered and displayed all at once only after the first actual target has been built. It seems that Visual C++ compiler's runtime does not use line buffering for its standard output stream if given a pipe as its standard output (encountered with bjam compiled using msvc 10 and run by piping its output through the Cygwin tee utility).
[SVN r78545]
2012-05-22 21:06:47 +00:00
Steven Watanabe
f0e48e6cc5 Avoid a spurious dependency.
[SVN r78302]
2012-05-02 06:55:44 +00:00
Steven Watanabe
249e005589 Replace ad hoc (incorrect) cycle detection code with a variation of Tarjan's algorithm.
[SVN r78287]
2012-05-01 06:45:35 +00:00
Steven Watanabe
9572adeada Avoid a self-cycle in scc_root.
[SVN r78283]
2012-04-30 18:21:47 +00:00
Steven Watanabe
2020417354 Fix an infinite loop caused by creating a cycle in the strongly connected component links.
[SVN r78282]
2012-04-30 18:11:35 +00:00
Steven Watanabe
48e636feed Don't assume that make1a processes targets in the same order as make0. It doesn't. Start a new stack when rescanning to avoid spurious cycles which cause a seg-fault.
[SVN r78281]
2012-04-30 16:49:42 +00:00
Steven Watanabe
49c19f649f Handle cycles when determining target fate in make0.
[SVN r78259]
2012-04-30 01:21:04 +00:00
Steven Watanabe
fbc3382f18 Pass the correct argument to make1breakcycle and make sure that we don't add a spurious self-dependency.
[SVN r78252]
2012-04-29 04:27:55 +00:00
Steven Watanabe
71d542c0f9 Stop targets that depend on an include cycle from updating before all the required generated headers are built.
[SVN r78250]
2012-04-29 01:06:55 +00:00
Steven Watanabe
0090f72efa Detect cycles created by rescanning.
[SVN r78249]
2012-04-28 22:05:28 +00:00
Steven Watanabe
26d2ae3aa3 Use a regular dependency instead of an include dependency for generated headers to allow correct rescanning of generated headers.
[SVN r78247]
2012-04-28 19:23:47 +00:00
Steven Watanabe
b15a1d6f8d Don't rescan targets when their internal include node is updated.
[SVN r78246]
2012-04-28 18:19:12 +00:00
Steven Watanabe
530cc72343 make sure that we don't call make0 twice on the original include node.
[SVN r78244]
2012-04-28 17:39:06 +00:00
Steven Watanabe
34af818d6d Be sure to use object_equal.
[SVN r77727]
2012-04-02 22:27:28 +00:00
Steven Watanabe
9c2d81a6ab Fix cleanup in hcache_init.
[SVN r77726]
2012-04-02 22:24:14 +00:00
Steven Watanabe
9d2733c1f6 Fix memory errors with BJAM_NO_MEM_CACHE.
[SVN r77725]
2012-04-02 22:00:32 +00:00
Steven Watanabe
4a9683e49d Combine -d+10 stats for INSTANCE modules by class. Make stats correct for a separate chaining hash table. The old version seems to have been for open addressing.
[SVN r77657]
2012-03-30 21:34:39 +00:00
Steven Watanabe
c9c8deaad8 Remove unused variable.
[SVN r77654]
2012-03-30 19:12:25 +00:00
Steven Watanabe
2b8b06a2b1 Remove unused variable.
[SVN r77647]
2012-03-30 14:05:22 +00:00
Steven Watanabe
de5a4a6e5e Fix seg-fault.
[SVN r77645]
2012-03-30 13:49:00 +00:00
Steven Watanabe
01a2598c29 Workoround for xlc. Patch by Hubert Tong.
[SVN r77638]
2012-03-30 01:21:13 +00:00
Steven Watanabe
5417bb462d Make list_new take one argument. Rename the two argument form to list_push_back.
[SVN r77522]
2012-03-24 23:03:10 +00:00
Steven Watanabe
97df984d07 Remove argument_list. It's unused.
[SVN r77521]
2012-03-24 22:15:42 +00:00
Steven Watanabe
1cc76f4e7f Make sure that the arguments of built-in rules are actually checked.
[SVN r77519]
2012-03-24 21:49:12 +00:00
Steven Watanabe
be740e73bf Merge Python function support into function.c
[SVN r77518]
2012-03-24 21:07:49 +00:00
Steven Watanabe
6caa81ba70 Start cleaning up the arg_list hacks. Make the argument list part of the function instead of part of the rule. Don't var expand formal arguments.
[SVN r77515]
2012-03-24 18:53:21 +00:00
Steven Watanabe
5db61d10b3 Change make to take a LIST *. There's no good reason to create a separate array.
[SVN r77511]
2012-03-23 22:55:50 +00:00
Steven Watanabe
0ffcfface3 Remove the first argument of list_copy, since it's always L0.
[SVN r77510]
2012-03-23 22:30:33 +00:00
Steven Watanabe
29bad8e9cd Fix memory leak
[SVN r77503]
2012-03-23 17:12:46 +00:00
Steven Watanabe
8ee142c8c7 Fix memory leak.
[SVN r77502]
2012-03-23 16:52:48 +00:00
Steven Watanabe
b5fe2210e5 Fix annoying gcc warning.
[SVN r77501]
2012-03-23 16:40:04 +00:00
Steven Watanabe
c52ec0fe95 Optimize variable lookup to bypass hash for constant variable names.
[SVN r77491]
2012-03-22 23:26:48 +00:00
Steven Watanabe
26703a88ab Use dynamic arrays instead of linked lists. Reduces memory use about 10% overall.
[SVN r77408]
2012-03-19 18:17:36 +00:00
K. Noel Belcourt
4c5dec8fcc Eliminate uninitialized memory problem with sigemptyset.
[SVN r77220]
2012-03-04 17:23:44 +00:00
K. Noel Belcourt
9293a6004c Use c, not c++, comments.
[SVN r77198]
2012-03-04 05:59:29 +00:00
K. Noel Belcourt
8e1c311910 Undo previous bad commit.
[SVN r77197]
2012-03-04 05:58:05 +00:00
K. Noel Belcourt
413a6420ed Use sigemptyset to initialize sa_mask instead of zero.
[SVN r77193]
2012-03-03 22:49:23 +00:00
K. Noel Belcourt
66d6341a68 Initialize variable in sigset_t. Thanks Steve
for pointing this out.



[SVN r77192]
2012-03-03 22:31:51 +00:00
Steven Watanabe
ceacd17a2c Fix alias violations in hash.
[SVN r77190]
2012-03-03 21:46:53 +00:00
Steven Watanabe
b9cf446bfb Downgrade strict syntax checks to a warning for backwards compatibility.
[SVN r77093]
2012-02-22 21:06:16 +00:00
K. Noel Belcourt
e0bd6ddfc9 Protect unix specific structures.
[SVN r77012]
2012-02-14 02:17:51 +00:00
K. Noel Belcourt
0fe5fe4d51 Revert 77005, biffed the revert of 76862.
[SVN r77009]
2012-02-13 20:08:20 +00:00
K. Noel Belcourt
8b685581ea Revert commit 76862. This causes problems for a
tester that we need to track down.



[SVN r77005]
2012-02-13 16:36:00 +00:00
K. Noel Belcourt
baf008bcbe Handle message truncation, zombies, sigchld handling.
Changes to get verbose compiler output down to a manageable
size.  Added option, -mN to limit output to N kb.  Default
is to capture all compiler generated output.  Added this
option to ignore massive compiler diagnostic outout 
associated with some compilers.  With this change, I can
increase the nightly timeout to longer than 300 seconds to
give some slower compilers a change to finish compiling.



[SVN r76862]
2012-02-03 23:11:16 +00:00
Vladimir Prus
f9d24b0275 Add support for MSVC 11.
Patch from Mateusz Łoskot. Fixes #6283.


[SVN r76061]
2011-12-19 11:06:57 +00:00
Steven Watanabe
eacae3a056 More correct behavior of -n with FAIL_EXPECTED targets and across multiple calls to UPDATE_NOW.
[SVN r76045]
2011-12-18 16:51:43 +00:00