Skip to content

Commit 44a0557

Browse files
committed
utils: remove duplication from a bad merge
We were computing the SDKROOT multiply with the same logic twice which is unneeded. Clean this up to compute it once.
1 parent f0144ab commit 44a0557

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

utils/build.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,12 +1938,6 @@ function Build-Foundation([Platform]$Platform, $Arch, [switch]$Test = $false) {
19381938
(Get-Variable "${Platform}$($Arch.ShortName)" -ValueOnly).SDKInstallRoot
19391939
}
19401940

1941-
$SDKRoot = if ($Platform -eq "Windows") {
1942-
""
1943-
} else {
1944-
(Get-Variable "${Platform}$($Arch.ShortName)" -ValueOnly).SDKInstallRoot
1945-
}
1946-
19471941
Build-CMakeProject `
19481942
-Src $SourceCache\swift-corelibs-foundation `
19491943
-Bin $FoundationBinaryCache `

0 commit comments

Comments
 (0)