Merge branch 'master' of code.it4i.cz:sccs/easyconfigs-it4i into it4i-barbora

This commit is contained in:
Lukas Krupcik 2022-03-07 10:59:04 +01:00
commit bc435108fa

View File

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