Skip to content

Commit 4c3221e

Browse files
authored
Merge pull request #69285 from kubamracek/embedded-no-stdlib-without-bootstrapping
[embedded] Avoid building the embedded stdlib when BOOTSTRAPPING=OFF
2 parents fc6113b + 83c9181 commit 4c3221e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ elseif(NOT SWIFT_INCLUDE_TOOLS)
144144
# Temporarily, only build embedded stdlib when building the compiler, to
145145
# unblock CI jobs that run against old(er) toolchains.
146146
set(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB FALSE)
147+
elseif(BOOTSTRAPPING_MODE STREQUAL "OFF")
148+
set(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB FALSE)
147149
endif()
148150

149151
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)

0 commit comments

Comments
 (0)