aboutsummaryrefslogtreecommitdiff
path: root/build2
AgeCommit message (Collapse)AuthorFilesLines
2017-12-12Add support for VC 15u5 (compiler version 19.12)Boris Kolpackov5-16/+29
2017-12-12Add support for C17 now that both GCC 8 and Clang 6 recognize -std=c17Boris Kolpackov1-2/+7
2017-12-11Fix Clang on Windows C runtime library linking logicBoris Kolpackov2-3/+3
2017-12-09Fix git commit id calculationBoris Kolpackov5-65/+93
2017-12-08Resolve VC issueBoris Kolpackov1-7/+7
2017-12-08Improve inconsistent C++ compiler diagnosticsBoris Kolpackov2-6/+20
2017-12-08Link libcmt.lib when building with Clang for win32-msvc targetBoris Kolpackov1-0/+11
2017-12-07Distinguish between "fixed" and "default" target extensionsBoris Kolpackov15-251/+270
This fixes wrong merging of, say, file{README} and file{README.MySQL} (in libmysqlclient).
2017-12-06Remove stray staticBoris Kolpackov1-1/+1
2017-12-06Fix bug in relaxed_atomicBoris Kolpackov1-1/+1
2017-12-06More work on Clang on Windows/MSVC supportBoris Kolpackov4-151/+147
2017-12-05Work around VC14 issuesBoris Kolpackov2-1/+18
2017-12-05Add support for first-access value typification during non-load phasesBoris Kolpackov5-50/+115
2017-12-05Minor value typification API changeBoris Kolpackov3-6/+6
2017-12-04Uninline variable_map::typify()Boris Kolpackov1-1/+1
2017-12-04Remap Clang on Windows target triplet to that of MSVCBoris Kolpackov1-0/+17
2017-12-04Improve cc/bin target mismatch diagnosticsBoris Kolpackov2-4/+8
2017-12-04Recognize empty cc.patternBoris Kolpackov5-9/+9
2017-12-04Improve diagnostics when c-family modules using different toolchainsBoris Kolpackov6-20/+50
We now also warn on toolchain pattern mismatch.
2017-12-04Implement better cross-hinting between c-family modulesBoris Kolpackov7-61/+141
2017-12-04Add cast_empty() for value castingBoris Kolpackov3-5/+47
2017-12-04Suppress duplicate module init() calls for same scopeBoris Kolpackov1-8/+38
2017-12-04Handle phase_lock failure in async match tasksBoris Kolpackov1-4/+8
2017-12-03Add few clarifying commentsBoris Kolpackov2-2/+5
2017-12-03Allow typification of variables and values across load generationsBoris Kolpackov6-34/+14
The original semantics turned out to be too restrictive. For example, the user may have specified the config.c variable on the command line that is only used by an imported project that is loaded in a subsequent generation. We are also relaxing it for values since conceptually the two feel the same. For a value the (hypothetical) example is a "common" variable set in a project root that is only queried in a subdirectory in a subsequent generation.
2017-12-01Fix GCC 7 -fimplicit-fallthrough warningsBoris Kolpackov5-42/+36
2017-12-01Terminate waiting threads if coming off failed load phaseBoris Kolpackov4-88/+169
In this case the build state may no longer be valid.
2017-11-30Implement module sidebuilds cleanup using scope operation callbacksBoris Kolpackov5-19/+72
2017-11-30Implement support for scope operation callbacksBoris Kolpackov4-48/+166
An entity (module, core) can register a function that will be called when an action is executed on the dir{} target that corresponds to the scope. The pre callback is called just before the recipe and the post -- immediately after.
2017-11-29Reimplement module sidebuilding using an ad hoc subprojectBoris Kolpackov8-204/+348
2017-11-28Fix bug in importing multiple targets with single directiveBoris Kolpackov1-0/+7
2017-11-27Add cxx_ prefix to module-related pkg-config variablesBoris Kolpackov1-12/+10
This way we can assume that those are the C++ (language) modules built by the cxx (build system) module.
2017-11-27Add {c,cxx}.class variablesBoris Kolpackov11-286/+399
Compiler class describes a set of compilers that follow more or less the same command line interface. Compilers that don't belong to any of the existing classes are in classes of their own (say, Sun CC would be on its own if we were to support it). Currently defined compiler classes: gcc gcc, clang, clang-apple, icc (on non-Windows) msvc msvc, clang-cl, icc (Windows)
2017-11-24Improve diagnosticsBoris Kolpackov1-2/+11
2017-11-24Fix few bugs in generated header path remapping logicBoris Kolpackov2-7/+12
2017-11-24Add extra library search paths as -L optionsBoris Kolpackov5-37/+89
2017-11-23Fix few typosBoris Kolpackov1-3/+3
2017-11-23Minor changeBoris Kolpackov1-1/+1
2017-11-22Remove -Xclang module options that seem to be passed by default in trunkBoris Kolpackov1-5/+1
2017-11-22Fix dist bug where missing source file would be silently ignoredBoris Kolpackov8-48/+101
2017-11-22Improve diagnosticsBoris Kolpackov1-1/+2
2017-11-22Streamline skip count diagnosticsBoris Kolpackov1-1/+1
2017-11-21Recursively check timestamps of libraries we are linkingBoris Kolpackov2-6/+28
2017-11-21Move eof() utility to libbutlBoris Kolpackov2-17/+3
2017-11-21Filter VC preprocessor diagnosticsBoris Kolpackov1-54/+79
It turns out VC may still print include notes after issuing errors.
2017-11-21Diagnose failure to open depdbBoris Kolpackov2-16/+40
The cause is often a missing fsdir{} if the user tries to stash the target in a subdirectory.
2017-11-21Improve skipped update diagnosticsBoris Kolpackov4-11/+36
Instead of printing a line for each target skipped we now print a summary with count at the end. We also now show the skip count in progress.
2017-11-20Only add /usr/local/{include,lib} if compiler added /usr/includeBoris Kolpackov1-14/+25
This makes sure we don't mess up cross-compilations or even native compilations with a custom sysroot.
2017-11-20Recognize CRLF sequences for line escaping in cc::lexerBoris Kolpackov1-0/+14
2017-11-20Handle case when compiler-reported header does not existBoris Kolpackov1-1/+16
This, for example, happens when compiling under wine with file wlantypes.h included as WlanTypes.h.