[llvm] Update default value of LLVM_ENABLE_TELEMETRY in BUILD.gn to TRUE (PR #134252)

Vy Nguyen via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 3 07:13:51 PDT 2025


https://github.com/oontvoo created https://github.com/llvm/llvm-project/pull/134252

This is to be consistent with the default value in  llvm/CmakeList.txt.

>From 04e1af44055b65e498ebf6b31d0b1d864747f6bf Mon Sep 17 00:00:00 2001
From: Vy Nguyen <vyng at google.com>
Date: Thu, 3 Apr 2025 10:11:27 -0400
Subject: [PATCH] Update default value of LLVM_ENABLE_TELEMETRY in BUILD.gn to
 TRUE

This is to be consistent with the default value in  llvm/CmakeList.txt.
---
 llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
index 4a7cbe4af9e9b..d9ca187132c2a 100644
--- a/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
@@ -292,7 +292,7 @@ write_cmake_config("llvm-config") {
   values = [
     "LLVM_BUILD_LLVM_DYLIB=",
     "LLVM_BUILD_SHARED_LIBS=",
-    "LLVM_ENABLE_TELEMETRY=",
+    "LLVM_ENABLE_TELEMETRY=1",
     "LLVM_DEFAULT_TARGET_TRIPLE=$llvm_target_triple",
     "LLVM_ENABLE_DUMP=",
     "LLVM_ENABLE_HTTPLIB=",



More information about the llvm-commits mailing list