Skip to content

Commit 6d0a40c

Browse files
committed
utils: adjust missed helpers in build.ps1
These were missed in the conversion from host/build/target to host based builds.
1 parent 9a8f827 commit 6d0a40c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2177,7 +2177,7 @@ function Test-Runtime([Platform]$Platform, $Arch) {
21772177
if ($IsCrossCompiling) {
21782178
throw "Swift runtime tests are not supported when cross-compiling"
21792179
}
2180-
if (-not (Test-Path (Get-TargetProjectBinaryCache $Arch Runtime))) {
2180+
if (-not (Test-Path (Get-ProjectBinaryCache $Arch Runtime))) {
21812181
throw "Swift runtime tests are supposed to reconfigure the existing build"
21822182
}
21832183
$CompilersBinaryCache = Get-HostProjectBinaryCache Compilers
@@ -2192,7 +2192,7 @@ function Test-Runtime([Platform]$Platform, $Arch) {
21922192
$env:Path = "$(Get-CMarkBinaryCache $Arch)\src;$(Get-PinnedToolchainRuntime);${env:Path};$UnixToolsBinDir"
21932193
Build-CMakeProject `
21942194
-Src $SourceCache\swift `
2195-
-Bin (Get-TargetProjectBinaryCache $Arch Runtime) `
2195+
-Bin (Get-ProjectBinaryCache $Arch Runtime) `
21962196
-Arch $Arch `
21972197
-Platform $Platform `
21982198
-UseBuiltCompilers C,CXX,Swift `

0 commit comments

Comments
 (0)