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 @@ -866,7 +866,9 @@ function Build-CMakeProject {
866866 }
867867
868868 if ($UseBuiltCompilers.Contains (" Swift" )) {
869- $env: Path = " $ ( $HostArch.SDKInstallRoot ) \usr\bin;$ ( $HostArch.ToolchainInstallRoot ) \usr\bin;${env: Path} "
869+ $env: Path = " $ ( $HostArch.SDKInstallRoot ) \usr\bin;$ ( $HostArch.BinaryCache ) \cmark-gfm-0.29.0.gfm.13\src;$ ( $HostArch.ToolchainInstallRoot ) \usr\bin;${env: Path} "
870+ } elseif ($UsePinnedCompilers.Contains (" Swift" )) {
871+ $env: Path = " $ ( Get-PinnedToolchainRuntime ) ;${env: Path} "
870872 }
871873 Invoke-Program cmake.exe @cmakeGenerateArgs
872874
@@ -1107,8 +1109,6 @@ function Build-Compilers() {
11071109 }
11081110 }
11091111
1110- $env: Path = " $ ( Get-PinnedToolchainRuntime ) ;${env: Path} "
1111-
11121112 Build-CMakeProject `
11131113 - Src $SourceCache \llvm- project\llvm `
11141114 - Bin $CompilersBinaryCache `
You can’t perform that action at this time.
0 commit comments