Skip to content

Commit 0f11358

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 6d5fa1e commit 0f11358

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
@@ -306,7 +306,7 @@ else()
306306

307307
elseif(BOOTSTRAPPING_MODE MATCHES "BOOTSTRAPPING.*")
308308

309-
set(b0_deps swift-frontend-bootstrapping0 symlink-headers-bootstrapping0)
309+
set(b0_deps swift-frontend-bootstrapping0 symlink-headers-bootstrapping0 copy-legacy-layouts)
310310
set(b1_deps swift-frontend-bootstrapping1 symlink-headers-bootstrapping1)
311311
if(BOOTSTRAPPING_MODE STREQUAL "BOOTSTRAPPING")
312312
list(APPEND b0_deps swiftCore-bootstrapping0)

0 commit comments

Comments
 (0)