From 081dda7f68d7c3ac780791901afb97cc3f54a23a Mon Sep 17 00:00:00 2001 From: Alaska Date: Mon, 8 Sep 2025 12:40:35 +0200 Subject: [PATCH] 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 --- build_files/build_environment/linux/linux_rocky8_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_files/build_environment/linux/linux_rocky8_setup.sh b/build_files/build_environment/linux/linux_rocky8_setup.sh index 54c8cfe8407..99e8eaf7d82 100644 --- a/build_files/build_environment/linux/linux_rocky8_setup.sh +++ b/build_files/build_environment/linux/linux_rocky8_setup.sh @@ -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