Skip to content

Commit ecb74b5

Browse files
author
David Ungar
committed
Make the new behavior the default.
1 parent 4668718 commit ecb74b5

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

include/swift/Option/Options.td

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,9 @@ Flag<["-"], "enable-fine-grained-dependencies">, Flags<[FrontendOption, HelpHidd
140140
HelpText<"Experimental work-in-progress to be more selective about incremental recompilation">;
141141

142142

143-
def only_one_dependency_file :
144-
Flag<["-"], "only-one-dependency-file">, Flags<[DoesNotAffectIncrementalBuild]>,
145-
HelpText<"Experimental flag for faster thousand-source-file incremental builds">;
146-
143+
def disable_only_one_dependency_file :
144+
Flag<["-"], "disable-only-one-dependency-file">, Flags<[DoesNotAffectIncrementalBuild]>,
145+
HelpText<"Disables incremental build optimization that only produces one dependencies file">;
147146

148147
def enable_source_range_dependencies :
149148
Flag<["-"], "enable-source-range-dependencies">, Flags<[]>,

lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ Driver::buildCompilation(const ToolChain &TC,
953953
createStatsReporter(ArgList.get(), Inputs, OI, DefaultTargetTriple);
954954

955955
const bool OnlyOneDependencyFile =
956-
ArgList->hasArg(options::OPT_only_one_dependency_file);
956+
!ArgList->hasArg(options::OPT_disable_only_one_dependency_file);
957957
// relies on the new dependency graph
958958

959959
const bool EnableFineGrainedDependencies =

0 commit comments

Comments
 (0)