# IT4Innovations 
# LK 2022

easyblock = 'CMakeMake'

name = 'OpenVDB'
version = '9.1.0'
versionsuffix = '-Python-3.8.6'

homepage = 'https://github.com/AcademySoftwareFoundation/openvdb'
description = """OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a large suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It was developed by DreamWorks Animation for use in volumetric applications typically encountered in feature film production."""

toolchain = {'name': 'intel', 'version': '2020b'}

source_urls = ['https://github.com/AcademySoftwareFoundation/openvdb/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['914ee417b4607c75c95b53bc73a0599de4157c7d6a32e849e80f24e40fb64181']


builddependencies = [
   ('CMake', '3.20.1')
]

dependencies = [
   ('Python', '3.8.6'),
   ('tbb', '2020.3'),
   ('Boost', '1.74.0'),
]

separate_build_dir = True

sanity_check_paths = {
    'files': ['bin/vdb_print'],
    'dirs': ['bin', 'include', 'lib', 'lib64']
}

moduleclass = 'chem'