# IT4Innovations 2019

# cthyb extension installed manually https://triqs.ipht.cnrs.fr/1.4/applications/cthyb/install.html
# som extension installed with EB s/som/som-1.1-foss-2017a.eb
# dft_tools extension https://issp-center-dev.github.io/DCore/develop/install_triqs14x.html

easyblock = 'CMakeMake'

name = 'TRIQS'
version = '1.4.2'
versionsuffix = '-test'

homepage = 'https://triqs.ipht.cnrs.fr'
description = """TRIQS (Toolbox for Research on Interacting Quantum Systems) is a scientific
    project providing a set of C++ and Python libraries to develop new tools for the study
    of interacting quantum systems."""

toolchain = {'name': 'gompi', 'version': '2019.02'}

source_urls = ['https://github.com/TRIQS/triqs/archive/']
sources = ['1.4.x.tar.gz']

dependencies = [
    ('HDF5', '1.10.4', '-serial'),
    ('FFTW', '3.3.8'),
    ('Clang', '7.0.1'),
    ('OpenBLAS', '0.2.20'),
    ('Boost', '1.68.0', '-Python-2.7.15'),
]

builddependencies = [
    ('CMake', '3.13.1', '', True),
]

separate_build_dir = True

sanity_check_paths = {
    'files': ['bin/pytriqs', 'lib/libtriqs.so'],
    'dirs': [],
}

moduleclass = 'lib'
