[llvm] 952f90b - [CMake] Weaken 176db3b3ab25ff8a9b2405f50ef5a8bd9304a6d5

John Ericson via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 21 06:01:35 PDT 2022


Author: John Ericson
Date: 2022-08-21T09:00:06-04:00
New Revision: 952f90b72b3546d6b6b038d410f07ce520c59b48

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

LOG: [CMake] Weaken 176db3b3ab25ff8a9b2405f50ef5a8bd9304a6d5

That commit (D132324) made putting libc++ in LLVM_ENABLE_RUNTIMES a hard
error, but ther are some out-of-tree CI jobs (especially docs that need
fixing).

I am thus making it a "soft error" for now, until that is resolved.

Added: 
    

Modified: 
    llvm/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index de13ab0df24e..e3f81cb4d627 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -123,7 +123,9 @@ foreach(proj ${LLVM_ENABLE_PROJECTS})
 endforeach()
 foreach(proj "libcxx" "libcxxabi" "libunwind")
   if (${proj} IN_LIST LLVM_ENABLE_PROJECTS)
-    message(FATAL_ERROR
+    # TODO(Ericson2314): Making non-fatal for now because of out-of-tree docs
+    # CI jobs use this.
+    message(SEND_ERROR
       "Using LLVM_ENABLE_PROJECTS=${proj} is incorrect. Please use -DLLVM_ENABLE_RUNTIMES=${proj} or "
       "see the instructions at https://libcxx.llvm.org/BuildingLibcxx.html for building the runtimes.")
   endif()


        


More information about the llvm-commits mailing list