Add NAG Fortran Compiler support

This commit is contained in:
Adam J. Stewart
2016-01-13 12:32:04 -06:00
parent f55bba7244
commit f9fbb57d31
3 changed files with 27 additions and 3 deletions

4
lib/spack/env/cc vendored
View File

@@ -94,11 +94,11 @@ case "$command" in
command="$SPACK_CXX"
language="C++"
;;
f90|fc|f95|gfortran|ifort|pgf90|xlf90)
f90|fc|f95|gfortran|ifort|pgf90|xlf90|nagfor)
command="$SPACK_FC"
language="Fortran 90"
;;
f77|gfortran|ifort|pgf77|xlf)
f77|gfortran|ifort|pgf77|xlf|nagfor)
command="$SPACK_F77"
language="Fortran 77"
;;