# IT4Innovations 2019

easyblock = 'CMakeMake'

name = 'som'
version = '1.1'

homepage = 'http://krivenko.github.io/som/index.html'
description = 'The TRIQS-based Stochastic Optimization Method for Analytic Continuation allows to solve a family of Fredholm integral equations of the first kind.'

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

source_urls = ['https://github.com/krivenko/som/archive/']
sources = ['%(version)s.tar.gz']

dependencies = [
    ('TRIQS', '1.4.2'),
]

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

configopts = '-DTRIQS_PATH=$EBROOTTRIQS'

separate_build_dir = True

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

moduleclass = 'lib'
