# IT4Innovations 2019

easyblock = 'CMakeMake'

name = 'Libmsr'
version = '20191216'

homepage = 'https://github.com/LLNL/libms'
description = """Welcome to Libmsr, a friendly (well, friendlier) interface to many 
of the model-specific registers in Intel processors. Now with PCI configuration 
register support for some Intel hardware."""

toolchain = SYSTEM

# git clone https://github.com/LLNL/libmsr.git
sources = ['libmsr-master-20191216.tar.gz']

builddependencies = [('CMake', '3.16.0', '-rc3')]

dependencies = [
   ('hwloc', '1.11.12'),
]

sanity_check_paths = {
    'files': ['bin/msrmod', 'lib/libmsr.a', 'lib/libmsr.so'],
    'dirs': ['bin', 'share', 'include', 'lib'],
}

moduleclass = 'lib'
