mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Mirror of https://github.com/RPCS3/llvm-mirror
45eadc83d9
Several external build users contain some heuristics for finding llvm-lit. There are several cases we need to worry about: - External builds against a build tree (with LLVM_BUILD_UTILS) - External builds against an install tree (with LLMV_BUILD_UTIL and LLVM_INSTALL_UTILS) - External builds against some location which doesn't have an llvm-lit, but llvm-lit is available through some other means, such as an available source tree, or a packager provided llvm-lit. For the third case, LLVM_EXTERNAL_LIT suffices, but in other cases there's no standard way to find llvm-lit. It seems like each user cooks their own heuristics: - clang tries to look in the LLVM source tree, and failing that falls back to looking for a packaged llvm-lit. - libcxx tries to look in the LLVM source tree, which might come from llvm-config or be explicitly specified. This patch is a first stop to solving this by providing a default location for llvm-lit using LLVM_DEFAULT_EXTERNAL_LIT. The expectation is that future patches can clean up users like clang and libcxx to rely on this mechanism for out-of-tree builds. Differential Revision: https://reviews.llvm.org/D77110 |
||
---|---|---|
benchmarks | ||
bindings | ||
cmake | ||
docs | ||
examples | ||
include | ||
lib | ||
projects | ||
resources | ||
runtimes | ||
test | ||
tools | ||
unittests | ||
utils | ||
.clang-format | ||
.clang-tidy | ||
.gitattributes | ||
.gitignore | ||
CMakeLists.txt | ||
CODE_OWNERS.TXT | ||
configure | ||
CREDITS.TXT | ||
LICENSE.TXT | ||
llvm.spec.in | ||
LLVMBuild.txt | ||
README.txt | ||
RELEASE_TESTERS.TXT |
The LLVM Compiler Infrastructure ================================ This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. Please see the documentation provided in docs/ for further assistance with LLVM, and in particular docs/GettingStarted.rst for getting started with LLVM and docs/README.txt for an overview of LLVM's documentation setup. If you are writing a package for LLVM, see docs/Packaging.rst for our suggestions.