Skip to content

Commit 2728865

Browse files
authored
Merge pull request #85800 from edymtt/edymtt/allow-wmo-for-runtime-and-stringprocessing
Runtimes: build Runtime and StringProcessing with whole module...
2 parents d6b23bb + aaad315 commit 2728865

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Runtimes/Supplemental/Runtime/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ add_compile_options(
8888
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature LifetimeDependenceMutableAccessors>"
8989
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-disable-upcoming-feature MemberImportVisibility>"
9090
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -enable-lexical-lifetimes=false>"
91-
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -enable-ossa-modules>"
9291
"$<$<COMPILE_LANGUAGE:Swift>:-warn-implicit-overrides>"
9392
"$<$<COMPILE_LANGUAGE:Swift>:-cxx-interoperability-mode=default>"
9493
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -experimental-spi-only-imports>"

Runtimes/Supplemental/Runtime/cmake/caches/Vendors/Apple/apple-common.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
22
set(BUILD_SHARED_LIBS YES CACHE BOOL "")
3+
set(CMAKE_Swift_COMPILATION_MODE wholemodule CACHE STRING "")
34
set(SwiftRuntime_INSTALL_NESTED_SUBDIR OFF CACHE BOOL "")
45

56
set(CMAKE_CXX_FLAGS_MINSIZEREL "-Os -g -DNDEBUG" CACHE STRING "")

0 commit comments

Comments
 (0)