build(linux): add Ubuntu 25.04 support to linux_build.sh (#3919)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
activatekillswitch 2025-05-31 14:55:49 +01:00 committed by GitHub
commit 0de8cc864c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -564,6 +564,15 @@ elif grep -q "Ubuntu 24.04" /etc/os-release; then
cuda_build="520.61.05" cuda_build="520.61.05"
gcc_version="11" gcc_version="11"
nvm_node=0 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="11.8.0"
cuda_build="520.61.05"
gcc_version="11"
nvm_node=0
else else
echo "Unsupported Distro or Version" echo "Unsupported Distro or Version"
exit 1 exit 1