Commit 9a9c4533 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

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

Easyconfigs it4i salomon

See merge request !1
parents 29a53ee6 ecf4fc0c
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'
......@@ -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"
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment