From a94740d687392b94d90adebfd6b4a77a28264ded Mon Sep 17 00:00:00 2001 From: Milan Jaros Date: Sat, 28 Oct 2023 15:30:50 +0200 Subject: [PATCH] add Blender/3.6.5-GCC-10.3.0 --- b/Blender/Blender-3.6.5-GCC-10.3.0.eb | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 b/Blender/Blender-3.6.5-GCC-10.3.0.eb diff --git a/b/Blender/Blender-3.6.5-GCC-10.3.0.eb b/b/Blender/Blender-3.6.5-GCC-10.3.0.eb new file mode 100644 index 00000000..33c419cf --- /dev/null +++ b/b/Blender/Blender-3.6.5-GCC-10.3.0.eb @@ -0,0 +1,32 @@ +# IT4Innovations +# ML 2023 + +easyblock = 'Tarball' + +name = 'Blender' +version = '3.6.5' + +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.6/'] +sources = ['blender-%(version)s-linux-x64.tar.xz'] +checksums = ['05b2e56249a92b856c8b7b4d77c65e245702aaa81d9b4f34734ec09bbcedf42b'] + +postinstallcmds = [ + 'ml CUDAcore;"nvcc" -arch=sm_80 --cubin "%(installdir)s/3.6/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu" -o "%(installdir)s/3.6/scripts/addons/cycles/lib/kernel_sm_80.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"%(installdir)s/3.6/scripts/addons/cycles/source" -DWITH_NANOVDB', + 'find %(installdir)s -executable -exec chmod +x {} \;', +] + +modextrapaths = {'PATH': ''} + +sanity_check_paths = { + 'files': ["blender"], + 'dirs': [] +} + +moduleclass = 'vis'