easyblock = 'ConfigureMake'

name = 'PSBLAS-ext'
version = '1.0-4'

homepage = 'http://people.uniroma2.it/salvatore.filippone/psblas/'
description = """PSBLAS - Extended formats and NVIDIA GPU support """

toolchain = {'name': 'GCC', 'version': '4.9.3-2.25'}
toolchainopts = {'pic': True}

dependencies = [
    ('PSBLAS', '3.3.4-3'),
    ('CUDA', '7.5.18', '', True)
]

source_urls = ['http://people.uniroma2.it/salvatore.filippone/psblas/']
sources = [SOURCELOWER_TGZ]

configopts = '--with-psblas=$EBROOTPSBLAS'

sanity_check_paths = {
    'files': [],
    'dirs': ['lib'],
}

moduleclass = 'math'