[llvm] 07c2f59 - [CMake] Cleanup the descriptions for gRPC options
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 09:05:34 PDT 2022
Author: Steven Wu
Date: 2022-08-16T09:05:05-07:00
New Revision: 07c2f592a69eba5cd644d3467a4d427ed6262f47
URL: https://github.com/llvm/llvm-project/commit/07c2f592a69eba5cd644d3467a4d427ed6262f47
DIFF: https://github.com/llvm/llvm-project/commit/07c2f592a69eba5cd644d3467a4d427ed6262f47.diff
LOG: [CMake] Cleanup the descriptions for gRPC options
As a followup to https://reviews.llvm.org/D131593, clean up gRPC related
option names and messages to make them more generic.
Added:
Modified:
llvm/cmake/modules/FindGRPC.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/FindGRPC.cmake b/llvm/cmake/modules/FindGRPC.cmake
index c61eb791f902..1408442fcc22 100644
--- a/llvm/cmake/modules/FindGRPC.cmake
+++ b/llvm/cmake/modules/FindGRPC.cmake
@@ -1,4 +1,4 @@
-option(ENABLE_GRPC_REFLECTION "Link clangd-index-server to gRPC Reflection library" OFF)
+option(ENABLE_GRPC_REFLECTION "Link to gRPC Reflection library" OFF)
# FIXME(kirillbobyrev): Check if gRPC and Protobuf headers can be included at
# configure time.
@@ -42,7 +42,7 @@ else()
find_program(GRPC_CPP_PLUGIN grpc_cpp_plugin)
find_program(PROTOC protoc)
if (NOT GRPC_CPP_PLUGIN OR NOT PROTOC)
- message(FATAL_ERROR "gRPC C++ Plugin and Protoc must be on $PATH for Clangd remote index build.")
+ message(FATAL_ERROR "gRPC C++ Plugin and Protoc must be on $PATH for gRPC-enabled build.")
endif()
# On macOS the libraries are typically installed via Homebrew and are not on
# the system path.
More information about the llvm-commits
mailing list