[llvm] [Docs] Add documentation for LLVM_ENABLE_CURL (PR #170928)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 13:44:19 PST 2025


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/170928

I always try and find documentation for LLVM_ENABLE_CURL and can never find it and have to resort to digging through the CMake sources. Add documentation to make this a little bit easier.

>From f36335c8aaeafc9aec4b9708b80cdf271222ea1a Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 5 Dec 2025 21:43:01 +0000
Subject: [PATCH] [Docs] Add documentation for LLVM_ENABLE_CURL

I always try and find documentation for LLVM_ENABLE_CURL and can never
find it and have to resort to digging through the CMake sources. Add
documentation to make this a little bit easier.
---
 llvm/docs/CMake.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index 7e95545425f2d..de8be0ad2dded 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -478,6 +478,12 @@ its enabled sub-projects. Nearly all of these variable names begin with
 **LLVM_ENABLE_BINDINGS**:BOOL
   If disabled, do not try to build the OCaml bindings.
 
+**LLVM_ENABLE_CURL**:
+  Used to decide if LLVM tools, should support downloading information
+  (particularly debug info from ``llvm-debuginfod``) over HTTP. Allowed
+  values are ``OFF`` (default), ``ON``, and ``FORCE_ON`` (error if libcurl
+  is not found).
+
 **LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING**:STRING
   Enhances Debugify's ability to detect line number errors by storing extra
   information inside Instructions, removing false positives from Debugify's



More information about the llvm-commits mailing list