mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #75140 from hyp/eng/windows-local-build
[windows][build.ps1] only use swift-corelibs-foundation-windows checkout
This commit is contained in:
@@ -1669,8 +1669,15 @@ function Build-Foundation([Platform]$Platform, $Arch, [switch]$Test = $false) {
|
||||
}
|
||||
|
||||
$env:CTEST_OUTPUT_ON_FAILURE = 1
|
||||
if ($env:CI) {
|
||||
# Use the windows-specific checkout on CI that provides
|
||||
# a checkout that does not yet use swift-foundation.
|
||||
$RepoName = "swift-corelibs-foundation-windows";
|
||||
} else {
|
||||
$RepoName = "swift-corelibs-foundation";
|
||||
}
|
||||
Build-CMakeProject `
|
||||
-Src $SourceCache\swift-corelibs-foundation-windows `
|
||||
-Src $SourceCache\$RepoName `
|
||||
-Bin $FoundationBinaryCache `
|
||||
-InstallTo $InstallPath `
|
||||
-Arch $Arch `
|
||||
|
||||
Reference in New Issue
Block a user