aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/buildfile
AgeCommit message (Collapse)AuthorFilesLines
2021-04-16Handle hermetic configurations in ~host and ~build2Boris Kolpackov1-9/+14
Specifically, we keep config.config.environment but strip config.config.hermetic. Also update the INSTALL file.
2020-12-11Add export script pseudo-builtinKaren Arutyunov1-1/+1
2020-07-18Work around Clang bug #45021Boris Kolpackov1-0/+10
2020-06-15Diagnose building of module or ad hoc C++ recipe using static build systemBoris Kolpackov1-1/+3
2020-06-12Make order of imports stable in saved host build configurationBoris Kolpackov1-1/+3
2020-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov1-5/+11
2020-04-03Tweak ~host configuration extraction regexBoris Kolpackov1-4/+6
2020-04-02Fix ~host config to only contain cc and bin modules configurationBoris Kolpackov1-10/+20
Also add ~build2 that contains everything (except config.dist.*) to be used for build system modules.
2020-03-13Cleanup and make config/utility.?xx part of build system coreBoris Kolpackov1-1/+3
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-22Filter out config.install.chroot from default host configurationBoris Kolpackov1-1/+7
2019-11-12Explicitly load bundled module buildfiles to "use" their importsBoris Kolpackov1-1/+9
2019-11-12Rename config.{import,export} to config.config.{load,save}Boris Kolpackov1-1/+1
Also rename the $config.export() function to $config.save().
2019-11-08Use $regex.replace_lines() for default host config processingBoris Kolpackov1-5/+3
2019-11-05Add support for automatic importing of libbuild2 of installed caseBoris Kolpackov1-0/+10
2019-11-04Add support for ~host special configuration name in config.importBoris Kolpackov1-3/+22
This is the "default host configuration" that corresponds to how the build system itself was built. For example: $ b create: tools/,cc config.import=~host
2019-08-28Export dependency on -lpthreadBoris Kolpackov1-0/+6
2019-08-28Make lib{build2} "implied interface dependency" of modulesBoris Kolpackov1-0/+7
This makes our compilation and linking command lines a little bit saner.
2019-08-28Cleanup buildfiles some moreBoris Kolpackov1-2/+6
2019-08-28Reduce repetition in buildfilesBoris Kolpackov1-5/+2
2019-08-28Move cxx build system module to separate libraryKaren Arutyunov1-4/+4
2019-08-28Move c build system module to separate libraryKaren Arutyunov1-1/+1
2019-08-28Move cc build system module to separate libraryKaren Arutyunov1-1/+1
2019-08-28Move bin build system module to separate libraryKaren Arutyunov1-1/+1
2019-08-28Redo build_installed without requiring linking whole archiveBoris Kolpackov1-10/+7
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-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 Arutyunov1-6/+7
2019-08-26Implement auto-import of development build2 buildBoris Kolpackov1-4/+16
2019-08-21Implement dynamic loading of build system modulesBoris Kolpackov1-0/+11
2019-08-17Add '--std c++11' CLI option in buildfilesKaren Arutyunov1-1/+1
2019-08-01Move bash build system module to separate libraryKaren Arutyunov1-1/+1
2019-08-01Move version build system module to separate libraryKaren Arutyunov1-1/+1
2019-07-24Use CLI-generated classes to parse testscript builtin optionsKaren Arutyunov1-1/+39
2019-07-24Move in build system module to separate libraryBoris Kolpackov1-9/+17
2019-07-05Move config, dist, test, and install modules into libraryKaren Arutyunov1-0/+4
2019-07-01Split build system into library and driverBoris Kolpackov1-0/+85