josh
e900e74342
v1.14.0
2017-08-03 15:55:54 -04:00
josh
62ae3f162d
add v1.14.0 release notes
2017-08-03 15:55:38 -04:00
josh
099d26f33c
Add Rscons::VarSet#values_at - close #45
2017-08-03 15:54:24 -04:00
josh
89562c584a
Environment#print_builder_run_message should support string commands - close #44
2017-08-03 14:10:53 -04:00
josh
a9aeaf2356
v1.13.0
2017-07-14 16:24:27 -04:00
josh
5409b3cb34
add v1.13.0 release notes
2017-07-14 16:24:04 -04:00
josh
6d04500c13
Add ability to record side-effect file production - close #43
2017-07-14 16:17:01 -04:00
josh
45e30662d2
add YARD comment for Rscons::Ansi to get to 100% coverage
2017-07-12 15:51:00 -04:00
josh
8f7e044bfd
fix YARD @option tag
2017-07-12 15:50:13 -04:00
josh
dbea6f0a26
v1.12.0
2017-07-11 16:16:01 -04:00
josh
c923eb5c7c
add v1.12.0 release notes
2017-07-11 16:14:49 -04:00
josh
529d9aacaa
colorize a couple other builders' output messages
2017-07-11 16:12:38 -04:00
josh
65c1bac4f9
be more colorful - close #41
2017-07-11 13:52:01 -04:00
josh
775363ddbd
cloned Environments should inherit n_threads - close #42
2017-07-11 10:29:25 -04:00
josh
2a96495e83
wait for in-progress subcommands to complete on build failure - close #39
2017-06-26 22:44:49 -04:00
josh
15e52e488c
env.depends should imply env.build_after - close #40
2017-06-21 10:44:52 -04:00
josh
c0b12132f0
1.11.1 release notes
2017-06-14 09:58:09 -04:00
josh
9141cf91e7
v1.11.1
2017-06-14 09:57:11 -04:00
josh
7f7e6ef3da
fix circular build dependency detection logic
2017-06-14 09:56:51 -04:00
josh
60b3fdbcac
update YARD documentation link
2017-06-14 09:12:13 -04:00
josh
5263ea03c6
v1.11.0
2017-06-14 08:56:21 -04:00
josh
6c91823ce2
v1.11.0 release notes
2017-06-14 08:54:57 -04:00
josh
8deb1eb6f8
Change default :clone option to :all to clone all Environment attributes
2017-06-14 08:53:28 -04:00
josh
6d6319799a
add v1.10.1 release notes
2017-06-13 19:47:58 -04:00
josh
694642dfbd
Allow overriding n_threads on a per-Environment level - close #34
2017-06-13 19:45:53 -04:00
josh
6dd70ff65e
raise error when circular dependencies are found - close #38
2017-06-13 19:37:41 -04:00
josh
eca01c38df
Fix non-blocking thread-wait if Rscons.n_threads is set to 0 - close #37
2017-06-13 19:07:04 -04:00
josh
4ad6ce1d9c
SHCFLAGS and SHCXXFLAGS should inherit non-SH flags by default - close #36
2017-06-13 18:41:47 -04:00
josh
a49ebc486e
env.build_after should expand paths - close #35
2017-06-13 18:38:47 -04:00
josh
74d19ea235
fix construction variable reference table OBJSUFFIX entries
2017-06-12 09:33:52 -04:00
josh
d7a6d69a92
update v1.10.0 release notes
2017-06-12 09:33:13 -04:00
josh
11864eb55b
v1.10.0
2017-06-10 00:50:43 -04:00
josh
f1b24ee8ba
minor formatting: replace missing space
2017-06-08 15:01:30 -04:00
josh
ef3150db0f
document construction variables and their default values in README.md
2017-06-08 14:58:55 -04:00
josh
ed4fb8b681
expand README.md a bit
2017-06-08 14:10:42 -04:00
josh
3a3f6d6d27
add v1.10.0 release notes
2017-06-08 12:02:13 -04:00
josh
20affc0e1d
fix SHLD spec for Windows
2017-06-08 12:01:50 -04:00
josh
010607d3b0
Rework builder features to be returned by Builder#features instead of taken into account by Builder#produces?
2017-06-08 11:07:01 -04:00
josh
b7f609b7e8
add SHLIBPREFIX
2017-06-07 16:35:20 -04:00
josh
10d4c647b9
add spec for building a shared library using D
2017-06-07 15:22:20 -04:00
josh
db2ec82a25
Add more integration tests for SharedLibrary and backwards compatibility
2017-06-07 13:02:51 -04:00
josh
aa192d7567
bugfix: Object and SharedObject should respect vars when checking source suffixes
2017-06-07 09:52:11 -04:00
josh
ed5d6e9e49
homogenize slashes in Environment#expand_path()
2017-06-07 09:26:13 -04:00
josh
3436dc3a64
Expand target and sources before calling Builder#create_build_target
2017-06-06 16:43:26 -04:00
josh
df52a7e0e1
add SharedObject and SharedLibrary builders - close #8
2017-06-06 13:27:38 -04:00
josh
6bd7e6f852
Object builder changes in preparation for adding SharedObject
2017-05-30 16:26:39 -04:00
josh
19a23c2aa9
Create builder features
...
Pass desired features to Builder#produces?
Allow features to be passed in to Environment#register_builds.
Use features in Environment#get_build_fname to determine build file name.
2017-05-30 15:30:15 -04:00
josh
c7e4e1ad9b
Always use a build root and default it to "build"
2017-05-30 11:06:32 -04:00
josh
43df46018c
Support redirecting standard output using the Command builder - close #28
2017-05-29 12:50:34 -04:00
josh
8cbb9fa30e
Place object files for absolute source paths under build_root - close #30
2017-05-29 12:16:46 -04:00
josh
1880e6650e
fix PROGSUFFIX handling - close #29
2017-05-29 11:40:01 -04:00
josh
d31b4725d2
add LEXSUFFIX, YACCSUFFIX construction variables - close #31
2017-05-29 11:03:01 -04:00
josh
6f242a1c64
Merge branch 'parallelization' - close #23
2017-05-29 10:58:55 -04:00
josh
c7943bc2cc
ignore .bundle
2017-05-29 10:57:27 -04:00
josh
b5826bd7f4
use new Builder#run signature for Command builder
2017-05-25 17:06:34 -04:00
josh
05bbea6fa1
add Environment#build_after
2017-05-25 17:00:21 -04:00
josh
68468b6422
fully parallelize the Command builder
2017-05-25 16:03:05 -04:00
josh
80a80a7cb0
fully parallelize the Preprocess builder
2017-05-25 15:54:33 -04:00
josh
178940cd5d
fully parallelize the CFile builder
2017-05-25 15:28:01 -04:00
josh
145d51c825
fully parallelize the Disassemble builder
2017-05-25 14:59:51 -04:00
josh
a11fab43cb
Update spec task to preserve simplecov coverage info for previous full spec runs when doing a partial spec run
2017-05-24 16:29:17 -04:00
josh
83226e894d
add backwards-compatibility test for Builder#standard_build
2017-05-24 16:16:53 -04:00
josh
b454208117
fully parallelize the Library builder
2017-05-24 16:10:58 -04:00
josh
df420fdf5c
use ThreadsWait (only for blocking thread waits)
2017-05-24 16:02:25 -04:00
josh
f3bf325c88
add a little more leeway in the multi-threading timing test
2017-05-24 15:58:11 -04:00
josh
f815952ab3
add Builder#standard_threaded_build, #standard_finalize
...
parallelize Program builder command
2017-05-24 15:41:39 -04:00
josh
1af3c5c9a4
pass Builder#run options into Builder#finalize also
2017-05-24 15:13:59 -04:00
josh
dce88ece14
pass entire build_operation Hash to Builder#run
2017-05-24 14:32:43 -04:00
josh
2655c119e4
add spec for Environment#find_finished_thread to fully cover
2017-05-23 16:47:00 -04:00
josh
221cde7e5f
update run_builder, build_sources integration tests for more coverage
2017-05-23 16:45:21 -04:00
josh
adcee373df
add integration test for Environment#build_sources
2017-05-23 16:28:13 -04:00
josh
e58b8bd109
add integration test for Environment#run_builder
2017-05-23 16:25:03 -04:00
josh
8a1dfb0785
do not catch NameError when looking up Builder#run method
2017-05-23 16:24:45 -04:00
josh
d315f86a36
remove unit tests for Environment#run_builder, #build_sources
2017-05-23 16:20:41 -04:00
josh
0d46d616dd
change user dependency test to use BuildTarget#depends
2017-05-23 16:09:29 -04:00
josh
032e6d5d0a
add some integration tests for the CLI
2017-05-23 16:06:21 -04:00
josh
c9946da193
integration tests: only pass -f when a specific rsconsfile is specified
2017-05-23 15:55:28 -04:00
josh
599d10b50f
add integration test for overriding PROGSUFFIX
2017-05-23 15:32:55 -04:00
josh
18c6c69871
do not use ThreadsWait to wait for threads; it does not work properly
2017-05-23 15:24:52 -04:00
josh
2ffdf82d9a
add multi-threading build test
2017-05-23 14:24:14 -04:00
josh
15e5d15424
Avoid Environment#process race condition
...
Race condition could have occurred if the last threaded command
was gathered in the non-blocking wait and then a blocking wait was
started because there was no job to run. Do not do a blocking wait
in this case.
2017-05-23 14:12:38 -04:00
josh
a99e6e81b2
simplify Environment#process looping
2017-05-23 14:10:45 -04:00
josh
1509c95176
remove Cache.reset!
2017-05-23 14:05:29 -04:00
josh
c7bba77581
remove Program builder non-integration specs
2017-05-22 16:57:35 -04:00
josh
957fd8c86d
convert Library builder specs to integration tests
2017-05-22 16:54:10 -04:00
josh
7e707e7e3b
convert Object builder specs to integration tests
2017-05-22 16:38:57 -04:00
josh
2be738be4f
Including trailing newline when printing failed command
2017-05-22 16:26:12 -04:00
josh
7b3bffd329
update some non-integration-test specs
2017-05-22 16:25:49 -04:00
josh
06cb4b7a55
migrate some Cache tests to integration tests
2017-05-22 15:55:18 -04:00
josh
bfbbc19728
fix simplecov setup to get coverage for integration build tests
2017-05-22 11:19:55 -04:00
josh
28e56251dd
update build_tests_spec to invoke rscons in a subprocess for each test
2017-05-20 15:15:07 -04:00
josh
2d8e08b493
add -j command-line option to set number of threads
2017-05-19 11:38:42 -04:00
josh
5cef9896ac
consistently print failed build command if a builder fails
2017-05-19 10:57:30 -04:00
josh
6344692087
update Object builder to support parallelization; update Program and Library builders to register object builds from #setup
2017-05-19 10:49:16 -04:00
josh
267fc7124d
process threaded commands until they are all complete
2017-05-17 15:52:34 -04:00
josh
e694199f33
delay building targets that depend on builds registered with Environment#register_builds
2017-05-17 15:45:04 -04:00
josh
4ed584701a
pass setup_info to the builder's #run method
2017-05-17 13:50:31 -04:00
josh
5de52620e4
JobSet#get_next_job_to_run: take into account targets still building
2017-05-17 10:19:43 -04:00
josh
9cc59a35f0
handle threaded commands in Environment#process
2017-05-17 10:07:15 -04:00
josh
ca445f5733
add JobSet#size
2017-05-17 09:36:27 -04:00