Skip to content
Snippets Groups Projects
Commit 5e73faf6 authored by Soeren Peters's avatar Soeren Peters
Browse files

Update dockerfile using clangd16, as clangd15 has problems building the index.

parent 8dacea33
No related branches found
No related tags found
1 merge request!255Update docker image to 1.1 + changes in vscode settings.
......@@ -16,24 +16,25 @@ RUN apt-get update && \
ninja-build \
openmpi-bin \
libopenmpi-dev \
libomp-15-dev \
clang-15 \
clang-format-15 \
clang-tidy-15 \
clang-tools-15 \
libomp-15-dev \
clang-15 \
clang-format-15 \
clang-tidy-15 \
clang-tools-15 \
python3.11 \
python3-pip \
python3.11-dev \
cppcheck \
clangd-15 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100 \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 \
&& update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 100 \
&& update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 100 \
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 100 \
&& update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-15 100 \
&& ln -s clang-tidy-15 /usr/bin/clang-tidy \
&& ln -s clang-format-15 /usr/bin/clang-format \
&& wget https://github.com/clangd/clangd/releases/download/16.0.2/clangd-linux-16.0.2.zip && unzip clangd-linux-16.0.2.zip \
&& mv clangd_16.0.2/bin/clangd /usr/bin/clangd-16 && mv clangd_16.0.2/lib/clang/16 /usr/lib/clang/ \
&& update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-16 100 \
&& pip3 install \
cmake==3.26.3 \
setuptools \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment