Skip to content

compilers: Bump to ubuntu 26.04 - #567

Merged
HadrienPatte merged 1 commit into
mainfrom
pr/HadrienPatte/compilers-26.04
Oct 8, 2026
Merged

HadrienPatte merged 1 commit into
mainfrom
pr/HadrienPatte/compilers-26.04

Conversation

@HadrienPatte

Copy link
Copy Markdown
Member

The compilers image needs some manual tweaking to be updated to an ubuntu 26.04 base. This PR handles this to unlock the renovate-managed update to 26.04: #535.

Changes:

  • Update base from ubuntu 24.04 to 26.04
  • Update GCC from 9.5.0 to 15.2.0
  • Update cmake from 3.28.3 to 4.2.3
  • Update ninja-build from 1.11.1 to 1.13.2

Notes:

  • The manually maintained and injected sources.list file is no longer necessary since for ubuntu 26.04 forward, archive.ubuntu.com and security.ubuntu.com host both amd64 and arm64 packages (for previous releases, arm64 packages were hosted on http://ports.ubuntu.com). This means that dpkg --add-architecture arm64 is sufficient to have both arch sources enabled. Existing tests continue to validate that cross arch packages get installed properlu.
  • The manual update-alternatives calls are also no longer needed, since we now install gcc via its meta-package. The actual gcc version is still pinned in tests to catch any unintentional upgrades.

@HadrienPatte
HadrienPatte marked this pull request as ready for review October 5, 2026 14:57
@HadrienPatte
HadrienPatte requested a review from a team as a code owner October 5, 2026 14:57
@HadrienPatte
HadrienPatte requested a review from thorn3r October 5, 2026 14:57

@thorn3r thorn3r left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

1 conflict to resolve, otherwise lgtm! 👍

The compilers image needs some manual tweaking to be updated to an
ubuntu 26.04 base. This PR handles this to unlock the renovate-managed
update to 26.04: #535.

Changes:
* Update base from ubuntu 24.04 to 26.04
* Update GCC from 9.5.0 to 15.2.0
* Update cmake from 3.28.3 to 4.2.3
* Update ninja-build from 1.11.1 to 1.13.2

Notes:
* The manually maintained and injected sources.list file is no longer
  necessary since for ubuntu 26.04 forward, archive.ubuntu.com and
  security.ubuntu.com host both amd64 and arm64 packages (for previous
  releases, arm64 packages were hosted on http://ports.ubuntu.com). This
  means that `dpkg --add-architecture arm64` is sufficient to have both
  arch sources enabled. Existing tests continue to validate that cross
  arch packages get installed properlu.
* The manual `update-alternatives` calls are also no longer needed,
  since we now install gcc via its meta-package. The actual gcc version
  is still pinned in tests to catch any unintentional upgrades.

Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
@HadrienPatte
HadrienPatte force-pushed the pr/HadrienPatte/compilers-26.04 branch from 9c749fc to 9c72ba4 Compare October 8, 2026 15:48
@HadrienPatte
HadrienPatte merged commit d458743 into main Oct 8, 2026
11 checks passed
@HadrienPatte
HadrienPatte deleted the pr/HadrienPatte/compilers-26.04 branch October 8, 2026 16:17
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