[llvm] 6362ef1 - [CMake] Avoid build spam by switching to Debug message (#69497)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 19 23:52:22 PDT 2023
Author: Vincent Lee
Date: 2023-10-19T23:52:18-07:00
New Revision: 6362ef1fb1cf52e00c15d9d64a3468a62c634413
URL: https://github.com/llvm/llvm-project/commit/6362ef1fb1cf52e00c15d9d64a3468a62c634413
DIFF: https://github.com/llvm/llvm-project/commit/6362ef1fb1cf52e00c15d9d64a3468a62c634413.diff
LOG: [CMake] Avoid build spam by switching to Debug message (#69497)
This is primarily only useful when debugging. It's generally assumed
that users
will have their custom flags applied if it's specified in their CMake
cache files.
Addresses
https://github.com/llvm/llvm-project/pull/68393#discussion_r1363399029
Added:
Modified:
llvm/cmake/modules/AddLLVM.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 72661594f643fae..05e4d6c823c0d69 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -1530,7 +1530,7 @@ endmacro(add_llvm_tool_subdirectory)
macro(add_custom_linker_flags name)
if (LLVM_${name}_LINKER_FLAGS)
- message(STATUS "Applying ${LLVM_${name}_LINKER_FLAGS} to ${name}")
+ message(DEBUG "Applying ${LLVM_${name}_LINKER_FLAGS} to ${name}")
target_link_options(${name} PRIVATE ${LLVM_${name}_LINKER_FLAGS})
endif()
endmacro()
More information about the llvm-commits
mailing list