summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFortranCompilerABI.F
Commit message (Collapse)AuthorAgeFilesLines
* Remove now-unused code once used on IRIXBrad King2019-01-111-7/+1
| | | | | We dropped support for IRIX as a host platform long ago. Remove some leftover code.
* Fortran: Detect pointer size on Intel archs with PGI (#14870)Brad King2014-04-101-0/+4
| | | | | The PGI compiler does not define __SIZEOF_POINTER__ so use the __x86_64__ or __i386__ CPU macros to select a pointer size instead.
* Fortran: Improve pointer size detection in gfortran on MinGWBrad King2013-12-061-0/+4
| | | | | | | | In commit ecd84147 (Fortran: Detect pointer size in gfortran on MinGW, 2011-11-29) we started testing for __SIZEOF_POINTER__ but not all GNU Fortran compilers define this. Check also for __SIZEOF_SIZE_T__ which at least one version of gfortran defines without also defining __SIZEOF_POINTER__.
* Fortran: Detect pointer size in gfortran on MinGWBrad King2011-12-051-0/+5
| | | | | | Use __SIZEOF_POINTER__ which the GNU Fortran compiler defines at least on 64-bit MinGW. Assume default size 4 on MinGW if gfortran does not define the size.
* Detect Fortran ABI InformationBrad King2010-01-121-2/+32
| | | | | | | Implement Fortran 32/64-bit ABI detection on some platforms. We need to set CMAKE_SIZEOF_VOID_P correctly in Fortran-only projects so that the find_library() command knows whether to look for 64-bit binaries. We also detect ELF binaries to enable RPATH replacement. See issue #10119.
* ENH: Create Fortran ABI detection frameworkBrad King2009-07-131-0/+3
This invokes CMakeDetermineCompilerABI.cmake for Fortran at the same place it is already done for C and CXX.