Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions ci-docker-base/Dockerfile.cilint-clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ RUN cd ./clang-tidy-checks && \
cp -r llvm-project/build . && \
rm -rf llvm-project

# Link clang-tidy to custom build
RUN ln -s $(pwd)/clang-tidy-checks/build/bin/clang-tidy /usr/bin/clang-tidy
# Copy binary to /usr/bin
#
# We are copying the binary (instead of symlinking it) to avoid header file
# conflicts between the installed version of clang and our custom build
RUN cp /clang-tidy-checks/build/bin/clang-tidy /usr/bin/clang-tidy

# Verify that clang-tidy has custom checks
RUN cd ./clang-tidy-checks && ./verify.sh
Expand Down