456 Commits

Author SHA1 Message Date
eff9a10d0c v1.18.0 v1.18.0 2019-10-10 16:29:21 -04:00
6ad3fb0785 bundle update 2019-10-10 15:45:00 -04:00
32e8a55b4e CHANGELOG - add v1.18.0 notes 2019-10-04 15:03:50 -04:00
3733cb6114 Backport 2.x VarSet performance improvements to 1.x branch. 2019-10-04 15:01:32 -04:00
5beddd63ac bundle update 2019-07-02 19:46:30 -04:00
4967f89a76 fix inconsistent type handling in VarSet#expand_varref - #73 2019-04-14 14:10:13 -04:00
7cc68b2ce1 Remove Cache dirty-tracking
It really wasn't necessary since Cache#write is not called often.
2019-04-04 15:20:35 -04:00
be058dd18b avoid mkdir() race conditions - close #75 2018-12-11 22:13:33 -05:00
ad703a5c84 call Bundler.setup in build_tests_spec.rb 2018-12-09 21:20:16 -05:00
John Lindgren
fb5d107581 Reduce recursion of VarSet#expand_varref by expanding vars earlier.
It's common for a build command to contain a reference like:

    ${INCPREFIX}${CPPPATH}

Where ${INCPREFIX} is "-I" and ${CPPPATH} is an array of include
paths.  Without this change, Rscons expands ${INCPREFIX} (and then
tries to expand "-I") repeatedly, once for each path.

This change simply makes Rscons intelligent enough to expand
${INCPREFIX} only once, then join the expanded value to each path.

In a mid-sized rake project, ruby-prof shows that the number of
calls to expand_varref is reduced from ~80,000 to ~30,000., and the
total CPU time spent in expand_varref is reduced by about 30%.

In a larger project, the improvement in real build time is small
but consistent enough to be measurable (~0.5 seconds off a total
of ~20 seconds).
2018-12-07 20:06:18 -05:00
d5c1a4b41a v1.17.0 v1.17.0 2018-11-02 17:01:52 -04:00
3f63bf5d13 update CHANGELOG.md for v1.17.0 2018-11-02 17:01:21 -04:00
ce47bd3599 remove makefile target name check when parsing dependencies - close #57 2018-11-02 14:23:47 -04:00
michael.metivier
68cab5e24d Environment.expand_varref has the same allowed parameter types and returns as Varset.expand_varref 2018-11-02 08:52:23 -04:00
michael.metivier
f92dd62ebd Allow construction variable expansion on _true_ and _false_ literals 2018-11-02 00:03:54 -04:00
5cf77f1f58 v1.16.0 v1.16.0 2018-08-24 09:24:03 -04:00
b4cc45c381 update documentation 2018-08-24 09:17:23 -04:00
750506201f add github URL to README.md 2018-08-23 15:37:18 -04:00
284312a21c support command-line variables - close #51 2018-08-23 14:58:08 -04:00
d081a4695f add shebang line to bin/rscons 2018-08-23 11:30:18 -04:00
c7f66694ab add Rscons.glob - close #50 2018-08-23 11:26:20 -04:00
57de94a3fb improve debuggability of cache.up_to_date? - close #46 2018-08-23 10:10:05 -04:00
53ba7dad41 allow passing a VarSet into cache methods - close #47 2018-08-22 16:32:05 -04:00
8cb02a7e34 generate dependencies for D builds - close #49 2018-08-22 15:23:48 -04:00
dbbce9e476 update a few dependencies 2018-05-24 15:32:39 -04:00
0dc3a90660 v1.15.0 v1.15.0 2017-09-08 15:13:04 -04:00
d48c7587d6 add v1.15.0 release notes 2017-09-08 15:06:55 -04:00
70d4740a69 split CHANGELOG.md out of README.md 2017-09-08 15:06:23 -04:00
aaae845d60 allow json 1.x or 2.x 2017-09-08 15:04:40 -04:00
e900e74342 v1.14.0 v1.14.0 2017-08-03 15:55:54 -04:00
62ae3f162d add v1.14.0 release notes 2017-08-03 15:55:38 -04:00
099d26f33c Add Rscons::VarSet#values_at - close #45 2017-08-03 15:54:24 -04:00
89562c584a Environment#print_builder_run_message should support string commands - close #44 2017-08-03 14:10:53 -04:00
a9aeaf2356 v1.13.0 v1.13.0 2017-07-14 16:24:27 -04:00
5409b3cb34 add v1.13.0 release notes 2017-07-14 16:24:04 -04:00
6d04500c13 Add ability to record side-effect file production - close #43 2017-07-14 16:17:01 -04:00
45e30662d2 add YARD comment for Rscons::Ansi to get to 100% coverage 2017-07-12 15:51:00 -04:00
8f7e044bfd fix YARD @option tag 2017-07-12 15:50:13 -04:00
dbea6f0a26 v1.12.0 v1.12.0 2017-07-11 16:16:01 -04:00
c923eb5c7c add v1.12.0 release notes 2017-07-11 16:14:49 -04:00
529d9aacaa colorize a couple other builders' output messages 2017-07-11 16:12:38 -04:00
65c1bac4f9 be more colorful - close #41 2017-07-11 13:52:01 -04:00
775363ddbd cloned Environments should inherit n_threads - close #42 2017-07-11 10:29:25 -04:00
2a96495e83 wait for in-progress subcommands to complete on build failure - close #39 2017-06-26 22:44:49 -04:00
15e52e488c env.depends should imply env.build_after - close #40 2017-06-21 10:44:52 -04:00
c0b12132f0 1.11.1 release notes 2017-06-14 09:58:09 -04:00
9141cf91e7 v1.11.1 v1.11.1 2017-06-14 09:57:11 -04:00
7f7e6ef3da fix circular build dependency detection logic 2017-06-14 09:56:51 -04:00
60b3fdbcac update YARD documentation link 2017-06-14 09:12:13 -04:00
5263ea03c6 v1.11.0 v1.11.0 2017-06-14 08:56:21 -04:00