q66
|
35b185ee63
|
use environ module from ostd
|
2016-03-18 21:54:24 +00:00 |
|
q66
|
3e539cf4a3
|
fix shadow warnings
|
2016-03-04 21:33:42 +00:00 |
|
q66
|
1f9e80f759
|
update against libcubescript
|
2016-02-28 22:21:47 +00:00 |
|
q66
|
7f91885886
|
remove globs.hh
|
2016-02-13 20:47:54 +00:00 |
|
q66
|
b32d27f468
|
remove ob_get_env
|
2016-02-12 21:52:47 +00:00 |
|
q66
|
de4003040d
|
trailing newlines
|
2016-02-07 21:20:44 +00:00 |
|
q66
|
2c1d1a06f9
|
match octastd
|
2016-01-26 19:02:32 +00:00 |
|
q66
|
20d423b594
|
get rid of pthread usage (use new octastd threading)
|
2016-01-23 22:38:59 +00:00 |
|
q66
|
4618694303
|
cleanup
|
2015-12-29 13:55:33 +01:00 |
|
q66
|
167d216226
|
minor cleanup
|
2015-12-28 16:17:20 +01:00 |
|
q66
|
31e19a5ba4
|
rule_dup fix
|
2015-12-27 18:20:47 +01:00 |
|
q66
|
c21d6dc054
|
print_help takes a bool
|
2015-12-26 14:29:55 +01:00 |
|
q66
|
649745d33c
|
cleanups
|
2015-12-23 13:52:27 +01:00 |
|
q66
|
5cf74abac6
|
print help to stderr on wrong arg
|
2015-12-22 15:05:08 +01:00 |
|
q66
|
cb5b89ce3c
|
no need for full namespace
|
2015-12-21 14:13:38 +01:00 |
|
q66
|
6c40623371
|
use Bytecode object
|
2015-12-20 00:21:39 +01:00 |
|
q66
|
1812c06bf6
|
use the new API for bytecode objects
|
2015-12-19 16:06:50 +01:00 |
|
q66
|
cc1cfe1328
|
fix cubescript func refcount
|
2015-12-18 15:06:42 +01:00 |
|
q66
|
2e98d0aecd
|
use new libcubescript api
|
2015-12-16 19:05:09 +00:00 |
|
q66
|
7fe6ecdf7e
|
small cleanup
|
2015-12-14 19:20:43 +00:00 |
|
q66
|
bfe9d5aff2
|
switch to c++14 and make use of generalized lambda capture
|
2015-12-13 21:10:18 +00:00 |
|
q66
|
86b28e8e00
|
remove unnecessary casts
|
2015-12-08 21:36:55 +00:00 |
|
q66
|
946aa50b58
|
don't need the this
|
2015-12-07 22:37:38 +00:00 |
|
q66
|
ea8c0ff002
|
abuse inheritance a little
|
2015-12-07 21:41:37 +00:00 |
|
q66
|
a83cf836cd
|
small simplification
|
2015-12-06 19:23:03 +00:00 |
|
q66
|
e91b28266f
|
minor fix
|
2015-12-04 21:59:03 +00:00 |
|
q66
|
a562f4623d
|
better help handling
|
2015-12-03 19:09:44 +00:00 |
|
q66
|
c0323d2d75
|
dedup some code
|
2015-12-02 20:38:10 +00:00 |
|
q66
|
ccb2f7e0e8
|
minor cleanup
|
2015-12-01 21:55:19 +00:00 |
|
q66
|
f1af0b747e
|
remove usage of getopt (replace with manual handling until arg parser is complete)
|
2015-11-30 21:14:59 +00:00 |
|
q66
|
421b5957ab
|
small cleanup
|
2015-11-28 20:51:12 +00:00 |
|
q66
|
4fe2b2f7db
|
merge tpool.hh into main.cc
|
2015-11-27 22:11:46 +00:00 |
|
q66
|
52ecc016e8
|
minor cleanup
|
2015-11-25 20:37:01 +00:00 |
|
q66
|
3d9bbc465a
|
use ConstCharRange
|
2015-11-24 20:14:37 +00:00 |
|
q66
|
c6dd8111bb
|
no need to check this anymore
|
2015-11-23 21:26:51 +00:00 |
|
q66
|
550cab584b
|
rule_add cleanup
|
2015-11-23 21:26:07 +00:00 |
|
q66
|
6867946e97
|
make actions always execute regardless of files existing
|
2015-11-21 18:30:11 +00:00 |
|
q66
|
b3bf83dfc5
|
improve the duprule command
|
2015-11-20 16:49:30 +00:00 |
|
q66
|
077460f53c
|
remove usage of limits.h
|
2015-11-17 20:19:58 +00:00 |
|
q66
|
2ed36fe7c9
|
remove rule-, add duprule to duplicate a rule with new deps
|
2015-11-14 01:28:07 +00:00 |
|
q66
|
3f80d998a2
|
fix incorrect rule find logic (always prefer "exact" rules)
|
2015-11-14 01:08:27 +00:00 |
|
q66
|
4b6d9c466a
|
cleanups
|
2015-11-09 18:51:55 +00:00 |
|
q66
|
98e99f7c49
|
don't disown (allocator may not be the same)
|
2015-11-08 13:45:59 +00:00 |
|
q66
|
ccaae1e418
|
extreplace is not part of globs system
|
2015-11-07 16:57:29 +00:00 |
|
q66
|
adf3c0f068
|
default val arg for getenv, add extreplace for extension subst
|
2015-11-06 19:38:37 +00:00 |
|
q66
|
d1bb66976e
|
format
|
2015-11-05 18:43:58 +00:00 |
|
q66
|
ed8b0a428e
|
cleanup rule counters
|
2015-11-04 17:46:01 +00:00 |
|
q66
|
201e57916c
|
get rid of the scope hack
|
2015-11-03 18:34:16 +00:00 |
|
q66
|
d016d629c9
|
comment the capture behavior
|
2015-11-01 18:47:31 +00:00 |
|
q66
|
e32a5a86ff
|
no need to disown, we can just copy
|
2015-11-01 18:45:03 +00:00 |
|
q66
|
492789f0a4
|
format fixes
|
2015-10-31 19:43:39 +00:00 |
|
q66
|
b2814ffe2f
|
add new "depend" command to specify deps
|
2015-10-30 20:28:18 +00:00 |
|
q66
|
7d9fac6ae0
|
add invoke command to exec a rule/action and wait for it
|
2015-10-29 17:34:33 +00:00 |
|
q66
|
96c1066c37
|
default rule is now called default
|
2015-10-27 18:49:46 +00:00 |
|
q66
|
1c0772d2e7
|
add support for actions
|
2015-10-26 17:58:47 +00:00 |
|
q66
|
554441518d
|
cubefile is now called obuild.cfg
|
2015-10-23 20:11:14 +01:00 |
|
q66
|
e758d6e3d8
|
main func cleanup
|
2015-10-21 21:09:21 +01:00 |
|
q66
|
d5ec6eea73
|
per-state threadpool
|
2015-10-20 22:05:53 +01:00 |
|
q66
|
e348f58108
|
cleanup
|
2015-10-18 01:01:11 +02:00 |
|
q66
|
27605ee5af
|
put most state into ObState
|
2015-10-16 00:36:39 +02:00 |
|
q66
|
080153a373
|
put ignore_env into ObState
|
2015-10-16 00:09:16 +02:00 |
|
q66
|
4028bdef7d
|
introduce rule cache (no need to figure out rlist every time)
|
2015-10-15 10:42:43 +02:00 |
|
q66
|
49812b6b40
|
test commandn
|
2015-10-13 21:23:41 +01:00 |
|
Daniel Kolesa
|
3c9e6ea404
|
unify rule add funcs
|
2015-10-07 11:47:14 +01:00 |
|
Daniel Kolesa
|
2a84040028
|
rule- for dep-less rule definitions
|
2015-10-06 12:32:47 +01:00 |
|
q66
|
dfb94f28b3
|
more correct and more efficient rule matching
|
2015-10-03 17:25:52 +01:00 |
|
q66
|
86c0d6b635
|
formatting
|
2015-10-02 19:25:08 +01:00 |
|
q66
|
9199b76648
|
mark static
|
2015-10-01 19:08:44 +01:00 |
|
q66
|
faabe418b2
|
only use N jobs instead of N + 1 when not explicit (where N is number of CPUs)
|
2015-09-27 18:33:28 +01:00 |
|
q66
|
2f5a95327b
|
add numcpus and numjobs
|
2015-09-26 15:13:17 +01:00 |
|
q66
|
b97b71d281
|
add some environment functionality
|
2015-09-21 20:44:48 +01:00 |
|
q66
|
88c2656862
|
add -e to execute strings
|
2015-09-20 20:54:19 +01:00 |
|
q66
|
79914d4e76
|
fix
|
2015-09-14 01:31:50 +01:00 |
|
q66
|
ed326a98d8
|
fix
|
2015-09-12 16:23:18 +01:00 |
|
q66
|
582867ff81
|
split glob matching into its own file
|
2015-09-10 18:55:49 +01:00 |
|
q66
|
3e4073cd56
|
fix
|
2015-09-05 03:35:57 +01:00 |
|
q66
|
b70315d28d
|
do not pass data()
|
2015-09-04 19:29:51 +01:00 |
|
q66
|
789204075a
|
use ostd::filesystem
|
2015-09-04 18:59:05 +01:00 |
|
q66
|
e817b51e5a
|
cleanups
|
2015-09-01 18:50:00 +01:00 |
|
q66
|
9c1ce90bfe
|
updates
|
2015-08-31 14:47:39 +01:00 |
|
q66
|
5f2417bf9e
|
concat all args when using globs
|
2015-08-25 16:07:15 -07:00 |
|
q66
|
92da426ae8
|
update
|
2015-08-25 00:19:44 -07:00 |
|
q66
|
87d34dede1
|
initial parallel build support
|
2015-08-24 14:11:17 -07:00 |
|
q66
|
19fb1100f8
|
add basic thread pool impl for parallel compilation
|
2015-08-24 00:44:10 -07:00 |
|
q66
|
a072cfeaaf
|
add basic option parsing
|
2015-08-23 20:54:03 -07:00 |
|
q66
|
9c272792ac
|
more correct glob matching
|
2015-08-23 11:54:23 -07:00 |
|
q66
|
989433022c
|
glob matching support
|
2015-08-23 01:03:30 -07:00 |
|
q66
|
8e6b107b48
|
more cleanups
|
2015-08-22 00:31:33 -07:00 |
|
q66
|
4cab581d58
|
more cleanups
|
2015-08-21 12:05:24 -07:00 |
|
q66
|
456e9ef11b
|
move more stuff to state struct
|
2015-08-21 12:02:31 -07:00 |
|
q66
|
a3317607d0
|
cleanups
|
2015-08-21 11:14:24 -07:00 |
|
q66
|
349e9b7851
|
start moving funcs into ObState
|
2015-08-20 12:59:15 -07:00 |
|
q66
|
cf8af6baf9
|
use find_last
|
2015-08-16 11:35:39 -07:00 |
|
q66
|
7ea22b694b
|
better error handling
|
2015-08-15 17:06:42 -07:00 |
|
q66
|
630717bace
|
add initial version of octabuild
|
2015-08-14 02:54:00 +01:00 |
|