Merge pull request #84096 from compnerd/computation

build.ps1: clean up SDKROOT references
This commit is contained in:
Saleem Abdulrasool
2025-09-04 09:11:58 -07:00
committed by GitHub

View File

@@ -3618,7 +3618,7 @@ function Build-IndexStoreDB([Hashtable] $Platform) {
-Bin (Get-ProjectBinaryCache $Platform IndexStoreDB) `
-Platform $Platform `
-UseBuiltCompilers C,CXX,Swift `
-SwiftSDK (Get-SwiftSDK $Platform.OS) `
-SwiftSDK $SDKROOT `
-BuildTargets default `
-Defines @{
BUILD_SHARED_LIBS = "NO";
@@ -3800,7 +3800,7 @@ function Build-Inspect([Hashtable] $Platform) {
-InstallTo $InstallPath `
-Platform $Platform `
-UseBuiltCompilers C,CXX,Swift `
-SwiftSDK (Get-SwiftSDK $Platform.OS) `
-SwiftSDK $SDKROOT `
-Defines @{
CMAKE_Swift_FLAGS = @(
"-Xcc", "-I$SDKROOT\usr\include",