-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ms-quic] Remove from ci.baseline.txt and fix UWP builds. (#39498)
Also fix uwp builds so that all ci.baseline.txt entries can be removed, submitted upstream as microsoft/msquic#4373 Also fix x86-windows builds which incorrectly compared SYSTEM_PROCESSOR with 'win32' rather than 'x86'. Submitted upstream as microsoft/msquic#4374 . This patch originally authored by @LillyWangLL Originally started from #39475 Co-authored by: Lily Wang <[email protected]>
- Loading branch information
1 parent
1cdb5e0
commit 2e7fd31
Showing
7 changed files
with
76 additions
and
28 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
ports/ms-quic/fix-comparing-system-processor-with-win32.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/submodules/CMakeLists.txt b/submodules/CMakeLists.txt | ||
index a6c592951..0a0ddf0f8 100644 | ||
--- a/submodules/CMakeLists.txt | ||
+++ b/submodules/CMakeLists.txt | ||
@@ -62,7 +62,7 @@ if (WIN32) | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64-ARM") | ||
elseif (${SYSTEM_PROCESSOR} STREQUAL "arm") | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32-ARM") | ||
- elseif (${SYSTEM_PROCESSOR} STREQUAL "win32") | ||
+ elseif (${SYSTEM_PROCESSOR} STREQUAL "x86") | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32-ONECORE") | ||
elseif (${SYSTEM_PROCESSOR} STREQUAL "x64" OR ${SYSTEM_PROCESSOR} STREQUAL "amd64") | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64A-ONECORE") | ||
@@ -75,7 +75,7 @@ if (WIN32) | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64-ARM") | ||
elseif (${SYSTEM_PROCESSOR} STREQUAL "arm") | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32-ARM") | ||
- elseif (${SYSTEM_PROCESSOR} STREQUAL "win32") | ||
+ elseif (${SYSTEM_PROCESSOR} STREQUAL "x86") | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN32") | ||
elseif (${SYSTEM_PROCESSOR} STREQUAL "x64" OR ${SYSTEM_PROCESSOR} STREQUAL "amd64") | ||
set(QUIC_OPENSSL_WIN_ARCH "VC-WIN64A") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 3f8f4d58f..df689627c 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -598,9 +598,9 @@ if(WIN32) | ||
endif() | ||
|
||
if (NOT QUIC_STATIC_LINK_CRT AND NOT QUIC_STATIC_LINK_PARTIAL_CRT) | ||
- # We are using dynamic linking. Ensure that only the release version of CRT is used. | ||
- message(STATUS "Configuring for release version of dynamically linked CRT") | ||
- set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL") | ||
+ # We are using dynamic linking. Ensure that only the dynamic CRT is used. | ||
+ message(STATUS "Configuring for dynamically linked CRT") | ||
+ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL") | ||
endif() | ||
|
||
else() #!WIN32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters