Skip to content

Commit 4645c6f

Browse files
author
David Ungar
committed
grab planning change
1 parent 60b8f62 commit 4645c6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SwiftDriver/Jobs/Planning.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ extension Driver {
238238
jobGroup.append(job)
239239
}
240240
addJobGroup(jobGroup)
241-
} else {
241+
} else if !(compilerOutputType == .swiftModule && shouldCreateEmitModuleJob) {
242+
// We can skip the compile jobs if all we want is a module when it's
243+
// built separately.
242244
let job = try compileJob(primaryInputs: primaryInputs,
243245
outputType: compilerOutputType,
244246
addJobOutputs: addJobOutputs,

0 commit comments

Comments
 (0)