From 94a94c333229f5a51ffb5aeca0950122e51834bf Mon Sep 17 00:00:00 2001 From: Erik Eckstein Date: Fri, 12 Apr 2024 10:47:47 +0200 Subject: [PATCH] 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 --- SwiftCompilerSources/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SwiftCompilerSources/CMakeLists.txt b/SwiftCompilerSources/CMakeLists.txt index 2434dfd4a683c..c338aa6e31a34 100644 --- a/SwiftCompilerSources/CMakeLists.txt +++ b/SwiftCompilerSources/CMakeLists.txt @@ -304,7 +304,7 @@ else() elseif(BOOTSTRAPPING_MODE MATCHES "BOOTSTRAPPING.*") - set(b0_deps swift-frontend-bootstrapping0 symlink-headers-bootstrapping0) + set(b0_deps swift-frontend-bootstrapping0 symlink-headers-bootstrapping0 copy-legacy-layouts) set(b1_deps swift-frontend-bootstrapping1 symlink-headers-bootstrapping1) if(BOOTSTRAPPING_MODE STREQUAL "BOOTSTRAPPING") list(APPEND b0_deps swiftCore-bootstrapping0)