summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-05-11 11:30:55 -0500
committerGitHub <noreply@github.com>2017-05-11 11:30:55 -0500
commit23ee792dcf46b4ea948b71ada1bfd26e5729a4ee (patch)
tree2e77145e79ad58d0bee9689d70eed3397643f5cf /var
parent64dfc8bda6db7d14c3c055d23f9f242d9ce6dfe7 (diff)
downloadspack-23ee792dcf46b4ea948b71ada1bfd26e5729a4ee.tar.gz
spack-23ee792dcf46b4ea948b71ada1bfd26e5729a4ee.tar.bz2
spack-23ee792dcf46b4ea948b71ada1bfd26e5729a4ee.tar.xz
spack-23ee792dcf46b4ea948b71ada1bfd26e5729a4ee.zip
Update NAG checksum, add F77 and FC (#4196)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/nag/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/nag/package.py b/var/spack/repos/builtin/packages/nag/package.py
index 66cb2a6a54..f2dd5cc95b 100644
--- a/var/spack/repos/builtin/packages/nag/package.py
+++ b/var/spack/repos/builtin/packages/nag/package.py
@@ -30,7 +30,7 @@ class Nag(Package):
"""The NAG Fortran Compiler."""
homepage = "http://www.nag.com/nagware/np.asp"
- version('6.1', 'f49bd548e0d5e2458b2dabb3ee01341a')
+ version('6.1', '0040d2254258223c78a6a4ab4829d7e0')
version('6.0', '3fa1e7f7b51ef8a23e6c687cdcad9f96')
# Licensing
@@ -54,3 +54,7 @@ class Nag(Package):
# Run install script
os.system('./INSTALLU.sh')
+
+ def setup_environment(self, spack_env, run_env):
+ run_env.set('F77', join_path(self.prefix.bin, 'nagfor'))
+ run_env.set('FC', join_path(self.prefix.bin, 'nagfor'))