easyconfigs-it4i/o/Octave/Octave-3.8.2-intel-2015b.eb
2017-03-09 11:57:40 +01:00

44 lines
1.3 KiB
Plaintext

easyblock = 'ConfigureMake'
name = 'Octave'
version = '3.8.2'
homepage = 'http://www.gnu.org/software/octave/'
description = """GNU Octave is a high-level interpreted language, primarily intended for numerical computations."""
toolchain = {'name': 'intel', 'version': '2015b'}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
patches = ['Octave-%(version)s_intel.patch']
osdependencies = ['gnuplot', 'texinfo-tex', 'texlive-dvips']
dependencies = [
('PCRE', '8.38'),
('ncurses', '5.9'),
('libreadline', '6.3'),
]
configopts = '--with-blas="-lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lpthread -lm" '
configopts += '--with-lapack="-lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lpthread -lm" '
configopts += '--without-umfpack --without-cxsparse --without-colamd --without-ccolamd --without-qrupdate '
configopts += '--without-camd --without-amd --without-arpack --without-qhull'
# Because of missing man pages (non-standard location)
postinstallcmds = [
'mkdir -p %(installdir)s/share/man/man1',
'cp doc/interpreter/*.1 %(installdir)s/share/man/man1'
]
modextrapaths = {'MANPATH': 'share/man'}
sanity_check_paths = {
'files': ['bin/octave'],
'dirs': []
}
sanity_check_commands = [('octave', '--eval "1+2"')]
moduleclass = 'math'