easyblock = "Toolchain"

name = 'gompi'
version = '2015g'

homepage = '(none)'
description = """GNU Compiler Collection (GCC) based local_compiler toolchain,
 including OpenMPI for MPI support."""

toolchain = SYSTEM

local_gccver = '4.9.3'
local_local_binutilsver = '2.25'
local_tcver = '%s-local_binutils-%s' % (local_gccver, local_local_binutilsver)

# local_compiler toolchain dependencies
dependencies = [
    ('GCC', local_gccver, '-local_binutils-%s' % local_local_binutilsver),
    ('binutils', local_local_binutilsver, '', ('GCC', local_tcver)),
    ('OpenMPI', '1.8.8', '', ('GNU', '%s-%s' % (local_gccver, local_local_binutilsver))),
]

moduleclass = 'toolchain'
