build(linux): add support for self-compiling on ubuntu 25.10 (#4471)

This commit is contained in:
a-turtle9302 2025-12-06 14:10:54 -05:00 committed by GitHub
commit 35f4b9ee51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -733,6 +733,15 @@ elif grep -q "Ubuntu 25.04" /etc/os-release; then
cuda_build="575.57.08" cuda_build="575.57.08"
gcc_version="14" gcc_version="14"
nvm_node=0 nvm_node=0
elif grep -q "Ubuntu 25.10" /etc/os-release; then
distro="ubuntu"
version="25.10"
package_update_command="${sudo_cmd} apt-get update"
package_install_command="${sudo_cmd} apt-get install -y"
cuda_version="12.9.1"
cuda_build="575.57.08"
gcc_version="14"
nvm_node=0
else else
echo "Unsupported Distro or Version" echo "Unsupported Distro or Version"
exit 1 exit 1