# IT4Innovation 2021
# LK

name = 'intel-compilers'
version = '2021.1.2'

homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit.html'
description = "Intel C, C++ & Fortran compilers (classic and oneAPI)"

toolchain = SYSTEM

# see https://software.intel.com/content/www/us/en/develop/articles/oneapi-standalone-components.html
sources = [
    {
        'source_urls': ['https://registrationcenter-download.intel.com/akdlm/irc_nas/17513/'],
        'filename': 'l_dpcpp-cpp-compiler_p_%(version)s.63_offline.sh',
    },
    {
        'source_urls': ['https://registrationcenter-download.intel.com/akdlm/irc_nas/17508/'],
        'filename': 'l_fortran-compiler_p_%(version)s.62_offline.sh',
    },
]
checksums = [
    '68d6cb638091990e578e358131c859f3bbbbfbf975c581fd0b4b4d36476d6f0a',  # l_dpcpp-cpp-compiler_p_2021.1.2.63_offline.sh
    '29345145268d08a59fa7eb6e58c7522768466dd98f6d9754540d1a0803596829',  # l_fortran-compiler_p_2021.1.2.62_offline.sh
]

local_gccver = '10.2.0'
dependencies = [
    ('GCCcore', local_gccver),
    ('binutils', '2.35', '', ('GCCcore', local_gccver)),
]

moduleclass = 'compiler'
