Skip to content

Commit eac1fe4

Browse files
committed
Drop unecessary CMAKE_SYSTEM_NAME for dispatch, foundation and xctest build invocations
1 parent 4cfd5f1 commit eac1fe4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

utils/build.ps1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,6 @@ function Build-Dispatch([Platform]$Platform, $Arch, [switch]$Test = $false) {
16161616
-UseBuiltCompilers C,CXX,Swift `
16171617
-BuildTargets $Targets `
16181618
-Defines @{
1619-
CMAKE_SYSTEM_NAME = $Platform.ToString();
16201619
ENABLE_SWIFT = "YES";
16211620
}
16221621
}
@@ -1651,7 +1650,6 @@ function Build-Foundation([Platform]$Platform, $Arch, [switch]$Test = $false) {
16511650
-BuildTargets $Targets `
16521651
-Defines (@{
16531652
FOUNDATION_BUILD_TOOLS = if ($Platform -eq "Windows") { "YES" } else { "NO" };
1654-
CMAKE_SYSTEM_NAME = $Platform.ToString();
16551653
# Turn off safeseh for lld as it has safeseh enabled by default
16561654
# and fails with an ICU data object file icudt69l_dat.obj. This
16571655
# matters to X86 only.
@@ -1723,7 +1721,6 @@ function Build-XCTest([Platform]$Platform, $Arch, [switch]$Test = $false) {
17231721
-BuildTargets $Targets `
17241722
-Defines (@{
17251723
CMAKE_BUILD_WITH_INSTALL_RPATH = "YES";
1726-
CMAKE_SYSTEM_NAME = $Platform.ToString();
17271724
dispatch_DIR = "$DispatchBinaryCache\cmake\modules";
17281725
Foundation_DIR = "$FoundationBinaryCache\cmake\modules";
17291726
} + $TestingDefines)

0 commit comments

Comments
 (0)