[clang] 71a4389 - [CMake][Fuchsia] Set the runtimes for the second stage

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 6 00:33:12 PST 2023


Author: Petr Hosek
Date: 2023-11-06T08:32:59Z
New Revision: 71a43897d42c5e27f9fde1c3451c529c44dd337b

URL: https://github.com/llvm/llvm-project/commit/71a43897d42c5e27f9fde1c3451c529c44dd337b
DIFF: https://github.com/llvm/llvm-project/commit/71a43897d42c5e27f9fde1c3451c529c44dd337b.diff

LOG: [CMake][Fuchsia] Set the runtimes for the second stage

This is a temporary workaround until we figure out the right solution.

Added: 
    

Modified: 
    clang/cmake/caches/Fuchsia.cmake

Removed: 
    


################################################################################
diff  --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake
index 9c68be0bfe54b69..0230bb056a4f0a1 100644
--- a/clang/cmake/caches/Fuchsia.cmake
+++ b/clang/cmake/caches/Fuchsia.cmake
@@ -197,6 +197,9 @@ foreach(variableName ${variableNames})
   endif()
 endforeach()
 
+# TODO: This is a temporary workaround until we figure out the right solution.
+set(BOOTSTRAP_LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
+
 # Setup the bootstrap build.
 set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
 set(CLANG_BOOTSTRAP_EXTRA_DEPS


        


More information about the cfe-commits mailing list