Skip to content

Commit 5d7d63f

Browse files
committed
Fix python arch on the windows arm64 CI
https://ci-external.swift.org/job/swift-main-windows-toolchain-arm64/777/consoleText ``` Error: Program 'python.exe' failed to run: The specified executable is not a valid application for this OS platform.At C:\Users\swift-ci\jenkins\workspace\swift-main-windows-toolchain-arm64\swift\utils\build.ps1:545 char:7 + & $Executable @Args | Out-Null + ~~~~~~~~~~~~~~~~~~~. ```
1 parent ecf7ac9 commit 5d7d63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ function Get-BisonExecutable {
351351
}
352352

353353
function Get-PythonExecutable {
354-
return Join-Path -Path $BinaryCache -ChildPath "Python$($HostArch.CMakeName)-$PythonVersion\tools\python.exe"
354+
return Join-Path -Path $BinaryCache -ChildPath "Python$($BuildArch.CMakeName)-$PythonVersion\tools\python.exe"
355355
}
356356

357357
function Get-InstallDir($Arch) {

0 commit comments

Comments
 (0)