aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-11-30Implement module sidebuilds cleanup using scope operation callbacksBoris Kolpackov1-17/+15
2017-11-29Reimplement module sidebuilding using an ad hoc subprojectBoris Kolpackov1-30/+82
2017-11-27Add {c,cxx}.class variablesBoris Kolpackov1-230/+288
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-24Fix few bugs in generated header path remapping logicBoris Kolpackov1-6/+11
2017-11-24Add extra library search paths as -L optionsBoris Kolpackov1-21/+16
2017-11-23Fix few typosBoris Kolpackov1-3/+3
2017-11-22Remove -Xclang module options that seem to be passed by default in trunkBoris Kolpackov1-5/+1
2017-11-22Improve diagnosticsBoris Kolpackov1-1/+2
2017-11-21Move eof() utility to libbutlBoris Kolpackov1-17/+1
2017-11-21Filter VC preprocessor diagnosticsBoris Kolpackov1-54/+79
It turns out VC may still print include notes after issuing errors.
2017-11-21Improve skipped update diagnosticsBoris Kolpackov1-6/+1
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-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.
2017-11-15Enter outer prefixes in generated header prefix mapBoris Kolpackov1-24/+63
2017-11-06Revert back to using -fmodule-file for GCC and ClangBoris Kolpackov1-35/+119
Seeing that it's unclear if/when our patches for -fmodule-file-map will be accepted.
2017-10-17Fortify header dependency extraction against inconsistent behaviorBoris Kolpackov1-6/+19
2017-10-03Extract system header search paths from GCC or compatibleBoris Kolpackov1-8/+16
2017-09-01Add support for try_match(), use to handle deleted headersBoris Kolpackov1-8/+17
2017-08-30Switch to -fmodule-file=<name>=<file>, requires Clang 6.0/trunkBoris Kolpackov1-7/+7
2017-08-16Allow any directory separators when building src-out mapBoris Kolpackov1-3/+4
2017-08-14Skip invalid paths when trying to remap generated headersBoris Kolpackov1-45/+57
2017-08-06Fix preprocessing/header generation raceBoris Kolpackov1-11/+16
2017-08-06Filter out warning as error options during preprocessingBoris Kolpackov1-13/+17
2017-08-06Fix GCC -M/-MD logic some moreBoris Kolpackov1-9/+2
2017-08-06And make sure warning are not treated as errors for GCC -MD runBoris Kolpackov1-2/+9
2017-08-06Make sure warnings are disables for GCC -M runBoris Kolpackov1-8/+15
2017-08-06Create output directory for module sidebuildsBoris Kolpackov1-4/+13
The fsdir{} injection doesn't do it if out == src.
2017-08-06Handle preprocessor errors caused by outdated generated headersBoris Kolpackov1-9/+46
This works with Clang and VC but not (yet) with GCC.
2017-08-05Minor changesBoris Kolpackov1-2/+2
2017-08-05Implement src-to-out re-mapping for generated headersBoris Kolpackov1-58/+218
2017-08-04Implement sidebuilding of installed modulesBoris Kolpackov1-36/+229
2017-08-04Check for preprocessed value on source, not output targetBoris Kolpackov1-2/+4
2017-08-02Change cc.preprocessed to {c,cxx}.preprocessedBoris Kolpackov1-2/+2
2017-08-02Save module map to pkg-config filesBoris Kolpackov1-2/+4
2017-07-29Create libu{} and obj{} groups even if they don't existBoris Kolpackov1-4/+3
Failed that target-type/pattern-specific variables for groups may not have effect.
2017-07-29Refine utility library semantics with "see through" themeBoris Kolpackov1-6/+20
2017-07-28Tweak generated header prefix mapping heuristicsBoris Kolpackov1-4/+17
2017-07-28Implement support for linking whole archiveBoris Kolpackov1-3/+3
2017-07-27Initial infrastructure for utility librariesBoris Kolpackov1-56/+66
2017-07-27Fix to print to diagnostics stream instead of std::cerrKaren Arutyunov1-8/+6
2017-07-26Fix bug in precise change detection logicBoris Kolpackov1-4/+10
2017-07-26Implement module map storage in .d, use -fmodule-file-map in GCCBoris Kolpackov1-9/+48
2017-07-25Fix bug in switching to preprocessed sourceBoris Kolpackov1-7/+9
2017-07-25Use absolute path to translation unitBoris Kolpackov1-40/+46
This seems to be the only sane way to obtain the same hash regardless of the working directory.
2017-07-24Issue diagnostics when we ignore ignorable changesBoris Kolpackov1-2/+10
2017-07-22Increase target data pad sizeBoris Kolpackov1-2/+2
2017-07-22Implement detection of ignorable changes (whitespaces, comments)Boris Kolpackov1-81/+139
2017-07-21Use binary mode when pre-parsing translation unitBoris Kolpackov1-2/+3
Failed that, the module export position we obtain cannot be reliably seeked to.
2017-07-21Adjust GCC module option name (-fmodule-file)Boris Kolpackov1-1/+1
2017-07-21Unset VC's IFCPATH if we are using custom std.* modulesBoris Kolpackov1-9/+46
2017-07-21Keep partially preprocessed output around if using modulesBoris Kolpackov1-27/+52
Since with modules we may have to recompile and otherwise unchanged translation unit because of a BMI change.