[libcxx-commits] [PATCH] D141971: [libc++] Document how to build and run clang-tidy checks

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 24 22:19:50 PST 2023


philnik added inline comments.


================
Comment at: libcxx/docs/TestingLibcxx.rst:111
+
+To compile clang-tidy checks, `-DLIBCXX_ENABLE_CLANG_TIDY=On` has to be passed to the
+CMake invocation used to compile libc++. For the CMake invocation and compiling libc++
----------------
Mordante wrote:
> Note it seems this gives issues on Debian, the first run works, then trying to run CMake again will try write things in
> `/usr/lib/llvm-16/include/c++/v1/__config_site.tmp`, which for good reasons is not allowed.
> 
> Have you seen this before? If not I can file a bug report.
I've had similar problems, but I thought it was a problem with my setup. Given that you also have this problem, I'd say, file a bug report. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141971/new/

https://reviews.llvm.org/D141971



More information about the libcxx-commits mailing list