Build environment: Lock Linux deps builder CUDA toolkit version to 12.8

Prior to this commit, the Rocky Linux dependency builder environment
setup script would download the latest version of CUDA rather than a
specific version.

This makes it harder to ensure a consistent environment for people
building Blender's libraries, and recently, it has lead to errors
building some of Blender's dependencies due to incompatibilites with
the latest CUDA version and the library versions we build.
E.g. The OSL version we use does not work properly with CUDA 13.

Pull Request: https://projects.blender.org/blender/blender/pulls/145859
This commit is contained in:
Alaska
2025-09-08 12:40:35 +02:00
committed by Sebastian Parborg
parent 329ba2f69e
commit 081dda7f68

View File

@@ -104,7 +104,7 @@ PACKAGES_FOR_LIBS=(
# `export LD_LIBRARY_PATH=/usr/local/cuda-12.5/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}`
# `export PATH=/usr/local/cuda-12.5/bin${PATH:+:${PATH}}`
# Required by `external_openimagedenoise` (`nvcc` command)
cuda-toolkit
cuda-toolkit-12-8
# Required by: `external_ispc`.
zlib-devel