mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #84096 from compnerd/computation
build.ps1: clean up SDKROOT references
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user