55 Commits

Author SHA1 Message Date
ef7e9259cb Add shortcut method for creating environments - close #149
Add env() method to create environments.
Process all environments created at build script top level before
executing any autoconf-enabled tasks, or if no tasks are specified by
the user.
2022-02-12 21:59:52 -05:00
bd9cf55b85 Add tasks - close #139 2022-01-30 13:45:06 -05:00
610b8f1266 Add Size builder - close #143 2022-01-17 12:50:38 -05:00
f011b23499 Add PATH manipulation methods - close #126 2021-11-17 21:39:58 -05:00
7c8becc3f9 env.depends() does not work with build-root-relative "^/" paths - close #121 2021-10-22 16:03:10 -04:00
0344f02cb1 build tests: use -m instead of -lc for mingw 2019-08-27 19:32:36 -04:00
b02a7573b9 speed up handling of registered side-effect files - #92 2019-05-08 22:15:44 -04:00
921f0d2cb1 expose glob method directly to Rsconscript - close #97 2019-04-14 12:51:37 -04:00
9bf4b8fa96 add barriers - close #53 2019-04-09 22:29:22 -04:00
008fa4844d allow passing Builder objects as sources to build targets - close #95 2019-04-09 20:35:46 -04:00
983862a528 update builder messages - close #77 2019-02-18 22:30:11 -05:00
658b73e4de add build test for a builder waiting on another builder 2019-02-17 22:20:51 -05:00
b882f8de99 Rework builder interface to only use #run method - close #91
The builder's #run method will be called repeatedly until it returns
true or false. The Builder#wait_for method can be used to cause a
builder to wait for a Thread, Command, or another Builder.
2019-02-17 22:08:39 -05:00
935848c3b5 remove some builder-tracked fields from the build_operation Hash 2019-02-16 18:21:19 -05:00
33504f586b pass Builder object to build hooks instead of build_operation Hash 2019-02-13 21:13:13 -05:00
86594c62b6 begin transitioning builders to using instance variables instead of #run options Hash fields 2019-02-11 22:53:41 -05:00
f2cfc25604 Remove Environment#run_builder :allow_delayed_execution option - #84 2019-02-10 22:13:37 -05:00
7992450383 Drop support for 5-argument form of Builder#run - #84 2019-02-10 21:47:34 -05:00
3f8b4d616f Remove BuildTarget, Builder#create_build_target, and Builder#setup - close #90 2019-02-10 18:24:49 -05:00
aac32d20b0 create Builder instance for each build operation - close #88 2019-02-10 17:27:40 -05:00
12f1909d35 remove a few deprecated methods - #84 2019-01-04 13:55:00 -05:00
a98c111cd2 implement distclean operation - close #81 2018-12-17 22:47:00 -05:00
93ffed2eb2 Use "Environment" instead of "Rscons::Environment" in build tests 2018-12-17 22:14:35 -05:00
f8e6666a2c Add 'build' DSL method.
Disallow processing Environments until configuration is performed.
2018-12-17 22:14:35 -05:00
7a90325b67 set Environment build root automatically - close #64 2018-11-25 16:58:19 -05:00
1eb07e9a22 use Rsconscript instead of Rsconsfile - close #62 2018-11-25 15:42:53 -05:00
053df2360f add Rscons.vars back again at least for now 2018-10-30 17:36:30 -04:00
8d766e4804 specs: fix cache_varset.rb builder message 2018-10-30 17:36:30 -04:00
284312a21c support command-line variables - close #51 2018-08-23 14:58:08 -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
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
6dd70ff65e raise error when circular dependencies are found - close #38 2017-06-13 19:37:41 -04:00
db2ec82a25 Add more integration tests for SharedLibrary and backwards compatibility 2017-06-07 13:02:51 -04:00
c7e4e1ad9b Always use a build root and default it to "build" 2017-05-30 11:06:32 -04:00
43df46018c Support redirecting standard output using the Command builder - close #28 2017-05-29 12:50:34 -04:00
8cbb9fa30e Place object files for absolute source paths under build_root - close #30 2017-05-29 12:16:46 -04:00
1880e6650e fix PROGSUFFIX handling - close #29 2017-05-29 11:40:01 -04:00
68468b6422 fully parallelize the Command builder 2017-05-25 16:03:05 -04:00
83226e894d add backwards-compatibility test for Builder#standard_build 2017-05-24 16:16:53 -04:00
221cde7e5f update run_builder, build_sources integration tests for more coverage 2017-05-23 16:45:21 -04:00
adcee373df add integration test for Environment#build_sources 2017-05-23 16:28:13 -04:00
e58b8bd109 add integration test for Environment#run_builder 2017-05-23 16:25:03 -04:00
0d46d616dd change user dependency test to use BuildTarget#depends 2017-05-23 16:09:29 -04:00
599d10b50f add integration test for overriding PROGSUFFIX 2017-05-23 15:32:55 -04:00
2ffdf82d9a add multi-threading build test 2017-05-23 14:24:14 -04:00
7e707e7e3b convert Object builder specs to integration tests 2017-05-22 16:38:57 -04:00