Skip to content

Commit 87d1962

Browse files
committed
CMake: add a missing dependency to fix the bootstrapping build
legacy layouts must be copied before the bootstrapping compiler is used to build the SwiftCompilerSources Fixes a sporadic build failure due to missing legacy layout files
1 parent 4f99f9d commit 87d1962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ else()
281281

282282
elseif(BOOTSTRAPPING_MODE MATCHES "BOOTSTRAPPING.*")
283283

284-
set(b0_deps swift-frontend-bootstrapping0 symlink-headers-bootstrapping0)
284+
set(b0_deps swift-frontend-bootstrapping0 symlink-headers-bootstrapping0 copy-legacy-layouts)
285285
set(b1_deps swift-frontend-bootstrapping1 symlink-headers-bootstrapping1)
286286
if(BOOTSTRAPPING_MODE STREQUAL "BOOTSTRAPPING")
287287
list(APPEND b0_deps swiftCore-bootstrapping0)

0 commit comments

Comments
 (0)