You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create discovered dependencies file for emit-module jobs
Emit-module jobs might have different discovered dependencies and run in a different context where they need to get invalidated separately from the compile jobs.
With the new key "emit-module-dependencies" in the output file map the build system can specify that it expects a makefile-style dependency file at the given path.
rdar://91574616
Copy file name to clipboardExpand all lines: Sources/SwiftOptions/ExtraOptions.swift
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ extension Option {
20
20
publicstaticletemitModuleSeparatelyWMO:Option=Option("-emit-module-separately-wmo",.flag, attributes:[.helpHidden], helpText:"Emit module files as a distinct job in wmo builds")
21
21
publicstaticletnoEmitModuleSeparatelyWMO:Option=Option("-no-emit-module-separately-wmo",.flag, attributes:[.helpHidden], helpText:"Emit module files as a distinct job in wmo builds")
22
22
publicstaticletemitModuleSerializeDiagnosticsPath:Option=Option("-emit-module-serialize-diagnostics-path",.separate, attributes:[.argumentIsPath,.supplementaryOutput], metaVar:"<path>", helpText:"Emit a serialized diagnostics file for the emit-module task to <path>")
23
+
publicstaticletemitModuleDependenciesPath:Option=Option("-emit-module-dependencies-path",.separate, attributes:[.argumentIsPath,.supplementaryOutput], metaVar:"<path>", helpText:"Emit a discovered dependencies file for the emit-module task to <path>")
23
24
publicstaticletuseFrontendParseableOutput:Option=Option("-use-frontend-parseable-output",.flag, attributes:[.helpHidden], helpText:"Emit parseable-output from swift-frontend jobs instead of from the driver")
0 commit comments