add Blender3.2, fix Blender3.1

This commit is contained in:
Milan Jaros 2022-08-24 12:57:06 +02:00
parent a7886bcf12
commit 434e5d6096
2 changed files with 31 additions and 4 deletions

View File

@ -14,11 +14,7 @@ toolchain = {'name': 'GCC', 'version': '10.3.0'}
source_urls = ['https://ftp.nluug.nl/pub/graphics/blender/release/Blender3.1/']
sources = ['blender-%(version)s-linux-x64.tar.xz']
<<<<<<< HEAD
checksums = ['8cf60d0c2cbda2ad26d8ff65e54cce45']
=======
checksums = ['ced2aaabc75731c2ae0e29493d0d2db7803d2bbb70a11cd0e7f50546d465bd8c']
>>>>>>> f9b20a6876de43df220c97513f83ee10c203bb30
postinstallcmds = [
'ml CUDAcore;"nvcc" -arch=sm_80 --cubin "%(installdir)s/3.1/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu" -o "%(installdir)s/3.1/scripts/addons/cycles/lib/kernel_sm_80.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"%(installdir)s/3.1/scripts/addons/cycles/source" -DWITH_NANOVDB',

View File

@ -0,0 +1,31 @@
# IT4Innovations 2021
easyblock = 'Tarball'
name = 'Blender'
version = '3.2.2'
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.2/']
sources = ['blender-%(version)s-linux-x64.tar.xz']
checksums = ['1726560157d90cf2aaaeb6d25ded1783d66bff043814cd95b90fc0af1d9e018b']
postinstallcmds = [
'ml CUDAcore;"nvcc" -arch=sm_80 --cubin "%(installdir)s/3.2/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu" -o "%(installdir)s/3.2/scripts/addons/cycles/lib/kernel_sm_80.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"%(installdir)s/3.2/scripts/addons/cycles/source" -DWITH_NANOVDB',
'find %(installdir)s -executable -exec chmod +x {} \;',
]
modextrapaths = {'PATH': ''}
sanity_check_paths = {
'files': ["blender"],
'dirs': []
}
moduleclass = 'vis'