Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension SwiftSDKGenerator {
baseDockerImage: String,
sdkDirPath: FilePath
) async throws {
logGenerationStep("Launching a Docker container to copy Swift SDK for the target triple from it...")
logGenerationStep("Launching a container to extract the Swift SDK for the target triple...")
try await withDockerContainer(fromImage: baseDockerImage) { containerID in
try await inTemporaryDirectory { generator, _ in
let sdkUsrPath = sdkDirPath.appending("usr")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public actor SwiftSDKGenerator {
}

private let fileManager = FileManager.default
private static let dockerCommand = "docker"
private static let dockerCommand = ProcessInfo.processInfo.environment["SWIFT_SDK_GENERATOR_CONTAINER_RUNTIME"] ?? "docker"

public static func getCurrentTriple(isVerbose: Bool) throws -> Triple {
let current = UnixName.current!
Expand Down