File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,12 @@ class Compilation {
264
264
// / added -emit-dependency-path.
265
265
bool HaveAlreadyAddedDependencyPath = false ;
266
266
267
- // / Set if the -only-one-dependency-file flag is set
267
+ // / When set, only the first scheduled frontend job gets the argument needed
268
+ // / to produce a make-style dependency file. The other jobs create dummy files
269
+ // / in the driver. This hack speeds up incremental compilation by reducing the
270
+ // / time for the build system to read each dependency file, which are all
271
+ // / identical. This optimization can be disabled by passing
272
+ // / -disable-only-one-dependency-file on the command line.
268
273
const bool OnlyOneDependencyFile;
269
274
270
275
// / Scaffolding to permit experimentation with finer-grained dependencies and
You can’t perform that action at this time.
0 commit comments