diff --git a/b/Blender/Blender-3.3.1-GCC-10.3.0.eb b/b/Blender/Blender-3.3.1-GCC-10.3.0.eb new file mode 100644 index 00000000..ae4cb512 --- /dev/null +++ b/b/Blender/Blender-3.3.1-GCC-10.3.0.eb @@ -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'