summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorStefan Granitz <stefan.graenitz@gmail.com>2019-06-19 15:25:32 +0000
committerStefan Granitz <stefan.graenitz@gmail.com>2019-06-19 15:25:32 +0000
commitf2ffa7320e25d31d10553a571f07bc232243637a (patch)
tree353346c7d92e6896de4eee0cc20262f8596911ac /llvm/cmake/modules
parent1ad10137c9b513383c7d938f64daa9937f7753d9 (diff)
downloadbcm5719-llvm-f2ffa7320e25d31d10553a571f07bc232243637a.tar.gz
bcm5719-llvm-f2ffa7320e25d31d10553a571f07bc232243637a.zip
Specify log level for CMake messages (less stderr)
Summary: Specify message levels in CMake. Prefer STATUS (stdout). As the default message mode (i.e. level) is NOTICE in CMake, more then necessary messages get printed to stderr. Some tools, noticably ccmake treat this as an error and require additional confirmation and re-running CMake's configuration step. This commit specifies a mode (either STATUS or WARNING or FATAL_ERROR) instead of the default. * I used `csearch -f 'llvm-project/.+(CMakeLists\.txt|cmake)' -l 'message\("'` to find all locations. * Reviewers were chosen by the most common authors of specific files. If there are more suitable reviewers for these CMake changes, please let me know. Patch by: Christoph Siedentop Reviewers: zturner, beanz, xiaobai, kbobyrev, lebedev.ri, sgraenitz Reviewed By: sgraenitz Subscribers: mgorny, lebedev.ri, #sanitizers, lldb-commits, llvm-commits Tags: #sanitizers, #lldb, #llvm Differential Revision: https://reviews.llvm.org/D63370 llvm-svn: 363821
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/LLVMInstallSymlink.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/LLVMInstallSymlink.cmake b/llvm/cmake/modules/LLVMInstallSymlink.cmake
index 1a04de931ff..6f378f20d6a 100644
--- a/llvm/cmake/modules/LLVMInstallSymlink.cmake
+++ b/llvm/cmake/modules/LLVMInstallSymlink.cmake
@@ -12,7 +12,7 @@ function(install_symlink name target outdir)
set(bindir "${DESTDIR}${CMAKE_INSTALL_PREFIX}/${outdir}/")
- message("Creating ${name}")
+ message(STATUS "Creating ${name}")
execute_process(
COMMAND "${CMAKE_COMMAND}" -E ${LINK_OR_COPY} "${target}" "${name}"
OpenPOWER on IntegriCloud