build-unit-test-docker: update to clang-18
Update the CI docker container to use clang-18.
Change-Id: Iea0776aaa7edd483fa395e23de25ebf5a6288f71
Signed-off-by: Ed Tanous <ed@tanous.net>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/scripts/build-unit-test-docker b/scripts/build-unit-test-docker
index d229fb1..f871fdd 100755
--- a/scripts/build-unit-test-docker
+++ b/scripts/build-unit-test-docker
@@ -763,10 +763,10 @@
autoconf \
autoconf-archive \
bison \
- clang-17 \
- clang-format-17 \
- clang-tidy-17 \
- clang-tools-17 \
+ clang-18 \
+ clang-format-18 \
+ clang-tidy-18 \
+ clang-tools-18 \
cmake \
curl \
dbus \
@@ -835,13 +835,13 @@
RUN update-alternatives --remove cpp /usr/bin/cpp && \
update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-13 13
-RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 1000 \
- --slave /usr/bin/clang++ clang++ /usr/bin/clang++-17 \
- --slave /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-17 \
- --slave /usr/bin/clang-format clang-format /usr/bin/clang-format-17 \
+RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 1000 \
+ --slave /usr/bin/clang++ clang++ /usr/bin/clang++-18 \
+ --slave /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-18 \
+ --slave /usr/bin/clang-format clang-format /usr/bin/clang-format-18 \
--slave /usr/bin/run-clang-tidy run-clang-tidy.py \
- /usr/bin/run-clang-tidy-17 \
- --slave /usr/bin/scan-build scan-build /usr/bin/scan-build-17
+ /usr/bin/run-clang-tidy-18 \
+ --slave /usr/bin/scan-build scan-build /usr/bin/scan-build-18
"""