File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1183,7 +1183,7 @@ function Build-CMakeProject {
11831183 }
11841184
11851185 if ($UseBuiltCompilers.Contains (" Swift" )) {
1186- $env: Path = " $ ( $BuildArch.SDKInstallRoot ) \usr\bin;$ ( Get-CMarkBinaryCache $Arch ) \src;$ ( $BuildArch.ToolchainInstallRoot ) \usr\bin;${env: Path} "
1186+ $env: Path = " $ ( $BuildArch.SDKInstallRoot ) \usr\bin;$ ( Get-CMarkBinaryCache $BuildArch ) \src;$ ( $BuildArch.ToolchainInstallRoot ) \usr\bin; $ ( Get-PinnedToolchainRuntime ) ;${env: Path} "
11871187 } elseif ($UsePinnedCompilers.Contains (" Swift" )) {
11881188 $env: Path = " $ ( Get-PinnedToolchainRuntime ) ;${env: Path} "
11891189 }
@@ -1944,7 +1944,7 @@ function Build-FoundationMacros() {
19441944
19451945 $SwiftSDK = $null
19461946 if ($Build ) {
1947- $SwiftSDK = $BuildArch .SDKInstallRoot
1947+ $SwiftSDK = $ ( Get-PinnedToolchainSDK )
19481948 }
19491949
19501950 $InstallDir = $null
@@ -2580,7 +2580,7 @@ function Build-TestingMacros() {
25802580
25812581 $SwiftSDK = $null
25822582 if ($Build ) {
2583- $SwiftSDK = $BuildArch .SDKInstallRoot
2583+ $SwiftSDK = $ ( Get-PinnedToolchainSDK )
25842584 }
25852585
25862586 $Targets = if ($Build ) {
You can’t perform that action at this time.
0 commit comments