[all-commits] [llvm/llvm-project] 6d9e7f: [LLVM][Runtimes] Hide unused CMake variable messag...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Feb 2 10:54:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d9e7fa1de603451cd33911fb8754205219345d8
https://github.com/llvm/llvm-project/commit/6d9e7fa1de603451cd33911fb8754205219345d8
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-02-02 (Thu, 02 Feb 2023)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
Log Message:
-----------
[LLVM][Runtimes] Hide unused CMake variable messages for runtimes builds
The LLVM runtime build is used to bootstrap projects with the built LLVM
toolchain. This effectively re-runs CMake with the current build
directory. One problem is that this passes every common CMake variable
to the projects individually, some of which are not necessarily used.
This patch suppresses the unused variable warnings for the runtimes.
The standard CMake invocation should still be able to print out the
unused variables so it should not impact code quality.
Reviewed By: thieta
Differential Revision: https://reviews.llvm.org/D143199
More information about the All-commits
mailing list