@@ -1602,7 +1602,7 @@ function Build-Dispatch([Platform]$Platform, $Arch, [switch]$Test = $false) {
1602
1602
$Targets = @ (" default" , " ExperimentalTest" )
1603
1603
$InstallPath = " "
1604
1604
} else {
1605
- $Targets = @ (" default" , " install " )
1605
+ $Targets = @ (" default" )
1606
1606
$InstallPath = " $ ( $Arch.SDKInstallRoot ) \usr"
1607
1607
}
1608
1608
@@ -1652,7 +1652,7 @@ function Build-Foundation([Platform]$Platform, $Arch, [switch]$Test = $false) {
1652
1652
1653
1653
Isolate- EnvVars {
1654
1654
$TestingDefines = @ { ENABLE_TESTING = " NO" }
1655
- $Targets = @ (" default" , " install " )
1655
+ $Targets = @ (" default" )
1656
1656
$InstallPath = " $ ( $Arch.SDKInstallRoot ) \usr"
1657
1657
1658
1658
if ($Platform -eq " Android" ) {
@@ -1714,7 +1714,7 @@ function Build-XCTest([Platform]$Platform, $Arch, [switch]$Test = $false) {
1714
1714
$env: Path = " $XCTestBinaryCache ;$FoundationBinaryCache \bin;$DispatchBinaryCache ;$ ( Get-TargetProjectBinaryCache $Arch Runtime) \bin;$env: Path ;$UnixToolsBinDir "
1715
1715
} else {
1716
1716
$TestingDefines = @ { ENABLE_TESTING = " NO" }
1717
- $Targets = @ (" default" , " install " )
1717
+ $Targets = @ (" default" )
1718
1718
$InstallPath = " $ ( $Arch.XCTestInstallRoot ) \usr"
1719
1719
}
1720
1720
@@ -1914,15 +1914,17 @@ function Build-LLBuild($Arch, [switch]$Test = $false) {
1914
1914
$env: Path = " $env: Path ;$UnixToolsBinDir "
1915
1915
$env: AR = ([IO.Path ]::Combine((Get-HostProjectBinaryCache Compilers), " bin" , " llvm-ar.exe" ))
1916
1916
$env: CLANG = ([IO.Path ]::Combine((Get-HostProjectBinaryCache Compilers), " bin" , " clang.exe" ))
1917
+ $InstallPath = " "
1917
1918
} else {
1918
- $Targets = @ (" default" , " install " )
1919
+ $Targets = @ (" default" )
1919
1920
$TestingDefines = @ {}
1921
+ $InstallPath = " $ ( $Arch.ToolchainInstallRoot ) \usr"
1920
1922
}
1921
1923
1922
1924
Build-CMakeProject `
1923
1925
- Src $SourceCache \llbuild `
1924
1926
- Bin (Get-HostProjectBinaryCache LLBuild) `
1925
- - InstallTo " $ ( $Arch .ToolchainInstallRoot ) \usr " `
1927
+ - InstallTo $InstallPath `
1926
1928
- Arch $Arch `
1927
1929
- Platform Windows `
1928
1930
- UseMSVCCompilers CXX `
0 commit comments