Skip to content

Commit 54927e2

Browse files
[CMake] Move ClangOverlays (_Builtin_float) to Core
The _Builtin_float overlay layers under the Libc overlays, and so it needs to be in the core stdlib group. rdar://125068518
1 parent e424ede commit 54927e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,16 +241,16 @@ if(SWIFT_BUILD_STDLIB)
241241
add_subdirectory(stubs)
242242
add_subdirectory(core)
243243
add_subdirectory(SwiftOnoneSupport)
244+
245+
if(SWIFT_BUILD_CLANG_OVERLAYS)
246+
add_subdirectory(ClangOverlays)
247+
endif()
244248
endif()
245249

246250
if(SWIFT_BUILD_STDLIB AND NOT SWIFT_STDLIB_BUILD_ONLY_CORE_MODULES)
247251
# In some internal Apple configurations we have the need
248252
# to build Core and Onone separately from the rest
249253
# of the stdlib
250-
if(SWIFT_BUILD_CLANG_OVERLAYS)
251-
add_subdirectory(ClangOverlays)
252-
endif()
253-
254254
if(SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING)
255255
add_subdirectory(Differentiation)
256256
endif()

0 commit comments

Comments
 (0)