name = 'PGI'
version = '15.10'

homepage = 'http://www.pgroup.com/'
description = "C, C++ and Fortran local_compilers from The Portland Group - PGI"

toolchain = SYSTEM

sources = [
    'pgilinux-20%(version_major)s-%(version_major)s%(version_minor)s-x86_64.tar.gz']
checksums = ['cae307f7ad467a1811a5d5da758048ab']

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

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

# license file
import os
license_file = os.path.join(
    os.getenv('HOME'),
    "licenses",
    "pgi",
    "license.dat")

moduleclass = 'compiler'
