add Blender3.3.1

This commit is contained in:
Milan Jaros 2022-11-15 09:26:43 +01:00
parent 7b4cd8d57d
commit 0667e95580

View File

@ -0,0 +1,31 @@
# IT4Innovations 2021
easyblock = 'Tarball'
name = 'Blender'
version = '3.3.1'
homepage = 'https://www.blender.org/'
description = """Blender is the free and open source 3D creation suite. It supports
the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering,
compositing and motion tracking, even video editing and game creation."""
toolchain = {'name': 'GCC', 'version': '10.3.0'}
source_urls = ['https://ftp.nluug.nl/pub/graphics/blender/release/Blender3.3/']
sources = ['blender-%(version)s-linux-x64.tar.xz']
checksums = ['3089a485dd621785d7a702089aba72d07b8f733a362e901ec1449b9a379546f2']
postinstallcmds = [
'ml CUDAcore;"nvcc" -arch=sm_80 --cubin "%(installdir)s/3.3/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu" -o "%(installdir)s/3.3/scripts/addons/cycles/lib/kernel_sm_80.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"%(installdir)s/3.3/scripts/addons/cycles/source" -DWITH_NANOVDB',
'find %(installdir)s -executable -exec chmod +x {} \;',
]
modextrapaths = {'PATH': ''}
sanity_check_paths = {
'files': ["blender"],
'dirs': []
}
moduleclass = 'vis'