[PATCH] D111238: [Support][llvm] Add optional libCURL dependency to llvm build configuration
Noah Shutty via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 11 13:57:30 PDT 2021
noajshu updated this revision to Diff 378789.
noajshu added a comment.
rebase against main
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111238/new/
https://reviews.llvm.org/D111238
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -402,6 +402,14 @@
set(LLVM_ENABLE_Z3_SOLVER_DEFAULT "${Z3_FOUND}")
+if (LLVM_ENABLE_DEBUGINFOD_CLIENT)
+ set(LLVM_WITH_CURL 1)
+ set(CURL_LIBRARY "-lcurl")
+ find_package(CURL 7.74.0 REQUIRED)
+ add_compile_definitions(
+ LLVM_ENABLE_DEBUGINFOD_CLIENT
+ LLVM_WITH_CURL)
+endif()
if( LLVM_TARGETS_TO_BUILD STREQUAL "all" )
set( LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS} )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111238.378789.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211011/b5ff806d/attachment.bin>
More information about the llvm-commits
mailing list