# IT4Innovations
# BS 2024

easyblock = 'CMakeMake'

name = 'OpenVDB'
version = '11.0.0'
#versionsuffix = 'Python-3.11.5-GCCcore-13.2.0'

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'}

toolchainopts = {'usempi': True, 'pic': True}

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


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

dependencies = [
   #('GCC', '13.2.0'),
   ('Python', '3.11.5'),
   ('tbb', '2020.3'),
   ('Boost', '1.77.0'),
]


separate_build_dir = True

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

moduleclass = 'chem'