aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
AgeCommit message (Collapse)AuthorFilesLines
2019-08-27Temporary fix for multiple whole archive linking issueBoris Kolpackov1-9/+3
2019-08-27Force use of RPATH instead of RUNPATH on LinuxBoris Kolpackov1-1/+9
RUNPATH messes up our use of dlopen().
2019-08-27Propagate global var overrides to module build contextBoris Kolpackov3-6/+14
2019-08-27Redo module context pointerBoris Kolpackov2-9/+11
2019-08-27Reorder dependencies in buildfileBoris Kolpackov1-4/+6
2019-08-27Tweak cross-compilation detection in buildfileBoris Kolpackov1-4/+11
2019-08-27Don't set import.build2 variable in cross-compiled build2Karen Arutyunov2-7/+8
2019-08-26Implement auto-import of development build2 buildBoris Kolpackov7-10/+88
2019-08-26Add support for for_install prerequisite-specific var in link ruleBoris Kolpackov2-0/+5
Also reserve for_test.
2019-08-26Improve diagnostics in import_module()Boris Kolpackov1-20/+25
2019-08-26Fix bug in import_search()Boris Kolpackov1-2/+2
2019-08-26Fix bug in scope::find_target_key()Boris Kolpackov1-1/+8
2019-08-26Improve diagnosticsBoris Kolpackov1-1/+1
2019-08-26Fix typoKaren Arutyunov1-1/+2
2019-08-26Suppress gcc's 'control reaches end of non-void function' warningKaren Arutyunov1-1/+1
2019-08-26Implement updating build system modulesBoris Kolpackov9-31/+208
2019-08-26Factor target name processing code from parser to scopeBoris Kolpackov4-50/+91
2019-08-26Make target types project-wideBoris Kolpackov9-53/+80
2019-08-25Split import into search and load stepsBoris Kolpackov3-49/+89
This allows us to load things in a separate context.
2019-08-23Introduce notion of build contextBoris Kolpackov89-1830/+2115
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-08-23Disable dynamic build system module loading in bootstrap buildBoris Kolpackov1-6/+17
We don't really need it so why jump through hoops like trying to portably link -ldl, etc.
2019-08-21Cleanup context.hxx and its usageBoris Kolpackov25-334/+341
2019-08-21Implement dynamic loading of build system modulesBoris Kolpackov10-66/+337
2019-08-20Add build.version.interfaceBoris Kolpackov4-6/+23
This build system interface version should be embedded into build system modules as load_suffix.
2019-08-19Minor cleanupsBoris Kolpackov3-172/+186
2019-08-17Tweak deadlock detection thread wait timeBoris Kolpackov1-3/+3
2019-08-17Add support for default options filesKaren Arutyunov1-2/+8
2019-08-17Add '--std c++11' CLI option in buildfilesKaren Arutyunov1-1/+1
2019-08-16Minor cleanupsBoris Kolpackov3-25/+20
2019-08-15Redo Windows implementation of install_l() to use uninstall_f()Boris Kolpackov2-56/+62
2019-08-15Fix bug in Windows implementation of install_l()Boris Kolpackov1-3/+3
2019-08-15Fix bug in mkanylink() usageBoris Kolpackov1-1/+9
2019-08-15Embed build core version into build system modules as load pathBoris Kolpackov3-12/+27
2019-08-15Implement libs_paths symlinking support on WindowsBoris Kolpackov2-12/+44
Also, temporarily enable libs_paths::link on Windows for testing.
2019-08-14Use new mkanylink() from libbutlBoris Kolpackov2-38/+41
2019-08-12Use new fdstream constructorBoris Kolpackov2-3/+3
2019-08-12Adjust to fdstream constructor changesBoris Kolpackov1-1/+1
2019-08-07Improve deadlock diagnostics (suppress stack trace, reword)Boris Kolpackov5-11/+19
2019-08-07Tighten deadlock monitor notification logicBoris Kolpackov2-24/+27
2019-08-07Make deadlock detection loop more robustBoris Kolpackov2-9/+26
2019-08-07Distinguish between internal/external wait deactivation in schedulerBoris Kolpackov3-22/+38
This turns out to be necessary for the deadlock detection to work properly.
2019-08-06Implement general deadlock detection via monitoring threadBoris Kolpackov2-56/+103
2019-08-02Regenerate options parsing codeBoris Kolpackov1-1/+0
2019-08-01Move bash build system module to separate libraryKaren Arutyunov10-1/+856
2019-08-01Move version build system module to separate libraryKaren Arutyunov14-1/+1355
2019-08-01Fix linkage failure due to inline functions defined in ↵Karen Arutyunov9-84/+85
libbuild2/algorithm.ixx and referred from libbuild2/target.txx
2019-07-25Implement pre-parse mode for parse_names_trailer()Karen Arutyunov2-2/+25
2019-07-25Fix parse_names_trailer() for 'cross with empty LHS' case ({$empty}{x y})Karen Arutyunov1-0/+1
2019-07-25Work around GCC 4.9 deficienciesBoris Kolpackov1-3/+3
2019-07-24Use CLI-generated classes to parse testscript builtin optionsKaren Arutyunov9-369/+5546