File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,16 @@ extension LLBuildManifestBuilder {
213
213
if buildParameters. useExplicitModuleBuild {
214
214
commandLine. append ( " -experimental-explicit-module-build " )
215
215
}
216
-
217
- var driver = try Driver ( args: commandLine, fileSystem: target. fs)
216
+ // FIXME: At some point SwiftPM should provide its own executor for
217
+ // running jobs/launching processes during planning
218
+ let executor = try SwiftDriverExecutor ( diagnosticsEngine: plan. diagnostics,
219
+ processSet: ProcessSet ( ) ,
220
+ fileSystem: target. fs,
221
+ env: ProcessEnv . vars)
222
+ var driver = try Driver ( args: commandLine,
223
+ diagnosticsEngine: plan. diagnostics,
224
+ fileSystem: target. fs,
225
+ executor: executor)
218
226
let jobs = try driver. planBuild ( )
219
227
let resolver = try ArgsResolver ( fileSystem: target. fs)
220
228
You can’t perform that action at this time.
0 commit comments