# IT4Innovations
# LK 2024

easyblock = 'CMakeMake'

name = 'OpenVDB'
version = '11.0.0'
versionsuffix = '-Python-3.10.8'

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': 'foss', 'version': '2022b'}

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


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

dependencies = [
   ('Python', '3.10.8'),
   ('tbb', '2021.10.0'),
   ('Boost', '1.81.0'),
   ('Blosc', '1.21.3'),
]

separate_build_dir = True

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

moduleclass = 'chem' 
