# This is an easyconfig file for EasyBuild, see https://easybuilders.github.io/easybuild/

name = 'icc'
version = '2016.1.150'

homepage = 'https://software.intel.com/en-us/intel-compilers/'
description = "C and C++ compiler from Intel"

toolchain = SYSTEM

sources = ['parallel_studio_xe_%(version_major)s_composer_edition_for_cpp_update%(version_minor)s.tgz']
checksums = ['8b6d11e7c31399ad48f24d08428b8b02a5f9cab20826cc03c2ea7425b54b716e']

local_gccver = '4.9.3'
local_binutilsver = '2.25'
versionsuffix = '-GCC-%s-%s' % (local_gccver, local_binutilsver)

dependencies = [
    ('GCCcore', local_gccver),
    ('binutils', local_binutilsver, '', ('GCCcore', local_gccver)),
]

# list of regex for components to install
# full list of components can be obtained from pset/mediaconfig.xml in unpacked sources
# cfr. https://software.intel.com/en-us/articles/intel-composer-xe-2015-silent-installation-guide
components = ['intel-comp', 'intel-ccomp', 'intel-icc', 'intel-openmp', 'intel-ipsc?_']

dontcreateinstalldir = True

license_file = '/opt/easybuild/configs/utils/license_intel_all.lic'

moduleclass = 'compiler'
