summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-05-10 08:16:39 -0500
committerGitHub <noreply@github.com>2017-05-10 08:16:39 -0500
commit94c1651bce82cc1c7052571bf02724c1b2a142bb (patch)
tree07db037568dac0982ac4bded63c715fdd939f147 /var
parent61ad36918671af00acda5454fe75dea5e5a2b43d (diff)
downloadspack-94c1651bce82cc1c7052571bf02724c1b2a142bb.tar.gz
spack-94c1651bce82cc1c7052571bf02724c1b2a142bb.tar.bz2
spack-94c1651bce82cc1c7052571bf02724c1b2a142bb.tar.xz
spack-94c1651bce82cc1c7052571bf02724c1b2a142bb.zip
Add latest version of PGI compilers (#4186)
* Add latest version of PGI compilers * Prepend, don't overwrite
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pgi/package.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/pgi/package.py b/var/spack/repos/builtin/packages/pgi/package.py
index 1e11eaf526..4a9295249c 100644
--- a/var/spack/repos/builtin/packages/pgi/package.py
+++ b/var/spack/repos/builtin/packages/pgi/package.py
@@ -39,6 +39,7 @@ class Pgi(Package):
homepage = "http://www.pgroup.com/"
+ version('17.4', 'a311d2756ddda657860bad8e5725597b')
version('17.3', '6eefc42f85e756cbaba76467ed640902')
version('16.10', '9bb6bfb7b1052f9e6a45829ba7a24e47')
version('16.5', 'a40e8852071b5d600cb42f31631b3de1')
@@ -109,8 +110,8 @@ class Pgi(Package):
run_env.set('F77', join_path(prefix.bin, 'pgfortran'))
run_env.set('FC', join_path(prefix.bin, 'pgfortran'))
- run_env.set('PATH', prefix.bin)
- run_env.set('CPATH', prefix.include)
- run_env.set('LIBRARY_PATH', prefix.lib)
- run_env.set('LD_LIBRARY_PATH', prefix.lib)
- run_env.set('MANPATH', prefix.man)
+ run_env.prepend_path('PATH', prefix.bin)
+ run_env.prepend_path('CPATH', prefix.include)
+ run_env.prepend_path('LIBRARY_PATH', prefix.lib)
+ run_env.prepend_path('LD_LIBRARY_PATH', prefix.lib)
+ run_env.prepend_path('MANPATH', prefix.man)