[llvm] [cmake] Expose LLVM_BUILD_TELEMETRY
in LLVMConfig.cmake
(#… · llvm/llvm-project@2342bb2 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 2342bb2
authored and
committed
[llvm] [cmake] Expose LLVM_BUILD_TELEMETRY
in LLVMConfig.cmake
(#126710)
Add `LLVM_BUILD_TELEMETRY` to the list of flags exposed in `LLVMConfig.cmake`. This fixes telemetry library being misdetected as `OFF` when building LLDB standalone. Fixes bac62ee. ------ I guess this also needs a backport to 20.x. (cherry picked from commit 2ad9d5f)
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -100,6 +100,8 @@ set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@) | ||
100 | 100 | |
101 | 101 | set(LLVM_BUILD_32_BITS @LLVM_BUILD_32_BITS@) |
102 | 102 | |
103 | +set(LLVM_BUILD_TELEMETRY @LLVM_BUILD_TELEMETRY@) | |
104 | + | |
103 | 105 | if (NOT "@LLVM_PTHREAD_LIB@" STREQUAL "") |
104 | 106 | set(LLVM_PTHREAD_LIB "@LLVM_PTHREAD_LIB@") |
105 | 107 | endif() |