From 8e9f780cd2bac42fe07e5e87fdca48c077ce90b9 Mon Sep 17 00:00:00 2001 From: activatekillswitch Date: Tue, 27 May 2025 19:47:26 +0100 Subject: [PATCH 1/2] Update linux_build.sh Added the config for Ubuntu 25.04 Tested on my machine, so ymmv --- scripts/linux_build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/linux_build.sh b/scripts/linux_build.sh index 1ac5f162650..522a8a17db6 100755 --- a/scripts/linux_build.sh +++ b/scripts/linux_build.sh @@ -564,6 +564,15 @@ elif grep -q "Ubuntu 24.04" /etc/os-release; then cuda_build="520.61.05" gcc_version="11" nvm_node=0 +elif grep -q "Ubuntu 25.04" /etc/os-release; then + distro="ubuntu" + version="25.04" + package_update_command="${sudo_cmd} apt-get update" + package_install_command="${sudo_cmd} apt-get install -y" + cuda_version="12.9.0" + cuda_build="575.51.03" + gcc_version="12" + nvm_node=0 else echo "Unsupported Distro or Version" exit 1 From 6bd006792fda4bd1bb335ca489365cbf185e0bea Mon Sep 17 00:00:00 2001 From: activatekillswitch Date: Wed, 28 May 2025 14:43:57 +0100 Subject: [PATCH 2/2] Update scripts/linux_build.sh Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> --- scripts/linux_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/linux_build.sh b/scripts/linux_build.sh index 522a8a17db6..b391f7dc540 100755 --- a/scripts/linux_build.sh +++ b/scripts/linux_build.sh @@ -569,9 +569,9 @@ elif grep -q "Ubuntu 25.04" /etc/os-release; then version="25.04" package_update_command="${sudo_cmd} apt-get update" package_install_command="${sudo_cmd} apt-get install -y" - cuda_version="12.9.0" - cuda_build="575.51.03" - gcc_version="12" + cuda_version="11.8.0" + cuda_build="520.61.05" + gcc_version="11" nvm_node=0 else echo "Unsupported Distro or Version"