From f36391d4c803f00fc5e4cebca910114dfadbfdd7 Mon Sep 17 00:00:00 2001 From: Evan Wilde Date: Sun, 27 Apr 2025 19:48:38 -0700 Subject: [PATCH] Bootstrap: Install dispatch in stage0 The concurrency runtimes require that dispatch is installed or it will fail to load at launch. The C library is built as part of the concurrency build but is not installed. We need to install a copy of dispatch so that programs that link concurrency run. --- utils/build-presets.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/build-presets.ini b/utils/build-presets.ini index 92f8674a0d717..c610ee4f5c900 100644 --- a/utils/build-presets.ini +++ b/utils/build-presets.ini @@ -3128,6 +3128,7 @@ swift-include-tests=0 llvm-include-tests=0 release +libdispatch skip-early-swiftsyntax skip-early-swift-driver @@ -3160,6 +3161,7 @@ llvm-install-components=llvm-ar;llvm-ranlib;clang;clang-resource-headers;compile install-llvm install-swift +install-libdispatch # Build Toolchain Requirements: # - C/C++ compiler