summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMelven Roehrig-Zoellner <Melven.Roehrig-Zoellner@DLR.de>2020-03-13 19:07:35 +0100
committerGitHub <noreply@github.com>2020-03-13 13:07:35 -0500
commit7b00712fff44a6ef0c09ab09025f2b4efaac5e65 (patch)
tree7b0093e7c9a57d3e049907d015740cbbea10991d /var
parent27bd4a5cdd478dd5d05706cbb634d18c4e96cd54 (diff)
downloadspack-7b00712fff44a6ef0c09ab09025f2b4efaac5e65.tar.gz
spack-7b00712fff44a6ef0c09ab09025f2b4efaac5e65.tar.bz2
spack-7b00712fff44a6ef0c09ab09025f2b4efaac5e65.tar.xz
spack-7b00712fff44a6ef0c09ab09025f2b4efaac5e65.zip
pgi: add missing paths in setup_run_environment (#15480)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pgi/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pgi/package.py b/var/spack/repos/builtin/packages/pgi/package.py
index 5be9430335..aa6e60ddcc 100644
--- a/var/spack/repos/builtin/packages/pgi/package.py
+++ b/var/spack/repos/builtin/packages/pgi/package.py
@@ -91,6 +91,9 @@ class Pgi(Package):
def setup_run_environment(self, env):
prefix = Prefix(join_path(self.prefix, 'linux86-64', self.version))
+ env.prepend_path('PATH', prefix.bin)
+ env.prepend_path('MANPATH', prefix.man)
+ env.prepend_path('LD_LIBRARY_PATH', prefix.lib)
env.set('CC', join_path(prefix.bin, 'pgcc'))
env.set('CXX', join_path(prefix.bin, 'pgc++'))
env.set('F77', join_path(prefix.bin, 'pgfortran'))