From 2c514bed7fb3ee0f66196e9eb31140ecb86b0938 Mon Sep 17 00:00:00 2001 From: Milan Jaros Date: Mon, 7 Mar 2022 10:31:56 +0100 Subject: [PATCH] add Blender-3.0.1-GCC-10.3.0.eb --- b/Blender/Blender-3.0.1-GCC-10.3.0.eb | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 b/Blender/Blender-3.0.1-GCC-10.3.0.eb diff --git a/b/Blender/Blender-3.0.1-GCC-10.3.0.eb b/b/Blender/Blender-3.0.1-GCC-10.3.0.eb new file mode 100644 index 00000000..1b930a04 --- /dev/null +++ b/b/Blender/Blender-3.0.1-GCC-10.3.0.eb @@ -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'