Skip to content

Commit

Permalink
Merge branch 'main' into ft/bump-rust
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored Oct 9, 2023
2 parents 0446e47 + 404853c commit ca35a21
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ A curated, chronologically ordered list of notable changes in [Gitpod's default
## 2023-10-09

- Bump Rust to `1.73.0`
- Upgrade Clang to `17.0.2`

## 2023-10-06

Expand Down
19 changes: 13 additions & 6 deletions chunks/lang-c/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,21 @@ ENV TRIGGER_REBUILD=1

RUN curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/llvm-archive-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http://apt.llvm.org/jammy/ \
llvm-toolchain-jammy-15 main" | sudo tee /etc/apt/sources.list.d/llvm.list > /dev/null \
llvm-toolchain-jammy-17 main" | sudo tee /etc/apt/sources.list.d/llvm.list > /dev/null \
&& apt update \
&& install-packages \
clang \
clangd \
clang-format \
clang-tidy \
clang-17 \
clangd-17 \
clang-format-17 \
clang-tidy-17 \
gdb \
lld
lld-17

RUN sudo update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-17/bin/clang 100 \
&& sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-17/bin/clang++ 100 \
&& sudo update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-17 100 \
&& sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-17 100 \
&& sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-17 100 \
&& sudo update-alternatives --install /usr/bin/lld lld /usr/bin/lld-17 100

USER gitpod

0 comments on commit ca35a21

Please sign in to comment.