aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04Enable new directory target-specific variable assignment syntaxBoris Kolpackov1-125/+103
2018-05-03Regularize directory target/scope-specific variable assignment syntaxBoris Kolpackov30-192/+366
2018-05-02Add support for different backlinking modes, use for Windows DLL assemblyBoris Kolpackov5-83/+304
2018-05-02Update manual to reflect changes to versioning epoch formatBoris Kolpackov1-3/+3
2018-04-30Don't print scheduler statistics at verbosity level 2, add --stat insteadBoris Kolpackov5-2/+24
2018-04-28Use rmsymlink() to portably remove symlinksBoris Kolpackov3-8/+45
2018-04-28Move trim(), next_word() to libbutlBoris Kolpackov3-100/+3
2018-04-28Expose meta-operation in build.meta_operation variableBoris Kolpackov3-1/+19
2018-04-27Redo run directive diagnostics not to rely on invalid pathsBoris Kolpackov2-30/+16
2018-04-27Add support for build hooksBoris Kolpackov8-70/+233
The following buildfiles are loaded (if present) at appropriate times from the out_root subdirectories of a project: build/bootstrap/pre-*.build # before loading bootstrap.build build/bootstrap/post-*.build # after loading bootstrap.build build/root/pre-*.build # before loading root.build build/root/post-*.build # after loading root.build
2018-04-26Fix bug in directive/run testBoris Kolpackov1-4/+4
2018-04-26Fix bug in backlinking testBoris Kolpackov1-3/+4
2018-04-26Implement run buildfile directiveBoris Kolpackov8-102/+300
Now we can do: run echo 'foo = bar' print $foo
2018-04-26Implement forwarded configurations and backlinkingBoris Kolpackov21-277/+1047
2018-04-24Minor code reuse improvementBoris Kolpackov3-44/+8
2018-04-24Fix git commit timestamp extraction to be (really) in UTC (I promise)Boris Kolpackov1-4/+8
2018-04-13Add workarounds for VC15u7Boris Kolpackov2-4/+4
2018-04-13Update style submoduleBoris Kolpackov2-0/+0
2018-04-13Regenerate option parser (adds support for combined flags and values)Boris Kolpackov1-39/+155
2018-03-29Remove -p alias from --progress optionBoris Kolpackov2-4/+2
In other tools (which may also have --[no-]progress) -p is used for something else.
2018-03-24Fix bug in '--' handlingBoris Kolpackov5-31/+57
2018-03-21Strip out_root when hashing linker input pathsBoris Kolpackov3-7/+40
This allows moving out_root of simple projects (no rpath, -I$out_root, or similar) without causing a re-link which we use for testing.
2018-03-21Documentation updateBoris Kolpackov1-1/+1
2018-03-20Reimplement compression for gzip, bzip2, and xz not to use tar's -aBoris Kolpackov1-9/+89
This option is not supported by some tar implementations (like Mac OS) and may have issues (like MSYS2 BLODA).
2018-03-20Add support for config.dist.uncommittedBoris Kolpackov2-4/+24
2018-03-20Cleanup destination directory on dist failureBoris Kolpackov1-0/+3
2018-03-20Come up with better version for uncommitted snapshotsBoris Kolpackov5-44/+90
Instead of leaving it as .z we now take the date of the previous commit and increment it by a second. The main benefit of doing it this way is that once committed, the new version does not "jump back" behind .z.
2018-03-20Use 12 instead of 16-characters for abbreviated git commit idBoris Kolpackov1-1/+1
This should help a bit with long paths on Windows.
2018-03-20Change git <snapsn> format in stdver to YYYYMMDDhhmmssBoris Kolpackov2-3/+13
2018-03-20If cc.reprocess is true, define __build2_preprocess during dependency extractionBoris Kolpackov2-14/+42
This can be used to work around separate preprocessing bugs in the compiler.
2018-03-19Add missed file to builtins tests buildfileKaren Arutyunov1-1/+1
2018-03-19Add support for cp builtin -p optionKaren Arutyunov4-19/+136
2018-03-12Adjust disfigure diagnosticsBoris Kolpackov1-4/+9
2018-03-05Update submodulesBoris Kolpackov2-0/+0
2018-03-05Update generated options parsing codeBoris Kolpackov1-2/+4
2018-03-05Style/naming cleanup in man synopsisBoris Kolpackov1-11/+11
2018-02-27Improve derivation of binutils pattern from compiler patternBoris Kolpackov1-43/+70
2018-02-26If cc.reprocess is true, then also reprocess when extracting unit infoBoris Kolpackov1-1/+7
2018-02-26Skip multiple CR in CRLF sequence in cc::lexerBoris Kolpackov1-6/+10
2018-02-22Fortify GNU binutils detection against vendor customizationsBoris Kolpackov1-11/+16
2018-02-22Make dist diagnostics tidier yetBoris Kolpackov5-21/+34
2018-02-21Make dist diagnostics less noisy at verbosity level 1Boris Kolpackov1-5/+9
2018-02-21Add progress to dist meta-operationBoris Kolpackov6-37/+103
2018-02-21Fix bug in dist_execute()Boris Kolpackov1-7/+6
2018-02-20Initial work on deadlock detection supportBoris Kolpackov3-16/+88
Fun fact: In a serial build system a dependency cycle leads to an infinite loop/recursion. In a parallel -- to a deadlock. Still think build systems are fun?
2018-02-19Make search_existing_file() more consistentBoris Kolpackov1-20/+17
2018-02-16Perform ad hoc group resolution instead of resolve_group() in module searchBoris Kolpackov2-5/+22
2018-02-16Add support for detecting dependency cyclesBoris Kolpackov6-44/+189
2018-02-16Fix group link-up race in cc::link_rule::match()Boris Kolpackov1-5/+14
2018-02-16Fix group link-up raceBoris Kolpackov13-33/+98