aboutsummaryrefslogtreecommitdiff
path: root/build2
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Add support for passing alternative task start counts to schedulerBoris Kolpackov3-18/+45
2017-02-13Add support for waiting on other threads task counts in schedulerBoris Kolpackov2-13/+34
2017-02-13Implement target_set locking, including extension updateBoris Kolpackov14-78/+225
2017-02-13Redesign target_set interface in preparation for lockingBoris Kolpackov6-43/+44
2017-02-13Store extension in target map key rather than in targetBoris Kolpackov14-98/+110
This is in preparation for locking its modification/access.
2017-02-13Fallback to normal mutex if shared_mutex not availableBoris Kolpackov1-6/+17
As is the case on MacOS prior to 10.12.
2017-02-13Pass const scope& where modification should not happenBoris Kolpackov40-218/+391
2017-02-13Fix scheduler::tune() to wait for active threads coming offBoris Kolpackov1-2/+9
2017-02-13Redo variable pattern-typing to match in more specific orderBoris Kolpackov4-41/+123
2017-02-13Add bin.vars moduleBoris Kolpackov4-83/+111
Use in cc to make sure hint variables are already registered.
2017-02-13Temporarily disable parallel search & match for multi-target buildsBoris Kolpackov1-0/+5
2017-02-13Fix bug in scheduler::tune()Boris Kolpackov1-1/+1
2017-02-13Add load generation to global variable_map valuesBoris Kolpackov7-43/+118
2017-02-13Add global flag to variable_mapBoris Kolpackov5-8/+67
2017-02-13Add notion of load phase generationBoris Kolpackov7-54/+85
2017-02-13Implement pattern-based variable typing, tighten variable type updateBoris Kolpackov11-85/+246
2017-02-13Add notion of phase, enforceBoris Kolpackov18-90/+270
2017-02-13Add commentBoris Kolpackov1-3/+5
2017-02-13Add scheduling calls to operation's match()Boris Kolpackov11-179/+269
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov60-590/+840
2017-02-11Fix testscript parser not to strip leading blanks in here-docKaren Arutyunov1-7/+16
2017-02-11Add support for &dir/*[*][/] test path cleanup syntaxKaren Arutyunov1-2/+55
2017-02-10Fix save_regex()Karen Arutyunov1-5/+5
2017-02-03Fix runner output in verbose (-v, -V) modesKaren Arutyunov2-10/+22
2017-02-03Add sed builtinKaren Arutyunov8-148/+732
2017-01-31Add support for test command pipe, expression and command-ifKaren Arutyunov3-167/+336
2017-01-26Only pass diff --strip-trailing-cr in runner if running on WindowsKaren Arutyunov1-7/+11
2017-01-26Add test builtinKaren Arutyunov2-0/+91
2017-01-24Add default constructors to *_rule classes to make older clang happyKaren Arutyunov5-0/+20
2017-01-24Add support for shared here-documentsKaren Arutyunov5-49/+170
2017-01-24Add support for comparison of test command output to a fileKaren Arutyunov8-368/+420
2017-01-24Redo config as feature test macrosBoris Kolpackov3-3/+4
2017-01-23Make rules const throughoutBoris Kolpackov9-23/+30
2017-01-23Add bunch of missing const'sBoris Kolpackov13-27/+27
2017-01-23Go back to storing scope instead of target in prerequisiteBoris Kolpackov7-62/+56
Turns out this was semantically the right way to do it.
2017-01-23Implement automatic loading of directory buildfilesBoris Kolpackov8-80/+212
Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/
2017-01-20Remove prerequisite caching in scopeBoris Kolpackov12-284/+166
We don't share them often and those that are shared (e.g., cxx{} in obja/objs{}) are lightweight (SOO).
2017-01-20Cosmetic changeBoris Kolpackov1-21/+20
2017-01-20Add more comments to meta/operation loopBoris Kolpackov1-6/+6
2017-01-19Add rmdir builtinKaren Arutyunov1-8/+127
2017-01-19Add support for portable path modifer and dot character escaping inversionKaren Arutyunov10-307/+825
2017-01-19Get rid of unnecessary mutableBoris Kolpackov1-2/+2
2017-01-19Get rid of extension_poolBoris Kolpackov32-190/+180
2017-01-19Get rid of project_name_poolBoris Kolpackov22-94/+96
With small string optimizations this is most likely a hindrance rather that an optimization.
2017-01-18Add missing diagnostics in testscript parserBoris Kolpackov1-0/+25
2017-01-18Only pass diff --strip-trailing-cr if running on WindowsBoris Kolpackov1-1/+6
Since we cannot assume diff on other platforms has this option. Also need to do likewise in the testscript runner.
2017-01-18Ignore prerequisite mtimes that are not linker inputsBoris Kolpackov9-151/+155
This makes sure, for example, that we don't unnecessarily re-link an executable when its testscript prerequisite is changes.
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov20-228/+667
2017-01-12Inject fsdir{} even for project rootsBoris Kolpackov2-9/+11
This takes care of subprojects, such as tests/.
2017-01-09Workaround libc++'s basic_string<line_char> crashKaren Arutyunov4-61/+124