[Cmake-commits] CMake branch, master, updated. 36d850b87eabdcbce00f4139cbc0de58b2c99059

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Apr 26 13:32:46 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  36d850b87eabdcbce00f4139cbc0de58b2c99059 (commit)
      from  c4277b6132c701533ceb776b2c7636808d76400f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=36d850b87eabdcbce00f4139cbc0de58b2c99059
commit 36d850b87eabdcbce00f4139cbc0de58b2c99059
Author: C. Bergström <cbergstrom at pathscale.com>
Date:   Mon Apr 26 13:28:52 2010 -0400

    Detect PathScale Fortran compiler tools
    
    Include names pathf(90|95|2003) in the search for a Fortran compiler.
    Also associate the names with PathScale for the vendor-specific search.

diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 0637d20..34477a1 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -49,6 +49,7 @@ IF(NOT CMAKE_Fortran_COMPILER)
     #  gfortran: putative GNU Fortran 95+ compiler (in progress)
     #  fort77: native F77 compiler under HP-UX (and some older Crays)
     #  frt: Fujitsu F77 compiler
+    #  pathf90/pathf95/pathf2003: PathScale Fortran compiler
     #  pgf77/pgf90/pgf95: Portland Group F77/F90/F95 compilers
     #  xlf/xlf90/xlf95: IBM (AIX) F77/F90/F95 compilers
     #  lf95: Lahey-Fujitsu F95 compiler
@@ -63,14 +64,16 @@ IF(NOT CMAKE_Fortran_COMPILER)
     #  then 77 or older compilers, gnu is always last in the group,
     #  so if you paid for a compiler it is picked by default.
     SET(CMAKE_Fortran_COMPILER_LIST
-      ifort ifc efc f95 pgf95 lf95 xlf95 fort gfortran gfortran-4 g95 f90
-      pgf90 xlf90 epcf90 fort77 frt pgf77 xlf fl32 af77 g77 f77
+      ifort ifc efc f95 pathf2003 pathf95 pgf95 lf95 xlf95 fort
+      gfortran gfortran-4 g95 f90 pathf90 pgf90 xlf90 epcf90 fort77
+      frt pgf77 xlf fl32 af77 g77 f77
       )
 
     # Vendor-specific compiler names.
     SET(_Fortran_COMPILER_NAMES_GNU       gfortran gfortran-4 g95 g77)
     SET(_Fortran_COMPILER_NAMES_Intel     ifort ifc efc)
     SET(_Fortran_COMPILER_NAMES_PGI       pgf95 pgf90 pgf77)
+    SET(_Fortran_COMPILER_NAMES_PathScale pathf2003 pathf95 pathf90)
     SET(_Fortran_COMPILER_NAMES_XL        xlf)
     SET(_Fortran_COMPILER_NAMES_VisualAge xlf95 xlf90 xlf)
 

-----------------------------------------------------------------------

Summary of changes:
 Modules/CMakeDetermineFortranCompiler.cmake |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list