aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2025-04-08 16:16:53 +0200
committerGitHub <noreply@github.com>2025-04-08 16:16:53 +0200
commit8b11c39a0fad7f6ec48c323a0deeb3c103005200 (patch)
tree39dc560afbe1940dbb480a349c634cd142192fb1 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentb2dea4fd22b79fa27ef1ebd737401616095a7de6 (diff)
downloadllvm-8b11c39a0fad7f6ec48c323a0deeb3c103005200.zip
llvm-8b11c39a0fad7f6ec48c323a0deeb3c103005200.tar.gz
llvm-8b11c39a0fad7f6ec48c323a0deeb3c103005200.tar.bz2
[llvm-mt] Do not build llvm-mt if not functional (#134631)
llvm-mt requires libxml2 to work, so do not even build it without libxml2. CMake 3.31 and later prefer llvm-mt.exe over Microsoft's mt.exe if available and using clang-cl.exe as CMAKE_CXX_COMPILER. When CMake picks up llvm-mt.exe without libxml2, any build will fail with the message ``` llvm-mt: error: no libxml2 ``` Any test except `--help` already uses `REQUIRES: libxml2`. There is no point in having a non-functional executable. Not building llvm-mt.exe will force CMake to use Microsoft's `mt.exe` instead. Fixes: #134237
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions