Skip to content

Commit

Permalink
docker: install clang-tools-17
Browse files Browse the repository at this point in the history
to build with C++20 modules support, CMake needs to use clang-scan-deps,
which is packaged by clang-tools-17, see
https://packages.debian.org/sid/amd64/clang-tools-17/filelist
and
https://packages.ubuntu.com/mantic/amd64/clang-tools-17/filelist,
so we have to install it in our CI image.

Signed-off-by: Kefu Chai <[email protected]>

Closes #1999

[avi: regenerate docker image]
  • Loading branch information
tchaikov authored and avikivity committed Dec 28, 2023
1 parent 69c5a15 commit 1b3c69d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: echo 'docker run --pids-limit -1 --security-opt seccomp=unconfined --network host --user "$(id -u):$(id -g)" --rm -v $PWD:$PWD -w $PWD docker.io/scylladb/seastar-toolchain:2023-12-05 "$@"' > run; chmod +x run
- run: echo 'docker run --pids-limit -1 --security-opt seccomp=unconfined --network host --user "$(id -u):$(id -g)" --rm -v $PWD:$PWD -w $PWD docker.io/scylladb/seastar-toolchain:2023-12-28 "$@"' > run; chmod +x run
- when:
condition:
equal: [ "enable-dpdk", << parameters.with_dpdk >> ]
Expand Down
2 changes: 1 addition & 1 deletion docker/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt -y update \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 12 \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13 \
&& apt -y install clang-16 clang-17 \
&& apt -y install clang-16 clang-17 clang-tools-17 \
&& update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 16 \
&& update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 16 \
&& update-alternatives --install /usr/bin/clang clang /usr/bin/clang-17 17 \
Expand Down

0 comments on commit 1b3c69d

Please sign in to comment.