diff options
author | Martin Storsjö <martin@martin.st> | 2022-08-02 14:53:36 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2023-01-18 23:56:15 +0200 |
commit | d3da9067d143f3d4ce59b6d9ab4606a8ef1dc937 (patch) | |
tree | ba57205fe11d38da82020912bb029316cbdc8b32 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 4a7966ea1b0592e4d8daa16034273d3408edcf83 (diff) | |
download | llvm-d3da9067d143f3d4ce59b6d9ab4606a8ef1dc937.zip llvm-d3da9067d143f3d4ce59b6d9ab4606a8ef1dc937.tar.gz llvm-d3da9067d143f3d4ce59b6d9ab4606a8ef1dc937.tar.bz2 |
[CMake] Allow setting the location of host tools with LLVM_NATIVE_TOOL_DIR
This avoids having to specify the location of all individual tools.
In current builds, one may want to specify LLVM_TABLEGEN, CLANG_TABLEGEN,
LLDB_TABLEGEN, LLVM_CONFIG_PATH, CLANG_PSEUDO_GEN and
CLANG_TIDY_CONFUSABLE_CHARS_GEN; specifying just the base directory
containing all of them is much more convenient.
Factorize the code for setting up use of a tool that is used during
the build (which either is newly built in the same build, or
built in a separate nested cmake build - when cross compiling or
when e.g. optimized tablegen is requested - or used from an existing
prebuilt binary).
Differential Revision: https://reviews.llvm.org/D131052
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions