aboutsummaryrefslogtreecommitdiff
path: root/ci/test/01_base_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/test/01_base_install.sh')
-rwxr-xr-xci/test/01_base_install.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/ci/test/01_base_install.sh b/ci/test/01_base_install.sh
index 5f5ed3075f..607945cbb2 100755
--- a/ci/test/01_base_install.sh
+++ b/ci/test/01_base_install.sh
@@ -52,10 +52,9 @@ fi
if [[ "${RUN_TIDY}" == "true" ]]; then
if [ ! -d "${DIR_IWYU}" ]; then
- mkdir -p "${DIR_IWYU}"/build/
- git clone --depth=1 https://github.com/include-what-you-use/include-what-you-use -b clang_15 "${DIR_IWYU}"/include-what-you-use
- cd "${DIR_IWYU}"/build && cmake -G 'Unix Makefiles' -DCMAKE_PREFIX_PATH=/usr/lib/llvm-15 ../include-what-you-use
- cd "${DIR_IWYU}"/build && make install "$MAKEJOBS"
+ git clone --depth=1 https://github.com/include-what-you-use/include-what-you-use -b clang_16 "${DIR_IWYU}"/include-what-you-use
+ cmake -B "${DIR_IWYU}"/build/ -G 'Unix Makefiles' -DCMAKE_PREFIX_PATH=/usr/lib/llvm-16 -S "${DIR_IWYU}"/include-what-you-use
+ make -C "${DIR_IWYU}"/build/ install "$MAKEJOBS"
fi
fi