aboutsummaryrefslogtreecommitdiff
path: root/ci/test/01_base_install.sh
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-11-08 19:12:31 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-11-09 12:04:17 +0000
commit9f208c017174132dbefbc917aa9824c279382597 (patch)
treede9de581964192e6f7f15bec0531d6b2ef5ad3d7 /ci/test/01_base_install.sh
parentc8a883a4123ab466f9d911ee2865625ba5314c9e (diff)
downloadbitcoin-9f208c017174132dbefbc917aa9824c279382597.tar.xz
ci: Switch IWYU to `clang_17` branch
Diffstat (limited to 'ci/test/01_base_install.sh')
-rwxr-xr-xci/test/01_base_install.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh
index a0b054ab40..b15df4b6cc 100755
--- a/ci/test/01_base_install.sh
+++ b/ci/test/01_base_install.sh
@@ -67,8 +67,7 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
fi
if [[ "${RUN_TIDY}" == "true" ]]; then
- ${CI_RETRY_EXE} git clone https://github.com/include-what-you-use/include-what-you-use -b master /include-what-you-use
- git -C /include-what-you-use checkout a138eaac254e5a472464e31d5ec418fe6e6f1fc7
+ ${CI_RETRY_EXE} git clone --depth=1 https://github.com/include-what-you-use/include-what-you-use -b clang_"${TIDY_LLVM_V}" /include-what-you-use
cmake -B /iwyu-build/ -G 'Unix Makefiles' -DCMAKE_PREFIX_PATH=/usr/lib/llvm-"${TIDY_LLVM_V}" -S /include-what-you-use
make -C /iwyu-build/ install "-j$( nproc )" # Use nproc, because MAKEJOBS is the default in docker image builds
fi