aboutsummaryrefslogtreecommitdiff
path: root/ci/test
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-11-09 13:06:58 +0000
committerfanquake <fanquake@gmail.com>2023-11-09 13:07:05 +0000
commitb3898e946cf81e2e7b573e1c5204bd29af2feecd (patch)
treeaef43c4b6b019f2f606277284c7666720238158f /ci/test
parent88c3b100f0e83318b9379b17ba7bd2a1c5a51b74 (diff)
parent9f208c017174132dbefbc917aa9824c279382597 (diff)
Merge bitcoin/bitcoin#28826: ci: Switch IWYU to `clang_17` branch
9f208c017174132dbefbc917aa9824c279382597 ci: Switch IWYU to `clang_17` branch (Hennadii Stepanov) Pull request description: The IWYU version [0.21](https://github.com/include-what-you-use/include-what-you-use/releases/tag/0.21) has been tagged, and the `clang_17` branch is available now. ACKs for top commit: maflcko: lgtm ACK 9f208c017174132dbefbc917aa9824c279382597 Tree-SHA512: 8b8f8743d1c2719b6383b5a6a48356ac02a301d1ce9cee77f93cc04c12de22e9ac6b59e23550a589540e68292cfac0d85bacedc9ca26f6b589011d36ee1d38cf
Diffstat (limited to 'ci/test')
-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