Skip to content

Commit da0aa69

Browse files
committed
[Integrated Swift Driver] Do not create CompilerOutputParsers for swift-frontend jobs
The swift-frontend currently does not support parseable output, therefore, the parsers here are not needed. The presence of these parsers also leads to these jobs to be skipped from being reported on in the LLBuild status line printing. Resolves rdar://66594405
1 parent 13d60ca commit da0aa69

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/Build/BuildDelegate.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,11 +358,7 @@ public final class BuildDelegate: BuildSystemDelegate, SwiftCompilerOutputParser
358358
let swiftParsers = bctx.buildDescription?.swiftCommands.mapValues { tool in
359359
SwiftCompilerOutputParser(targetName: tool.moduleName, delegate: self)
360360
} ?? [:]
361-
let swiftFrontendParsers = bctx.buildDescription?.swiftFrontendCommands.mapValues { tool in
362-
SwiftCompilerOutputParser(targetName: tool.moduleName, delegate: self)
363-
} ?? [:]
364-
self.swiftParsers = swiftParsers.merging(swiftFrontendParsers) { (_, _) in fatalError("duplicated Swift command")
365-
}
361+
self.swiftParsers = swiftParsers
366362
}
367363

368364
public var fs: SPMLLBuild.FileSystem? {

0 commit comments

Comments
 (0)