[PATCH] D124489: Deprecate LLVM_BUILD_EXTERNAL_COMPILER_RT

Chris Bieneman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 26 17:03:25 PDT 2022


beanz created this revision.
beanz added reviewers: delcypher, phosek, compnerd, ldionne, smeenai.
Herald added a subscriber: mgorny.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: clang.

This patch goes with the RFC posted here:
https://discourse.llvm.org/t/rfc-deprecate-and-remove-llvm-build-external-compiler-rt/62058

Compiler-RT is built with way too many different configurations, and we
should reduce duplicateion where possible.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124489

Files:
  clang/runtime/CMakeLists.txt


Index: clang/runtime/CMakeLists.txt
===================================================================
--- clang/runtime/CMakeLists.txt
+++ clang/runtime/CMakeLists.txt
@@ -34,6 +34,7 @@
 endif()
 
 if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
+  message(WARNING "LLVM_BUILD_EXTERNAL_COMPILER_RT is deprecated, please migrate to LLVM_ENABLE_RUNTIMES=compiler-rt")
 
   # Add compiler-rt as an external project.
   set(COMPILER_RT_PREFIX ${CMAKE_BINARY_DIR}/projects/compiler-rt)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124489.425343.patch
Type: text/x-patch
Size: 507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220427/bc8a9655/attachment.bin>


More information about the cfe-commits mailing list