mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: b/binutils/binutils-2.25-GCCcore-4.9.3.eb new file: b/binutils/binutils-2.25.eb new file: b/byacc/byacc-20120526.eb modified: f/FFTW/FFTW-3.3.5-gompi-2016a.eb modified: f/flex/flex-2.5.39.eb new file: f/foss/foss-2016a.eb modified: g/GCCcore/GCCcore-4.9.3.eb modified: g/GCCcore/GCCcore-5.4.0.eb modified: g/GCCcore/GCCcore-8.1.0.eb modified: g/GROMACS/GROMACS-5.1.4-foss-2016a-hybrid-single-PLUMED.eb new file: g/gompi/gompi-2016a.eb new file: h/hwloc/hwloc-1.11.7-GCC-4.9.3-2.25.eb new file: i/icc/icc-2018.1.163-GCC-6.3.0-2.27.eb new file: i/iccifort/iccifort-2018.1.163-GCC-6.3.0-2.27.eb new file: i/ifort/ifort-2018.1.163-GCC-6.3.0-2.27.eb modified: i/iimpi/iimpi-2018a.eb new file: i/impi/impi-2018.1.163-iccifort-2018.1.163-GCC-6.3.0-2.27.eb modified: i/intel/intel-2018a.eb modified: l/libarchive/libarchive-3.3.2.eb new file: l/libmatheval/libmatheval-1.1.8.eb new file: n/numactl/numactl-2.0.11-GCC-4.9.3-2.25.eb modified: n/numactl/numactl-2.0.11-GCC-6.3.0-2.27.eb modified: o/ORCA/ORCA-4.0.1.2.eb modified: o/OpenMPI/OpenMPI-1.10.2-GCC-4.9.3-2.25.eb new file: o/OpenMPI/OpenMPI-1.10.7-GCC-4.9.3-2.25.eb modified: o/OpenMPI/OpenMPI-2.0.1-iccifort-2017.1.132-GCC-6.3.0-2.27.eb deleted: i/icc/icc-2018.1.163-GCC-6.4.0-2.28.eb deleted: i/iccifort/iccifort-2018.1.163-GCC-6.4.0-2.28.eb deleted: i/ifort/ifort-2018.1.163-GCC-6.4.0-2.28.eb deleted: i/impi/impi-2018.1.163-iccifort-2018.1.163-GCC-6.4.0-2.28.eb
68 lines
1.8 KiB
Plaintext
68 lines
1.8 KiB
Plaintext
# IT4Innovations
|
|
|
|
easyblock = 'EB_GCC'
|
|
|
|
name = 'GCCcore'
|
|
version = '4.9.3'
|
|
|
|
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 = {'name': 'dummy', 'version': ''}
|
|
|
|
mpfr_version = '3.1.2'
|
|
|
|
source_urls = [
|
|
'http://ftpmirror.gnu.org/gcc/gcc-%s' % version, # GCC auto-resolving HTTP mirror
|
|
'http://ftpmirror.gnu.org/gmp', # idem for GMP
|
|
'http://ftpmirror.gnu.org/mpfr', # idem for MPFR
|
|
'http://www.multiprecision.org/mpc/download', # MPC official
|
|
'https://ftp.gnu.org/gnu/mpc/',
|
|
]
|
|
sources = [
|
|
'gcc-%(version)s.tar.bz2',
|
|
'gmp-6.0.0a.tar.bz2',
|
|
'mpfr-%s.tar.gz' % mpfr_version,
|
|
'mpc-1.0.2.tar.gz',
|
|
]
|
|
|
|
builddependencies = [
|
|
('Autotools', '20150215'),
|
|
('binutils', '2.25'),
|
|
]
|
|
|
|
patches = [
|
|
('mpfr-%s-allpatches-20141204.patch' %
|
|
mpfr_version,
|
|
'../mpfr-%s' %
|
|
mpfr_version)]
|
|
|
|
checksums = [
|
|
'6f831b4d251872736e8e9cc09746f327', # gcc-4.9.3.tar.bz2
|
|
'b7ff2d88cae7f8085bd5006096eed470', # gmp-6.0.0a.tar.bz2
|
|
'181aa7bb0e452c409f2788a4a7f38476', # mpfr-3.1.2.tar.gz
|
|
'68fadff3358fb3e7976c7a398a0af4c3', # mpc-1.0.2.tar.gz
|
|
'58aec98d15982f9744a043d2f1c5af82', # mpfr-3.1.2-allpatches-20141204.patch
|
|
]
|
|
|
|
languages = ['c', 'c++', 'fortran']
|
|
|
|
# building GCC sometimes fails if make parallelism is too high, so let's
|
|
# limit it
|
|
maxparallel = 4
|
|
|
|
moduleclass = 'compiler'
|
|
|
|
# Salomon specific optimalization
|
|
modextravars = {
|
|
'CC': '%(installdir)s/bin/gcc',
|
|
'CXX': '%(installdir)s/bin/g++',
|
|
'F90': '%(installdir)s/bin/gfortran',
|
|
'F77': '%(installdir)s/bin/gfortran',
|
|
'FC': '%(installdir)s/bin/gfortran',
|
|
'F9X': '%(installdir)s/bin/gfortran',
|
|
'OPTFLAGS': '-O3 -march=native',
|
|
'DEBUGFLAGS': '-O0 -g'
|
|
}
|