name = 'PGI'
version = '15.7'

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']

local_gnu = 'GNU'
local_gnuver = '4.9.2-2.25'
versionsuffix = '-%s-%s' % (local_gnu, local_gnuver)

dependencies = [(local_gnu, local_gnuver)]

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

moduleclass = 'compiler'
