aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
AgeCommit message (Collapse)AuthorFilesLines
2020-12-11Add search_locked() versions of search() functionsBoris Kolpackov6-2/+108
2020-12-08Redo $normalize(true) as separate $actualize()Karen Arutyunov1-26/+49
2020-12-08In update ad hoc recipe buildscripts allow non-pure function calls only in ↵Karen Arutyunov5-2/+115
depdeb preamble
2020-12-08Add support for config.test.runnerKaren Arutyunov10-14/+228
2020-12-08Fix buildscript assertion failure on redirecting command stderr to stdoutKaren Arutyunov1-1/+13
2020-12-08Update pkg-config modules serialization format to handle partitionsBoris Kolpackov1-4/+27
2020-12-04Fix bug in installed libraries matching logicBoris Kolpackov3-27/+41
2020-12-04Mark Buildfile functions as pure or impureBoris Kolpackov17-299/+385
2020-12-03Add ability to get absolute library paths from ${c,cxx}.lib_libs()Boris Kolpackov3-7/+18
2020-12-03Fix lock/unlock orderBoris Kolpackov1-1/+2
2020-12-03Fix bug in previous commitBoris Kolpackov1-2/+2
2020-12-03Fix modules support for installed librariesBoris Kolpackov5-27/+50
2020-12-03Add match_rule() in addition to match_recipe()Boris Kolpackov5-18/+53
2020-12-03Fix bug in target::has_group_prerequisites()Boris Kolpackov1-1/+1
2020-12-02Add support for buildscript depdb preambleKaren Arutyunov16-249/+734
2020-12-02Fix bug in config utilityBoris Kolpackov1-2/+3
2020-12-01Add clarifying commentBoris Kolpackov1-2/+3
2020-12-01Modules-related refactoringBoris Kolpackov4-56/+60
2020-11-30Fix bug in module mapperBoris Kolpackov1-1/+0
2020-11-30Don't fail if unable to remove empty directory on uninstallBoris Kolpackov1-3/+15
2020-11-30Add more default argument values to run_start()Boris Kolpackov1-13/+13
2020-11-30Add version mapping for Apple Clang 12.0.0Boris Kolpackov1-1/+3
2020-11-30Disable __import recognition since GCC now uses [[__translated]]Boris Kolpackov2-4/+6
2020-11-30Add support for module partitionsBoris Kolpackov7-98/+201
2020-11-30Start adapting module mapper to latest GCC protocolBoris Kolpackov4-30/+451
2020-11-26Fix crashing on unhandled invalid_path thrown by cc::common::pkgconfig_load()Karen Arutyunov1-5/+15
2020-11-24Fix compilation error on older compilers (GCC 4.9, MSVC 14.3)Boris Kolpackov1-4/+4
2020-11-23Increase terminated process timeout from 1 to 2 sec before killing it on ↵Karen Arutyunov2-5/+5
script pipeline termination
2020-11-23Add $string.lcase() and $string.ucase() functionsKaren Arutyunov2-0/+23
2020-11-23Suppress duplicates when extracting library options (GitHub issue #114)Boris Kolpackov5-99/+298
2020-11-19Handle C++20 module partitions in scannerBoris Kolpackov7-63/+176
2020-11-19Remove target files on ad hoc rule update buildscript errorKaren Arutyunov1-1/+18
2020-11-19Fix set buildscript builtin crash on WindowsKaren Arutyunov1-1/+19
2020-11-17Increase builtin timeout from 1 sec to 2 sec before aborting on script ↵Karen Arutyunov1-2/+2
pipeline termination
2020-11-17Generalize dot escaping in target name rulesBoris Kolpackov3-49/+276
Now triple dot and escape sequence can appear almost anywhere in the target name (see target::split_name() for details).
2020-11-17Resolve warningBoris Kolpackov1-0/+1
2020-11-17Omit default extensions for target types that now have fixed extensionsBoris Kolpackov1-2/+2
2020-11-17Implement modules pseudo-directive parsing (p1703, p1857)Boris Kolpackov7-54/+148
2020-11-13Minor tracing fix and additionBoris Kolpackov2-1/+4
2020-11-12Assign fixed extensions to wasm{} and pdb{} target typesBoris Kolpackov3-2/+42
2020-11-11Add ${c,cxx}.lib_{poptions,libs,rpaths}() functionsBoris Kolpackov10-105/+391
These functions can be used to query library metadata for options and libraries that should be used when compiling/linking dependent targets, similar to how cc::{compile,link}_rule do it. With this support it should be possible to more or less re-create their semantics in ad hoc recipes.
2020-11-11Make value_traits<bool>::convert() non-modifyingBoris Kolpackov2-2/+5
2020-11-11Expose low-level function registration supportBoris Kolpackov2-4/+24
2020-11-11Add context::current_action()Boris Kolpackov1-1/+9
2020-11-06Fix mistreating test operation timeout as test timeout in some caseKaren Arutyunov1-1/+1
2020-11-06Add support for test timeoutsKaren Arutyunov33-184/+1819
2020-11-06Fix snapshot extraction for subproject symlinked from git submoduleKaren Arutyunov1-3/+20
2020-11-06Resolve warningBoris Kolpackov1-1/+1
2020-11-06Keep executable bit on .wasm files when installingBoris Kolpackov1-2/+4
2020-11-05Initial Emscripten supportBoris Kolpackov6-535/+803
- Target: wasm32-emscripten (wasm32-unknown-emscripten). - Compiler id: clang-emscripten (type clang, variant emscripten, class gcc). - Ability to build executables (.js plus .wasm) and static libraries (.a). Set executable bit on the .js file (so it can be executed with a suitable binfmt interpreter). - Default config.bin.lib for wasm32-emscripten is static instead of both. - Full C++ exception support is enable unless disabled explicitly by the user with -s DISABLE_EXCEPTION_CATCHING=1|2. - The bin module registers the wasm{} target type for wasm32-emscripten.