barbora release

This commit is contained in:
easybuild 2019-11-05 15:59:50 +01:00
parent edddd2270c
commit 71e525cd86
8 changed files with 234 additions and 4 deletions

View File

@ -0,0 +1,28 @@
# IT4Innovations 2019
name = 'binutils'
version = '2.32'
homepage = 'http://directory.fsf.org/project/binutils/'
description = "binutils: GNU binary utilities"
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['9b0d97b3d30df184d302bced12f976aa1e5fbf4b0be696cdebc6cca30411a46e']
builddependencies = [
('flex', '2.6.4', '', True),
('Bison', '3.3.2', '', True),
# use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils
('binutils', version, '', True)
]
dependencies = [
# zlib is a runtime dep to avoid that it gets embedded in libbfd.so,
# see https://github.com/easybuilders/easybuild-easyblocks/issues/1350
('zlib', '1.2.11', '', True),
]
moduleclass = 'tools'

View File

@ -0,0 +1,28 @@
# IT4Innovations 2019
name = 'binutils'
version = '2.32'
homepage = 'https://directory.fsf.org/project/binutils/'
description = "binutils: GNU binary utilities"
toolchain = {'name': 'GCCcore', 'version': '9.2.0'}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['9b0d97b3d30df184d302bced12f976aa1e5fbf4b0be696cdebc6cca30411a46e']
builddependencies = [
('flex', '2.6.4', '', True),
('Bison', '3.3.2', '', True),
# use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils
('binutils', version, '', True)
]
dependencies = [
# zlib is a runtime dep to avoid that it gets embedded in libbfd.so,
# see https://github.com/easybuilders/easybuild-easyblocks/issues/1350
('zlib', '1.2.11', '', True),
]
moduleclass = 'tools'

View File

@ -0,0 +1,23 @@
# IT4Innovations 2019
name = 'binutils'
version = '2.32'
homepage = 'http://directory.fsf.org/project/binutils/'
description = "binutils: GNU binary utilities"
toolchain = SYSTEM
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['9b0d97b3d30df184d302bced12f976aa1e5fbf4b0be696cdebc6cca30411a46e']
builddependencies = [
('flex', '2.6.4'),
('Bison', '3.3.2'),
# zlib required, but being linked in statically, so not a runtime dep
('zlib', '1.2.11'),
]
moduleclass = 'tools'

27
g/GCC/GCC-8.3.0-2.32.eb Normal file
View File

@ -0,0 +1,27 @@
# IT4Innpvations 2019
easyblock = 'Bundle'
name = 'GCC'
version = '8.3.0'
local_binutilsver = '2.32'
versionsuffix = '-%s' % local_binutilsver
homepage = 'http://gcc.gnu.org/'
description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...)."""
toolchain = SYSTEM
dependencies = [
('GCCcore', version),
# binutils built on top of GCCcore, which was built on top of (dummy-built) binutils
('binutils', local_binutilsver, '', ('GCCcore', version)),
]
altroot = 'GCCcore'
altversion = 'GCCcore'
# this bundle serves as a compiler-only toolchain, so it should be marked as compiler (important for HMNS)
moduleclass = 'compiler'

27
g/GCC/GCC-9.2.0-2.32.eb Normal file
View File

@ -0,0 +1,27 @@
# IT4Innovations 2019
easyblock = 'Bundle'
name = 'GCC'
version = '9.2.0'
local_binutilsver = '2.32'
versionsuffix = '-%s' % local_binutilsver
homepage = 'https://gcc.gnu.org/'
description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...)."""
toolchain = SYSTEM
dependencies = [
('GCCcore', version),
# binutils built on top of GCCcore, which was built on top of (dummy-built) binutils
('binutils', local_binutilsver, '', ('GCCcore', version)),
]
altroot = 'GCCcore'
altversion = 'GCCcore'
# this bundle serves as a compiler-only toolchain, so it should be marked as compiler (important for HMNS)
moduleclass = 'compiler'

View File

@ -0,0 +1,49 @@
# IT4Innovations 2019
easyblock = 'EB_GCC'
name = 'GCCcore'
version = '8.3.0'
homepage = 'http://gcc.gnu.org/'
description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...)."""
toolchain = SYSTEM
source_urls = [
'http://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror
'http://ftpmirror.gnu.org/gnu/gmp', # idem for GMP
'http://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR
'http://ftpmirror.gnu.org/gnu/mpc', # idem for MPC
'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies
'http://gcc.cybermirror.org/infrastructure/', # HTTP mirror for GCC dependencies
'http://isl.gforge.inria.fr/', # original HTTP source for ISL
]
sources = [
'gcc-%(version)s.tar.gz',
'gmp-6.1.2.tar.bz2',
'mpfr-4.0.2.tar.bz2',
'mpc-1.1.0.tar.gz',
'isl-0.20.tar.bz2',
]
patches = ['GCCcore-6.2.0-fix-find-isl.patch']
checksums = [
'ea71adc1c3d86330874b8df19611424b143308f0d6612d542472600532c96d2d', # gcc-8.3.0.tar.gz
'5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2', # gmp-6.1.2.tar.bz2
'c05e3f02d09e0e9019384cdd58e0f19c64e6db1fd6f5ecf77b4b1c61ca253acc', # mpfr-4.0.2.tar.bz2
'6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e', # mpc-1.1.0.tar.gz
'b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2', # isl-0.20.tar.bz2
'5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68', # GCCcore-6.2.0-fix-find-isl.patch
]
builddependencies = [
('M4', '1.4.18', '', True),
('binutils', '2.32'),
]
languages = ['c', 'c++', 'fortran']
withisl = True
moduleclass = 'compiler'

View File

@ -0,0 +1,51 @@
# IT4Innovations 2019
easyblock = 'EB_GCC'
name = 'GCCcore'
version = '9.2.0'
homepage = 'https://gcc.gnu.org/'
description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...)."""
toolchain = SYSTEM
local_mpfr_version = '4.0.2'
source_urls = [
'https://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror
'https://ftpmirror.gnu.org/gnu/gmp', # idem for GMP
'https://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR
'https://ftpmirror.gnu.org/gnu/mpc', # idem for MPC
'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies
'http://gcc.cybermirror.org/infrastructure/', # HTTP mirror for GCC dependencies
'http://isl.gforge.inria.fr/', # original HTTP source for ISL
]
sources = [
'gcc-%(version)s.tar.gz',
'gmp-6.1.2.tar.bz2',
'mpfr-%s.tar.bz2' % local_mpfr_version,
'mpc-1.1.0.tar.gz',
'isl-0.21.tar.bz2',
]
patches = ['GCCcore-6.2.0-fix-find-isl.patch']
checksums = [
'a931a750d6feadacbeecb321d73925cd5ebb6dfa7eff0802984af3aef63759f4', # gcc-9.2.0.tar.gz
'5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2', # gmp-6.1.2.tar.bz2
'c05e3f02d09e0e9019384cdd58e0f19c64e6db1fd6f5ecf77b4b1c61ca253acc', # mpfr-4.0.2.tar.bz2
'6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e', # mpc-1.1.0.tar.gz
'd18ca11f8ad1a39ab6d03d3dcb3365ab416720fcb65b42d69f34f51bf0a0e859', # isl-0.21.tar.bz2
'5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68', # GCCcore-6.2.0-fix-find-isl.patch
]
builddependencies = [
('M4', '1.4.18', '', True),
('binutils', '2.32'),
]
languages = ['c', 'c++', 'fortran']
withisl = True
moduleclass = 'compiler'

View File

@ -18,16 +18,13 @@ dependencies = [
('hwloc', '1.11.7')
]
# for PBS Pro 13
preconfigopts = 'export LIBS="-ldl" && '
configopts = '--enable-shared --enable-mpi-thread-multiple --with-verbs '
# suppress failure modes in relation to mpirun path
configopts += '--enable-mpirun-prefix-by-default '
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
# configopts += '--disable-dlopen ' # dont disable dlopen!
# https://github.com/open-mpi/ompi/issues/3630
configopts += '--with-tm=/opt/pbs/default ' # Enable PBS
configopts += '--with-tm=/opt/pbs ' # Enable PBS
#configopts += '--enable-mpi-java ' # Java support RT#4090
configopts += '--enable-mpi-cxx ' # Enable building the C++ MPI bindings