[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:19:23 PDT 2022
    
    
  
beanz updated this revision to Diff 425353.
beanz added a comment.
Making the warning message more specific.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124489/new/
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,9 @@
 endif()
 
 if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
+  message(WARNING "LLVM_BUILD_EXTERNAL_COMPILER_RT is deprecated and will be "
+                  "removed in LLVM 16, 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.425353.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220427/5fdc120c/attachment.bin>
    
    
More information about the cfe-commits
mailing list