diff --git a/b/Blender/Blender-4.0.2-GCCcore-12.2.0.eb b/b/Blender/Blender-4.0.2-GCCcore-12.2.0.eb new file mode 100644 index 00000000..edbb38c5 --- /dev/null +++ b/b/Blender/Blender-4.0.2-GCCcore-12.2.0.eb @@ -0,0 +1,32 @@ +# IT4Innovations +# MJ 2024 + +easyblock = 'Tarball' + +name = 'Blender' +version = '4.0.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': 'GCCcore', 'version': '12.2.0'} + +source_urls = ['https://ftp.nluug.nl/pub/graphics/blender/release/Blender4.0/'] +sources = ['blender-%(version)s-linux-x64.tar.xz'] +checksums = ['5583a5588736da8858c522ef17fff5d73be59c47a6fe91ad29c6f3263e22086a'] + +postinstallcmds = [ + 'ml CUDA;"nvcc" -arch=sm_80 --cubin "%(installdir)s/4.0/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu" -o "%(installdir)s/4.0/scripts/addons/cycles/lib/kernel_sm_80.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"%(installdir)s/4.0/scripts/addons/cycles/source" -DWITH_NANOVDB', + 'find %(installdir)s -executable -exec chmod +x {} \;', +] + +modextrapaths = {'PATH': ''} + +sanity_check_paths = { + 'files': ["blender"], + 'dirs': [] +} + +moduleclass = 'vis'