aboutsummaryrefslogtreecommitdiff
path: root/build2/cc
AgeCommit message (Collapse)AuthorFilesLines
2017-03-10Implement support for wildcard patternsBoris Kolpackov1-0/+3
2017-03-04Only set install variables if install module has been loadedBoris Kolpackov1-14/+20
While generally a good idea, failing to do this trips up our load generation protection.
2017-03-02Unconditionally load bin.ar module in c and cxx modulesBoris Kolpackov2-32/+13
With our utility library/until test approach this will probably be more common than not.
2017-03-02Fix unit test code generationBoris Kolpackov1-5/+4
2017-03-02Implement parallel matchBoris Kolpackov14-598/+753
2017-02-14Redo library meta-information protocol without match_only()Boris Kolpackov3-72/+73
2017-02-14Modify library mate-information protocol not to use lib{} groupBoris Kolpackov2-20/+28
2017-02-13Implement parallel error propagation, keep_going modeBoris Kolpackov1-4/+2
Keep going is the default but there is now the -s|--serial-stop that makes the driver run serially and stop at first error. Also fix some lockups, other minor improvements/features.
2017-02-13Do some naming cleanupsBoris Kolpackov1-1/+1
2017-02-13Tighten target constness furtherBoris Kolpackov1-3/+1
2017-02-13Implement parallel operation executionBoris Kolpackov1-2/+5
2017-02-13Use target:as<> instead of static_cast for target castingBoris Kolpackov5-26/+25
2017-02-13Tighten code that operates during both search/match and executeBoris Kolpackov4-83/+144
2017-02-13Pass const target& to recipesBoris Kolpackov14-164/+244
2017-02-13Implement target_set locking, including extension updateBoris Kolpackov2-3/+3
2017-02-13Redesign target_set interface in preparation for lockingBoris Kolpackov1-2/+1
2017-02-13Store extension in target map key rather than in targetBoris Kolpackov3-5/+3
This is in preparation for locking its modification/access.
2017-02-13Pass const scope& where modification should not happenBoris Kolpackov11-49/+65
2017-02-13Add bin.vars moduleBoris Kolpackov1-12/+13
Use in cc to make sure hint variables are already registered.
2017-02-13Add notion of phase, enforceBoris Kolpackov1-1/+4
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov10-85/+106
2017-01-23Make rules const throughoutBoris Kolpackov1-3/+3
2017-01-23Go back to storing scope instead of target in prerequisiteBoris Kolpackov1-4/+4
Turns out this was semantically the right way to do it.
2017-01-20Remove prerequisite caching in scopeBoris Kolpackov1-4/+4
We don't share them often and those that are shared (e.g., cxx{} in obja/objs{}) are lightweight (SOO).
2017-01-19Get rid of extension_poolBoris Kolpackov5-32/+25
2017-01-19Get rid of project_name_poolBoris Kolpackov5-9/+12
With small string optimizations this is most likely a hindrance rather that an optimization.
2017-01-18Ignore prerequisite mtimes that are not linker inputsBoris Kolpackov2-21/+30
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 Kolpackov1-8/+6
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov6-14/+14
2017-01-06Store platform targets as typed target_tripletBoris Kolpackov5-92/+87
2017-01-05Update copyright yearBoris Kolpackov25-25/+25
2016-12-17Add support for specifying individual paths of imported targetsBoris Kolpackov1-2/+1
The new config.import.* variable format is: config.import.<proj>.<name>[.<type>] For example: b config.import.build2.b=/opt/build2/bin/b b config.import.build2.b.exe=b-boot
2016-12-16Move exe{} to build2 core, add fallback extensions (existing files)Boris Kolpackov2-2/+4
2016-12-05Eliminate the use of '/...' paths on WindowsKaren Arutyunov1-0/+2
2016-11-30Add support for typed/untyped concatenated expansionBoris Kolpackov1-1/+1
2016-11-29Cosmetic changeBoris Kolpackov1-8/+10
2016-11-26Add support for VC15Karen Arutyunov2-14/+20
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov2-14/+9
2016-11-18Make names and vector<name> different types, add typed value constructorBoris Kolpackov3-6/+6
2016-11-04Adopt to auto_fd introduced to libbutl fdstreams and processKaren Arutyunov4-6/+10
2016-11-04Cleanup match_result messBoris Kolpackov4-13/+25
2016-09-15Add io_error alias for std::ios_base::failureKaren Arutyunov6-10/+10
2016-09-13Fix crashing on unhandled system_error thrown by file_exists()Karen Arutyunov4-7/+8
2016-09-06Ignore instead of overriding header prefix (now more specific -I's come first)Boris Kolpackov1-8/+10
2016-09-05Change order in which library options are processedBoris Kolpackov2-59/+104
The idea is that we want more "specialized" -I/-L options before more "generic" in order to make sure we don't pick up installed headers or libraries. This is still not bullet-proof though.
2016-09-05Handle /usr/local brain-deathBoris Kolpackov4-18/+85
2016-09-04Add /usr/local/lib to library search paths on FreeBSDBoris Kolpackov1-37/+50
2016-09-04Adjust to freebsd to bsd target class changeBoris Kolpackov3-6/+6
2016-09-04Add digits to right pattern separator to handle clang++37 (FreeBSD).Boris Kolpackov1-1/+4
2016-09-04Fix initializer list lifetime issuesBoris Kolpackov2-20/+12