easyconfigs-it4i/o/OpenBLAS/OpenBLAS-0.2.13-GCC-4.9.2-LAPACK-3.5.0.eb
Josef Hrabal 27902b54aa _not_installed merged back
Modules which was not installed merged back to root directory.
2017-04-05 12:53:18 +02:00

52 lines
1.4 KiB
Plaintext

easyblock = 'ConfigureMake'
name = 'OpenBLAS'
version = '0.2.13'
lapackver = '3.5.0'
versionsuffix = '-LAPACK-%s' % lapackver
homepage = 'http://xianyi.github.com/OpenBLAS/'
description = """OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version."""
toolchain = {'name': 'GCC', 'version': '4.9.2'}
lapack_src = 'lapack-%s.tgz' % lapackver
large_src = 'large.tgz'
timing_src = 'timing.tgz'
sources = [
'v%(version)s.tar.gz',
lapack_src,
large_src,
timing_src,
]
source_urls = [
# order matters, trying to download the LAPACK tarball from GitHub causes trouble
"http://www.netlib.org/lapack/",
"http://www.netlib.org/lapack/timing/",
"https://github.com/xianyi/OpenBLAS/archive/",
]
patches = [
(lapack_src, '.'), # copy LAPACK tarball to unpacked OpenBLAS dir
(large_src, '.'),
(timing_src, '.'),
]
skipsteps = ['configure']
buildopts = 'BINARY=64 USE_THREAD=1 CC="$CC" FC="$F77" NO_AFFINITY=1'
installopts = "USE_THREAD=1 PREFIX=%(installdir)s"
# extensive testing can be enabled by uncommenting the line below
#runtest = 'PATH=.:$PATH lapack-timing'
sanity_check_paths = {
'files': ['include/cblas.h', 'include/f77blas.h', 'include/lapacke_config.h', 'include/lapacke.h',
'include/lapacke_mangling.h', 'include/lapacke_utils.h', 'include/openblas_config.h',
'lib/libopenblas.a', 'lib/libopenblas.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'numlib'