From 34f64eb35b0e9a2ffb9eb42bbbf99d752465479e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 8 Feb 2024 15:03:46 +1100 Subject: [PATCH] Build: add additional packages for Linux (cuda-toolkip & autogen) --- .../build_environment/linux/linux_rocky8_setup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build_files/build_environment/linux/linux_rocky8_setup.sh b/build_files/build_environment/linux/linux_rocky8_setup.sh index 55802226ef3..ccf8a215403 100644 --- a/build_files/build_environment/linux/linux_rocky8_setup.sh +++ b/build_files/build_environment/linux/linux_rocky8_setup.sh @@ -39,6 +39,9 @@ yum -y install scl-utils-build # Currently this is defined by the VFX platform (CY2023), see: https://vfxplatform.com yum -y install gcc-toolset-11 +# Repository for CUDA (`nvcc`). +dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel8/$(uname -i)/cuda-rhel8.repo + # Install packages needed for Blender's dependencies. PACKAGES_FOR_LIBS=( # Used to checkout Blender's code. @@ -61,6 +64,9 @@ PACKAGES_FOR_LIBS=( automake libtool + # Required by: `external_libsndfile` configure scripts. + autogen + # Used to set rpath on shared libraries patchelf @@ -84,6 +90,10 @@ PACKAGES_FOR_LIBS=( # Required by: [`flex` as a build-time dependency for `makeinfo`]. texinfo + # NOTE(@ideasman42): `nvcc` will *not* be added to the `PATH`, must be done manually. + # Required by `external_openimagedenoise` (`nvcc` command) + cuda-toolkit + # Required by: `external_ispc`. zlib-devel # TODO: dependencies build without this, consider removal.