# IT4Innpvations 2019

easyblock = 'Bundle'

name = 'GCC'
version = '8.3.0'

local_local_local_binutilsver = '2.32'
versionsuffix = '-%s' % local_local_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),
    # local_binutils built on top of GCCcore, which was built on top of (dummy-built) local_binutils
    ('binutils', local_local_local_binutilsver, '', ('GCCcore', version)),
]

altroot = 'GCCcore'
altversion = 'GCCcore'

# this bundle serves as a local_compiler-only toolchain, so it should be marked as local_compiler (important for HMNS)
moduleclass = 'compiler'
