Skip to content

Commit dda68d6

Browse files
committed
[embedded] Add embedded-unicode into embedded-libraries, drop 'ALL' when not necessary
1 parent 75aed2c commit dda68d6

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ elseif(BOOTSTRAPPING_MODE STREQUAL "OFF")
191191
set(SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENCY FALSE)
192192
endif()
193193
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENCY)
194-
add_custom_target(embedded-concurrency ALL)
194+
add_custom_target(embedded-concurrency)
195195
add_dependencies(embedded-libraries embedded-concurrency)
196196

197197
set(SWIFT_ENABLE_REFLECTION OFF)

stdlib/public/Platform/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ add_swift_target_library(swiftDarwin ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES}
8181
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
8282
set(SWIFT_ENABLE_REFLECTION OFF)
8383

84-
add_custom_target(embedded-darwin ALL)
84+
add_custom_target(embedded-darwin)
8585
add_dependencies(embedded-libraries embedded-darwin)
8686
foreach(entry ${EMBEDDED_STDLIB_TARGET_TRIPLES})
8787
string(REGEX REPLACE "[ \t]+" ";" list "${entry}")

stdlib/public/Synchronization/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ add_swift_target_library(swiftSynchronization ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES
134134
# i.e. there is no .o or .a file produced (no binary code is actually produced)
135135
# and only users of a library are going to actually compile any needed code.
136136
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
137-
add_custom_target(embedded-synchronization ALL)
137+
add_custom_target(embedded-synchronization)
138138
add_dependencies(embedded-libraries embedded-synchronization)
139139

140140
foreach(entry ${EMBEDDED_STDLIB_TARGET_TRIPLES})

stdlib/public/Volatile/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ add_swift_target_library(swift_Volatile ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_S
2222
)
2323

2424
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
25-
add_custom_target(embedded-volatile ALL)
25+
add_custom_target(embedded-volatile)
2626
add_dependencies(embedded-libraries embedded-volatile)
2727
foreach(entry ${EMBEDDED_STDLIB_TARGET_TRIPLES})
2828
string(REGEX REPLACE "[ \t]+" ";" list "${entry}")

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ add_swift_target_library(swiftCore
413413
# i.e. there is no .o or .a file produced (no binary code is actually produced)
414414
# and only users of a library are going to actually compile any needed code.
415415
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
416-
add_custom_target(embedded-stdlib ALL)
416+
add_custom_target(embedded-stdlib)
417417
add_dependencies(embedded-libraries embedded-stdlib)
418418

419419
set(SWIFT_ENABLE_REFLECTION OFF)

stdlib/public/stubs/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ endif()
5252

5353
# Embedded Swift Unicode library
5454
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
55-
add_custom_target(embedded-unicode ALL)
55+
add_custom_target(embedded-unicode)
56+
add_dependencies(embedded-libraries embedded-unicode)
5657

5758
foreach(entry ${EMBEDDED_STDLIB_TARGET_TRIPLES})
5859
string(REGEX REPLACE "[ \t]+" ";" list "${entry}")

0 commit comments

Comments
 (0)