Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: bump up to clang {18,19} and gcc {13,14} #2517

Closed
wants to merge 1 commit into from

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Oct 24, 2024

since we only support the latest two major releases of compilers. at the moment of writing, Clang just released v19, and the latest major release of GCC is v14.

so we should install them respectively.

because ubuntu mantis is already EOF. see
https://wiki.ubuntu.com/Releases. and it does not include the latest GCC and Clang packages. we need to bump up the base image from ubuntu:mantis to ubuntu:orcular despite that orcular is not an LTS release. we should use new ubuntu LTS release once it's out.

>> /etc/apt/sources.list.d/llvm.list \
&& echo "deb http://apt.llvm.org/mantic/ llvm-toolchain-mantic-18 main" \
&& echo "deb http://apt.llvm.org/mantic/ llvm-toolchain-oracular-19 main" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message says "Clang just released v17", should be v19 maybe?

since we only support the latest two major releases of compilers.
at the moment of writing, Clang just released v19, and the latest
major release of GCC is v14.

so we should install them respectively.

because ubuntu mantis is already EOF. see
https://wiki.ubuntu.com/Releases. and it does not include the
latest GCC and Clang packages. we need to bump up the base image
from ubuntu:mantis to ubuntu:orcular despite that orcular is not
an LTS release. we should use new ubuntu LTS release once it's out.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
@tchaikov
Copy link
Contributor Author

v2:

  • correct the version numbers in commit message and cover letter: s/v17/v19/, s/v13/v14/

@xemul xemul closed this in afea41b Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants