Update NAG checksum, add F77 and FC (#4196)

This commit is contained in:
Adam J. Stewart 2017-05-11 11:30:55 -05:00 committed by GitHub
parent 64dfc8bda6
commit 23ee792dcf

View File

@ -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 @@ def install(self, spec, prefix):
# 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'))