Merge branch 'easyconfigs-it4i-salomon' into 'master'

Easyconfigs it4i salomon

See merge request !1
This commit is contained in:
Lukáš Krupčík 2017-03-20 08:11:43 +01:00
commit 9a9c453300
3 changed files with 21 additions and 4 deletions

View File

@ -0,0 +1,19 @@
easyblock = 'ConfigureMake'
name = 'GSL'
version = '2.3'
homepage = 'http://www.gnu.org/software/gsl/'
description = """The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers.
The library provides a wide range of mathematical routines such as random number generators, special functions
and least-squares fitting."""
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'unroll': True, 'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
configopts = "--with-pic"
moduleclass = 'numlib'

View File

@ -13,9 +13,6 @@ toolchain = {'name': 'dummy', 'version': ''}
sources = [SOURCELOWER_TAR_GZ]
source_urls = [GNU_SOURCE]
# use same binutils version that was used when building GCC toolchain
builddependencies = [('binutils', '2.27', '', True)]
# '-fgnu89-inline' is required to avoid linking errors with older glibc's,
# see https://github.com/hpcugent/easybuild-easyconfigs/issues/529
configopts = "--enable-cxx CPPFLAGS=-fgnu89-inline"

View File

@ -20,6 +20,7 @@ sources = [
large_src,
timing_src,
]
source_urls = [
# order matters, trying to download the LAPACK tarball from GitHub causes trouble
"http://www.netlib.org/lapack/",
@ -35,7 +36,7 @@ patches = [
skipsteps = ['configure']
buildopts = 'BINARY=64 USE_THREAD=1 CC="$CC" FC="$F77" NO_AFFINITY=1'
buildopts = 'BINARY=64 USE_THREAD=1 USE_OPENMP=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