diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-01-15 04:35:27 -0600 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-01-15 02:35:27 -0800 |
commit | 367f46eee2f8e4165216ab65cfc374aaf6f8c10a (patch) | |
tree | 89ecac74b1d6c49f3cf495d0b82f87ede1592fd2 | |
parent | 12edc4e3699929eee37321ec0608b7c220a583db (diff) | |
download | spack-367f46eee2f8e4165216ab65cfc374aaf6f8c10a.tar.gz spack-367f46eee2f8e4165216ab65cfc374aaf6f8c10a.tar.bz2 spack-367f46eee2f8e4165216ab65cfc374aaf6f8c10a.tar.xz spack-367f46eee2f8e4165216ab65cfc374aaf6f8c10a.zip |
Add old version of PGI (#2784)
-rw-r--r-- | var/spack/repos/builtin/packages/pgi/package.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pgi/package.py b/var/spack/repos/builtin/packages/pgi/package.py index 6fa8457dc9..e8a2f53497 100644 --- a/var/spack/repos/builtin/packages/pgi/package.py +++ b/var/spack/repos/builtin/packages/pgi/package.py @@ -39,10 +39,10 @@ class Pgi(Package): set up a mirror, see http://spack.readthedocs.io/en/latest/mirrors.html""" homepage = "http://www.pgroup.com/" - url = "file://%s/pgi-16.3.tar.gz" % os.getcwd() version('16.5', 'a40e8852071b5d600cb42f31631b3de1') version('16.3', '618cb7ddbc57d4e4ed1f21a0ab25f427') + version('15.7', '84a689217b17cdaf78c39270c70bea5d') variant('network', default=True, description="Perform a network install") @@ -64,6 +64,10 @@ class Pgi(Package): license_vars = ['PGROUPD_LICENSE_FILE', 'LM_LICENSE_FILE'] license_url = 'http://www.pgroup.com/doc/pgiinstall.pdf' + def url_for_version(self, version): + return "file://{0}/pgilinux-20{1}-{2}-x86_64.tar.gz".format( + os.getcwd(), version.up_to(1), version.joined) + def install(self, spec, prefix): # Enable the silent installation feature os.environ['PGI_SILENT'] = "true" |