From 20a76e82e4c0333c909755399ef240ab6429ae66 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 30 Sep 2025 15:09:33 -0700 Subject: [PATCH] build.ps1: enable Foundation tools on experimental SDK When building the experimental SDK, build the foundation tools. This is needed to ensure that we can package the runtime without the legacy SDK. --- utils/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index bc2d8ba443fb0..cc11800e218ac 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -3249,7 +3249,7 @@ function Build-ExperimentalSDK([Hashtable] $Platform) { CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib"; ENABLE_TESTING = "NO"; - FOUNDATION_BUILD_TOOLS = "NO"; + FOUNDATION_BUILD_TOOLS = if ($Platform.OS -eq [OS]::Windows) { "YES" } else { "NO" }; CURL_DIR = "$BinaryCache\$($Platform.Triple)\usr\lib\cmake\CURL"; LibXml2_DIR = "$BinaryCache\$($Platform.Triple)\usr\lib\cmake\libxml2-2.11.5"; ZLIB_INCLUDE_DIR = "$BinaryCache\$($Platform.Triple)\usr\include";