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 @@ -1201,7 +1201,7 @@ function Build-CMakeProject {
12011201 }
12021202
12031203 if ($UseBuiltCompilers.Contains (" Swift" )) {
1204- $env: Path = " $ ( $BuildArch.SDKInstallRoot ) \usr\bin;$ ( Get-CMarkBinaryCache $Arch ) \src;$ ( $BuildArch.ToolchainInstallRoot ) \usr\bin;${env: Path} "
1204+ $env: Path = " $ ( $BuildArch.SDKInstallRoot ) \usr\bin;$ ( Get-CMarkBinaryCache $BuildArch ) \src;$ ( $BuildArch.ToolchainInstallRoot ) \usr\bin; $ ( Get-PinnedToolchainRuntime ) ;${env: Path} "
12051205 } elseif ($UsePinnedCompilers.Contains (" Swift" )) {
12061206 $env: Path = " $ ( Get-PinnedToolchainRuntime ) ;${env: Path} "
12071207 }
@@ -1969,7 +1969,7 @@ function Build-FoundationMacros() {
19691969
19701970 $SwiftSDK = $null
19711971 if ($Build ) {
1972- $SwiftSDK = $BuildArch .SDKInstallRoot
1972+ $SwiftSDK = $ ( Get-PinnedToolchainSDK )
19731973 }
19741974
19751975 $InstallDir = $null
@@ -2621,7 +2621,7 @@ function Build-TestingMacros() {
26212621
26222622 $SwiftSDK = $null
26232623 if ($Build ) {
2624- $SwiftSDK = $BuildArch .SDKInstallRoot
2624+ $SwiftSDK = $ ( Get-PinnedToolchainSDK )
26252625 }
26262626
26272627 $Targets = if ($Build ) {
You can’t perform that action at this time.
0 commit comments