From 95e0e80025a379d4e1ee98ff3aeaaf84631be3f3 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 28 Sep 2025 15:06:07 -0700 Subject: [PATCH] Windows: disable the static standard library build We now build the experimental SDK statically and dynamically. For now, remove the static variant build for PR testing, the release builds will build both the static and dynamic variant. This will prevent packaging from being run on PR testing, and fortunately, the swift toolchain builds are going to build both already. --- utils/build-windows-toolchain.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build-windows-toolchain.bat b/utils/build-windows-toolchain.bat index 50a8c2599ed84..3baf595a7b809 100644 --- a/utils/build-windows-toolchain.bat +++ b/utils/build-windows-toolchain.bat @@ -72,7 +72,7 @@ if not "%SKIP_PACKAGING%"=="1" set "SkipPackagingArg= " :: Build the -WindowsSDKArchitectures argument, if any, otherwise build all the SDKs. set "WindowsSDKArchitecturesArg= " -if not "%WINDOWS_SDKS%"=="" set "WindowsSDKArchitecturesArg=-Windows -WindowsSDKArchitectures %WINDOWS_SDKS%" +if not "%WINDOWS_SDKS%"=="" set "WindowsSDKArchitecturesArg=-Windows -WindowsSDKArchitectures %WINDOWS_SDKS% -WindowsSDKLinkModes dynamic" :: Build the -HostArchName argument, if any. set "HostArchNameArg="