[llvm] ea4c691 - [llvm] [Debuginfod] Disable CURL by default.

Noah Shutty via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 13 09:40:02 PST 2021


Author: Noah Shutty
Date: 2021-12-13T17:39:53Z
New Revision: ea4c69196ebd79e8bb388121bcd64c93f690f360

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

LOG: [llvm] [Debuginfod] Disable CURL by default.

Sets LLVM_ENABLE_CURL to OFF by default to avoid accidental inclusion of libcurl in builds which do not override the default.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D115500

Added: 
    

Modified: 
    llvm/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index d12befc1a538..df34265ddc47 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -394,7 +394,7 @@ endif()
 
 set(LLVM_ENABLE_ZLIB "ON" CACHE STRING "Use zlib for compression/decompression if available. Can be ON, OFF, or FORCE_ON")
 
-set(LLVM_ENABLE_CURL "ON" CACHE STRING "Use libcurl for the HTTP client if available. Can be ON, OFF, or FORCE_ON")
+set(LLVM_ENABLE_CURL "OFF" CACHE STRING "Use libcurl for the HTTP client if available. Can be ON, OFF, or FORCE_ON")
 
 set(LLVM_Z3_INSTALL_DIR "" CACHE STRING "Install directory of the Z3 solver.")
 


        


More information about the llvm-commits mailing list