[clang] f2a2f80 - [CMake][PGO] Add libunwind to list of stage1 runtimes (#78869)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 23 06:46:17 PST 2024


Author: Tom Stellard
Date: 2024-01-23T09:46:12-05:00
New Revision: f2a2f8082bbb16fadf3583f7ac1b85e3e93a9f4c

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

LOG: [CMake][PGO] Add libunwind to list of stage1 runtimes (#78869)

This fixes the build since 8f90e6937a1fac80873bb2dab5f382c82ba1ba4e
which made libcxxabi use llvm's libunwind by default.

Fixes #78487

Added: 
    

Modified: 
    clang/cmake/caches/PGO.cmake

Removed: 
    


################################################################################
diff  --git a/clang/cmake/caches/PGO.cmake b/clang/cmake/caches/PGO.cmake
index e1d0585e453f825..15bc755d110d19a 100644
--- a/clang/cmake/caches/PGO.cmake
+++ b/clang/cmake/caches/PGO.cmake
@@ -2,7 +2,7 @@ set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
 set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
 
 set(LLVM_ENABLE_PROJECTS "clang;lld" CACHE STRING "")
-set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi" CACHE STRING "")
+set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
 
 set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
 set(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED ON CACHE BOOL "")


        


More information about the cfe-commits mailing list