diff --git a/Runtimes/Core/CMakeLists.txt b/Runtimes/Core/CMakeLists.txt index ff1b35cd93e82..c255750512c31 100644 --- a/Runtimes/Core/CMakeLists.txt +++ b/Runtimes/Core/CMakeLists.txt @@ -181,7 +181,6 @@ add_link_options($<$:LINKER:-z,defs>) add_compile_options( $<$:-explicit-module-build> "$<$:-nostdlibimport>" - "$<$:SHELL:-swift-version 5>" "$<$:SHELL:-library-level api>" "$<$:SHELL:-runtime-compatibility-version none>" "$<$:-disable-autolinking-runtime-compatibility-dynamic-replacements>" diff --git a/Runtimes/Overlay/Cxx/CMakeLists.txt b/Runtimes/Overlay/Cxx/CMakeLists.txt index f6317d066fdc1..5f43f25409f7c 100644 --- a/Runtimes/Overlay/Cxx/CMakeLists.txt +++ b/Runtimes/Overlay/Cxx/CMakeLists.txt @@ -31,7 +31,6 @@ target_compile_options(swiftCxx PRIVATE # This module should not pull in the C++ standard library, so we disable it # explicitly. For functionality that depends on the C++ stdlib, use C++ # stdlib overlay (`swiftstd` module). - "$<$:SHELL:-swift-version 5>" "$<$:SHELL:-Xcc -nostdinc++>" "$<$:SHELL:-enable-experimental-feature AllowUnsafeAttribute>" "$<$:SHELL:-enable-experimental-feature BuiltinModule>" diff --git a/Runtimes/Supplemental/Differentiation/CMakeLists.txt b/Runtimes/Supplemental/Differentiation/CMakeLists.txt index a7491307fc652..20cc38a989fbd 100644 --- a/Runtimes/Supplemental/Differentiation/CMakeLists.txt +++ b/Runtimes/Supplemental/Differentiation/CMakeLists.txt @@ -66,7 +66,6 @@ add_compile_options( $<$:-explicit-module-build> $<$:-nostdlibimport> $<$:-parse-stdlib> - "$<$:SHELL:-swift-version 5>" "$<$:SHELL:-library-level api>" "$<$:SHELL:-enable-experimental-feature NoncopyableGenerics2>" "$<$:SHELL:-enable-experimental-feature SuppressedAssociatedTypes>" diff --git a/Runtimes/Supplemental/Distributed/CMakeLists.txt b/Runtimes/Supplemental/Distributed/CMakeLists.txt index 6bea6fa1cc292..d406c9bc8c0db 100644 --- a/Runtimes/Supplemental/Distributed/CMakeLists.txt +++ b/Runtimes/Supplemental/Distributed/CMakeLists.txt @@ -75,7 +75,6 @@ add_compile_options( $<$:-explicit-module-build> $<$:-nostdlibimport> $<$:-strict-memory-safety> - "$<$:SHELL:-swift-version 5>" "$<$:SHELL:-enable-experimental-feature NoncopyableGenerics2>" "$<$:SHELL:-enable-experimental-feature SuppressedAssociatedTypes>" "$<$:SHELL:-enable-experimental-feature SE427NoInferenceOnExtension>" diff --git a/Runtimes/Supplemental/Observation/CMakeLists.txt b/Runtimes/Supplemental/Observation/CMakeLists.txt index 59434af525484..2c6028dcf2458 100644 --- a/Runtimes/Supplemental/Observation/CMakeLists.txt +++ b/Runtimes/Supplemental/Observation/CMakeLists.txt @@ -66,7 +66,6 @@ option(${PROJECT_NAME}_ENABLE_PRESPECIALIZATION "Enable generic metadata prespec add_compile_options( $<$:-explicit-module-build> $<$:-nostdlibimport> - "$<$:SHELL:-swift-version 5>" "$<$:SHELL:-Xfrontend -enforce-exclusivity=unchecked>" "$<$:SHELL:-Xfrontend -target-min-inlining-version -Xfrontend min>" "$<$:SHELL:-Xfrontend -disable-implicit-string-processing-module-import>" diff --git a/Runtimes/Supplemental/StringProcessing/CMakeLists.txt b/Runtimes/Supplemental/StringProcessing/CMakeLists.txt index 756f170dc0127..fe77919d71b12 100644 --- a/Runtimes/Supplemental/StringProcessing/CMakeLists.txt +++ b/Runtimes/Supplemental/StringProcessing/CMakeLists.txt @@ -52,7 +52,6 @@ option(${PROJECT_NAME}_ENABLE_PRESPECIALIZATION "Enable generic metadata prespec add_compile_options( $<$:-explicit-module-build> $<$:-nostdlibimport> - "$<$:SHELL:-swift-version 5>" "$<$:SHELL:-Xfrontend -disable-implicit-concurrency-module-import>" "$<$:SHELL:-Xfrontend -disable-implicit-string-processing-module-import>" "$<$:-warn-implicit-overrides>" diff --git a/Runtimes/Supplemental/Synchronization/CMakeLists.txt b/Runtimes/Supplemental/Synchronization/CMakeLists.txt index 327ab796a1065..379f1c1f58e5e 100644 --- a/Runtimes/Supplemental/Synchronization/CMakeLists.txt +++ b/Runtimes/Supplemental/Synchronization/CMakeLists.txt @@ -71,7 +71,6 @@ add_compile_options( $<$:-nostdlibimport> $<$:-enable-builtin-module> $<$:-strict-memory-safety> - "$<$:SHELL:-swift-version 5>" "$<$:SHELL:-enable-experimental-feature NoncopyableGenerics2>" "$<$:SHELL:-enable-experimental-feature SuppressedAssociatedTypes>" "$<$:SHELL:-enable-experimental-feature SE427NoInferenceOnExtension>" diff --git a/Runtimes/Supplemental/Volatile/CMakeLists.txt b/Runtimes/Supplemental/Volatile/CMakeLists.txt index 30261e1face46..a0daab7542552 100644 --- a/Runtimes/Supplemental/Volatile/CMakeLists.txt +++ b/Runtimes/Supplemental/Volatile/CMakeLists.txt @@ -66,7 +66,6 @@ add_compile_options( $<$:-explicit-module-build> $<$:-nostdlibimport> $<$:-strict-memory-safety> - "$<$:SHELL:-swift-version 5>" "$<$,$>:-enable-library-evolution>" "$<$,$>:SHELL:-Xfrontend -prespecialize-generic-metadata>")