Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-10-18 | Invent diag preamble for buildscript | Karen Arutyunov | 1 | -7/+7 | |
2022-10-13 | Add support for 'for' loop second (... | for x) and third (for x <...) forms ↵ | Karen Arutyunov | 1 | -1/+3 | |
in script | |||||
2022-10-10 | Preparatory work for public/private variable distinction | Boris Kolpackov | 1 | -2/+5 | |
We still always use the public var_pool from context but where required, all access now goes through scope::var_pool(). | |||||
2022-09-28 | Add support for 'while' loop in script | Karen Arutyunov | 1 | -1/+2 | |
2022-09-19 | Allow computed variables in depdb preamble similar to impure functions | Boris Kolpackov | 1 | -1/+2 | |
2022-01-18 | Add dynamic prerequisites to $< unless --adhoc is specified | Boris Kolpackov | 1 | -6/+14 | |
Also add a few tests for depdb-dyndep. | |||||
2021-11-30 | Add support for dynamic dependencies as byproduct of script body | Boris Kolpackov | 1 | -1/+2 | |
Specifically, the `depdb dyndep` builtin now has the --byproduct option (which must come first). In this mode only the --file input is supported. For example: obje{hello.o}: cxx{hello} {{ o = $path($>) t = $(o).t depdb dyndep --byproduct --what=header --default-type=h --file $t diag c++ ($<[0]) $cxx.path $cxx.poptions $cc.poptions $cc.coptions $cxx.coptions $cxx.mode -o $o -MD -MF $t -c $path($<[0]) }} Naturally, this mode does not support dynamic auto-generated prerequisites. If present, such prerequisites must be specified statically in the buildfile. Note also that the --default-prereq-type option has been rename to --default-type. | |||||
2021-11-23 | Add support for dynamic dependencies in ad hoc Buildscript recipes | Boris Kolpackov | 1 | -3/+8 | |
Specifically, add the new `depdb dyndep` builtin that can be used to extract dynamic dependencies from a program run or a file. For example: obje{hello.o}: cxx{hello} {{ s = $path($<[0]) depdb dyndep $cxx.poptions $cc.poptions --what=header --default-prereq-type=h -- $cxx.path $cxx.poptions $cc.poptions $cxx.mode -M -MG $s diag c++ ($<[0]) o = $path($>) $cxx.path $cxx.poptions $cc.poptions $cc.coptions $cxx.coptions $cxx.mode -o $o -c $s }} Currently only the `make` dependency format is supported. | |||||
2020-12-02 | Add support for buildscript depdb preamble | Karen Arutyunov | 1 | -6/+16 | |
2020-11-06 | Add support for test timeouts | Karen Arutyunov | 1 | -2/+24 | |
2020-06-08 | Add note on why not using rule-specific variables for ad hoc recipes | Boris Kolpackov | 1 | -2/+10 | |
2020-06-05 | Add depdb buildscript builtin | Karen Arutyunov | 1 | -2/+12 | |
2020-06-04 | Properly handle diag directive in build script parser | Karen Arutyunov | 1 | -2/+4 | |
2020-06-03 | Allow process path values and targets as buildscript program names | Karen Arutyunov | 1 | -1/+0 | |
Also deduce the recipe name. | |||||
2020-05-29 | Move low-verbosity command name from adhoc_script_rule to script | Boris Kolpackov | 1 | -0/+5 | |
2020-05-27 | Initial support for ad hoc recipes (still work in progress) | Boris Kolpackov | 1 | -0/+156 | |