[PATCH] D108173: [WIP][clang] Add a cmake flag for choosing to build clang-repl
Leonard Chan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 16 17:14:38 PDT 2021
leonardchan created this revision.
leonardchan added a project: clang.
Herald added a subscriber: mgorny.
leonardchan requested review of this revision.
Not all downstream users may want to build all tools shipped with clang. `clang-repl` for us in particular can sometimes lead to flaky builds when testing a toolchain built with LTO.
This is a WIP patch that demonstrates:
- Allowing `clang-repl` to be built (by default) as part of `check-all`. Note that this doesn't remove it as a build target. It just makes it so that it's not built by default.
- Only running tests that require `clang-repl` via a `REQUIRES` line.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108173
Files:
clang/CMakeLists.txt
clang/test/CMakeLists.txt
clang/test/Interpreter/execute.cpp
clang/test/Interpreter/sanity.c
clang/test/lit.cfg.py
clang/test/lit.site.cfg.py.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108173.366768.patch
Type: text/x-patch
Size: 3706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210817/d7544a63/attachment.bin>
More information about the cfe-commits
mailing list