[libcxx-commits] [PATCH] D117268: [libc++] Install clang-tidy in docker containers and create command db symlink
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 14 09:39:00 PST 2022
philnik added inline comments.
================
Comment at: libcxx/utils/ci/run-buildbot:200
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
+ create-db-symlink
check-runtimes
----------------
ldionne wrote:
> Mordante wrote:
> > I wonder whether we need this in all configurations.
> > Secondly let's make sure we export the compile commands in the configuration where we use this.
> I think we need to, because the `clang-tidy` check is run in all configurations.
@ldionne
Is there any way to run the test only if clang-tidy is found and there is a `compile_commands.json` in the root directory? Otherwise this would require clang-tidy for the libc++ test suite to succeed.
@Mordante
I didn't put it in all configs. I don't know exactly what configs we want to check. Do we only want to check C++20 code or do we want to check all code? I think the different platforms should all be checked, since there are a few places where we have platform-specific code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117268/new/
https://reviews.llvm.org/D117268
More information about the libcxx-commits
mailing list