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