Skip to content

upgrade klayout to version 0.30.7 - #4053

Merged
maliberty merged 3 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:klayout-upgrade
Mar 25, 2026
Merged

maliberty merged 3 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:klayout-upgrade

Conversation

@openroad-ci

@openroad-ci openroad-ci commented Mar 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Upgrade KLayout from 0.30.3 to 0.30.7 and fix a bug where Ubuntu 24.04 was silently skipping the upgrade.

  • Bump klayoutVersion to 0.30.7 and update MD5 checksums for Ubuntu 20.04, 22.04, and 24.04
  • Remove the apt-get install klayout fallback for Ubuntu >= 23.04, which was installing the distro-packaged 0.28.16 instead of the pinned version — causing setup.sh to silently report "already the newest version" on 24.04 VMs
  • Unsupported Ubuntu versions (e.g. 23.04, 23.10) now fail fast with a clear error message pointing to supported LTS releases

Background

The installer had an apt code path for Ubuntu >= 23.04 that was originally added for non-LTS releases (23.04/23.10) which don't have official KLayout .deb packages. However, this condition also matched 24.04, bypassing the versioned .deb download + checksum verification that 20.04 and 22.04 use. Since Ubuntu 24.04's apt repos ship KLayout 0.28.16, every run of setup.sh on a 24.04 VM left KLayout stuck at that version.

Test plan

  • Run sudo ./setup.sh on Ubuntu 24.04 and verify KLayout 0.30.7 is installed (klayout -v)
  • Run sudo ./setup.sh on Ubuntu 22.04 and verify KLayout 0.30.7 is installed
  • Verify that running on an unsupported version (e.g. 23.10) produces a clear error message

Signed-off-by: Joao Luis Sombrio <sombrio@sombrasoft.dev>
Signed-off-by: Joao Luis Sombrio <sombrio@sombrasoft.dev>
The apt fallback for Ubuntu >= 23.04 was silently installing whatever
version Ubuntu ships (0.28.16) rather than the pinned 0.30.7 .deb from
klayout.org. On 24.04 VMs where klayout was already present via apt,
every setup.sh run reported "already the newest version" and skipped
the update entirely.

Drop the apt fallback so 24.04 uses the same versioned .deb download
and checksum verification path as 20.04 and 22.04. Non-LTS versions
(23.04, 23.10) now fail fast with a clear message pointing to supported
LTS releases.

Signed-off-by: Joao Luis Sombrio <sombrio@sombrasoft.dev>
@maliberty
maliberty enabled auto-merge March 25, 2026 20:11
@maliberty
maliberty merged commit f7290b3 into The-OpenROAD-Project:master Mar 25, 2026
5 checks passed
@maliberty
maliberty deleted the klayout-upgrade branch March 25, 2026 20:51
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.

3 participants