File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,15 @@ add_swift_target_library(swiftCore
385
385
#
386
386
# For now, we build a hardcoded list of target triples of the embedded stdlib,
387
387
# and only when building Swift on macOS.
388
- if (SWIFT_HOST_VARIANT STREQUAL "macosx" )
388
+ set (SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB TRUE )
389
+ if (NOT SWIFT_HOST_VARIANT STREQUAL "macosx" )
390
+ set (SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB FALSE )
391
+ elseif (NOT SWIFT_INCLUDE_TOOLS )
392
+ # Temporarily, only build embedded stdlib when building the compiler, to
393
+ # unblock CI jobs that run against old(er) toolchains.
394
+ set (SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB FALSE )
395
+ endif ()
396
+ if (SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB )
389
397
add_custom_target (embedded-stdlib ALL )
390
398
set (EMBEDDED_STDLIB_TARGET_TRIPLES
391
399
# arch module_name target triple
You can’t perform that action at this time.
0 commit comments