Skip to content

Commit 353a1f0

Browse files
committed
Add more debug log for swiftc invocation
1 parent 5b024e8 commit 353a1f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utils/build.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,12 @@ function Build-CMakeProject {
10751075
} else {
10761076
TryAdd-KeyValue $Defines CMAKE_Swift_COMPILER (Join-Path -Path (Get-PinnedToolchainTool) -ChildPath "swiftc.exe")
10771077
}
1078+
1079+
$DebugSwiftC = $Defines["CMAKE_Swift_COMPILER"]
1080+
Write-Host "DEBUG DEBUG DEBUG CMAKE_Swift_COMPILER: $DebugSwiftC"
1081+
$DebugSwiftC += " --version"
1082+
Invoke-Expression $DebugSwiftC
1083+
10781084
if (-not ($Platform -eq "Windows")) {
10791085
TryAdd-KeyValue $Defines CMAKE_Swift_COMPILER_WORKS = "YES"
10801086
}

0 commit comments

Comments
 (0)