From befa85bac5378d494fd3e5df6e967280ef67e3a4 Mon Sep 17 00:00:00 2001 From: Joao Luis Sombrio Date: Wed, 25 Mar 2026 12:54:54 -0300 Subject: [PATCH 1/3] upgrade klayout to version 0.30.7 Signed-off-by: Joao Luis Sombrio --- etc/DependencyInstaller.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/DependencyInstaller.sh b/etc/DependencyInstaller.sh index 8e07047fc6..d26e791faf 100755 --- a/etc/DependencyInstaller.sh +++ b/etc/DependencyInstaller.sh @@ -10,7 +10,7 @@ else fi # package versions -klayoutVersion=0.30.3 +klayoutVersion=0.30.7 if [[ "$OSTYPE" == "darwin"* ]]; then numThreads=$(sysctl -n hw.logicalcpu) else From a1aaea29b57af2c14ba58a20d520f070b540ad4d Mon Sep 17 00:00:00 2001 From: Joao Luis Sombrio Date: Wed, 25 Mar 2026 13:19:29 -0300 Subject: [PATCH 2/3] Update KLayout 0.30.7 checksums for Ubuntu 20.04, 22.04, and 24.04 Signed-off-by: Joao Luis Sombrio --- etc/DependencyInstaller.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/DependencyInstaller.sh b/etc/DependencyInstaller.sh index d26e791faf..1485e8a6e8 100755 --- a/etc/DependencyInstaller.sh +++ b/etc/DependencyInstaller.sh @@ -221,11 +221,11 @@ _installUbuntuPackages() { fi else if [[ $1 == 20.04 ]]; then - klayoutChecksum=e83be08033f2f69d83ab7bd494a7a858 + klayoutChecksum=e95175a8053d3577375fbd3a7b3d7dbf elif [[ $1 == 22.04 ]]; then - klayoutChecksum=6e431b0a1a34c16eab9958a2c28f88bd + klayoutChecksum=202530d198b0c7b93aa5af0e8e438ccd elif [[ $1 == 24.04 ]]; then - klayoutChecksum=2d186f0225dbac7ae2d790aa8fa57814 + klayoutChecksum=145adaa044101bb41179aa63ec6d7f86 else echo "Unrecognized version of Ubuntu $1. Please install KLayout manually" exit 1 From f2d5f1df9c94c13f7fe5d70b6d5331fee2f486e2 Mon Sep 17 00:00:00 2001 From: Joao Luis Sombrio Date: Wed, 25 Mar 2026 15:22:15 -0300 Subject: [PATCH 3/3] fix KLayout install being skipped on Ubuntu 24.04 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 --- etc/DependencyInstaller.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/DependencyInstaller.sh b/etc/DependencyInstaller.sh index 1485e8a6e8..6097a39696 100755 --- a/etc/DependencyInstaller.sh +++ b/etc/DependencyInstaller.sh @@ -199,8 +199,6 @@ _installUbuntuPackages() { # install KLayout if [[ $1 == "rodete" ]]; then apt-get -y install --no-install-recommends klayout python3-pandas - elif _versionCompare "$1" -ge 23.04; then - apt-get -y install --no-install-recommends klayout python3-pandas else arch=$(uname -m) lastDir="$(pwd)" @@ -227,7 +225,7 @@ _installUbuntuPackages() { elif [[ $1 == 24.04 ]]; then klayoutChecksum=145adaa044101bb41179aa63ec6d7f86 else - echo "Unrecognized version of Ubuntu $1. Please install KLayout manually" + echo "Unsupported Ubuntu version $1. Supported versions: 20.04, 22.04, 24.04. Please upgrade to a supported LTS release or install KLayout ${klayoutVersion} manually from https://www.klayout.org/build.html" exit 1 fi wget https://www.klayout.org/downloads/Ubuntu-${1%.*}/klayout_${klayoutVersion}-1_amd64.deb