Commit Graph

58 Commits (b3bf83dfc580aa97a4aa68fdab3e8da516d55be4)

Author SHA1 Message Date
Daniel Kolesa b3bf83dfc5 improve the duprule command 2015-11-20 16:49:30 +00:00
Daniel Kolesa 077460f53c remove usage of limits.h 2015-11-17 20:19:58 +00:00
Daniel Kolesa 2ed36fe7c9 remove rule-, add duprule to duplicate a rule with new deps 2015-11-14 01:28:07 +00:00
Daniel Kolesa 3f80d998a2 fix incorrect rule find logic (always prefer "exact" rules) 2015-11-14 01:08:27 +00:00
Daniel Kolesa 4b6d9c466a cleanups 2015-11-09 18:51:55 +00:00
Daniel Kolesa 98e99f7c49 don't disown (allocator may not be the same) 2015-11-08 13:45:59 +00:00
Daniel Kolesa ccaae1e418 extreplace is not part of globs system 2015-11-07 16:57:29 +00:00
Daniel Kolesa adf3c0f068 default val arg for getenv, add extreplace for extension subst 2015-11-06 19:38:37 +00:00
Daniel Kolesa d1bb66976e format 2015-11-05 18:43:58 +00:00
Daniel Kolesa ed8b0a428e cleanup rule counters 2015-11-04 17:46:01 +00:00
Daniel Kolesa 201e57916c get rid of the scope hack 2015-11-03 18:34:16 +00:00
Daniel Kolesa d016d629c9 comment the capture behavior 2015-11-01 18:47:31 +00:00
Daniel Kolesa e32a5a86ff no need to disown, we can just copy 2015-11-01 18:45:03 +00:00
Daniel Kolesa 492789f0a4 format fixes 2015-10-31 19:43:39 +00:00
Daniel Kolesa b2814ffe2f add new "depend" command to specify deps 2015-10-30 20:28:18 +00:00
Daniel Kolesa 7d9fac6ae0 add invoke command to exec a rule/action and wait for it 2015-10-29 17:34:33 +00:00
Daniel Kolesa 96c1066c37 default rule is now called default 2015-10-27 18:49:46 +00:00
Daniel Kolesa 1c0772d2e7 add support for actions 2015-10-26 17:58:47 +00:00
Daniel Kolesa 554441518d cubefile is now called obuild.cfg 2015-10-23 20:11:14 +01:00
Daniel Kolesa e758d6e3d8 main func cleanup 2015-10-21 21:09:21 +01:00
Daniel Kolesa d5ec6eea73 per-state threadpool 2015-10-20 22:05:53 +01:00
Daniel Kolesa e348f58108 cleanup 2015-10-18 01:01:11 +02:00
Daniel Kolesa 27605ee5af put most state into ObState 2015-10-16 00:36:39 +02:00
Daniel Kolesa 080153a373 put ignore_env into ObState 2015-10-16 00:09:16 +02:00
Daniel Kolesa 4028bdef7d introduce rule cache (no need to figure out rlist every time) 2015-10-15 10:42:43 +02:00
Daniel Kolesa 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
Daniel Kolesa dfb94f28b3 more correct and more efficient rule matching 2015-10-03 17:25:52 +01:00
Daniel Kolesa 86c0d6b635 formatting 2015-10-02 19:25:08 +01:00
Daniel Kolesa 9199b76648 mark static 2015-10-01 19:08:44 +01:00
Daniel Kolesa 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
Daniel Kolesa 2f5a95327b add numcpus and numjobs 2015-09-26 15:13:17 +01:00
Daniel Kolesa b97b71d281 add some environment functionality 2015-09-21 20:44:48 +01:00
Daniel Kolesa 88c2656862 add -e to execute strings 2015-09-20 20:54:19 +01:00
Daniel Kolesa 79914d4e76 fix 2015-09-14 01:31:50 +01:00
Daniel Kolesa ed326a98d8 fix 2015-09-12 16:23:18 +01:00
Daniel Kolesa 582867ff81 split glob matching into its own file 2015-09-10 18:55:49 +01:00
Daniel Kolesa 3e4073cd56 fix 2015-09-05 03:35:57 +01:00
Daniel Kolesa b70315d28d do not pass data() 2015-09-04 19:29:51 +01:00
Daniel Kolesa 789204075a use ostd::filesystem 2015-09-04 18:59:05 +01:00
Daniel Kolesa e817b51e5a cleanups 2015-09-01 18:50:00 +01:00
Daniel Kolesa 9c1ce90bfe updates 2015-08-31 14:47:39 +01:00
Daniel Kolesa 5f2417bf9e concat all args when using globs 2015-08-25 16:07:15 -07:00
Daniel Kolesa 92da426ae8 update 2015-08-25 00:19:44 -07:00
Daniel Kolesa 87d34dede1 initial parallel build support 2015-08-24 14:11:17 -07:00
Daniel Kolesa 19fb1100f8 add basic thread pool impl for parallel compilation 2015-08-24 00:44:10 -07:00
Daniel Kolesa a072cfeaaf add basic option parsing 2015-08-23 20:54:03 -07:00
Daniel Kolesa 9c272792ac more correct glob matching 2015-08-23 11:54:23 -07:00
Daniel Kolesa 989433022c glob matching support 2015-08-23 01:03:30 -07:00