diff options
author | Brad King <brad.king@kitware.com> | 2014-04-11 13:13:14 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-04-11 13:13:14 (GMT) |
commit | 893843ce21451d7cb8f1aaf3ae14477bfc351fa8 (patch) | |
tree | f605ff47e10d7a03afc34496a7360d1d01e87b85 /Modules | |
parent | 7ae139999b83ffd54c3ab1a1b7c44b95f67c5785 (diff) | |
parent | eb8cb2c6c203418a23551ca85afa6292dededa81 (diff) | |
download | CMake-893843ce21451d7cb8f1aaf3ae14477bfc351fa8.zip CMake-893843ce21451d7cb8f1aaf3ae14477bfc351fa8.tar.gz CMake-893843ce21451d7cb8f1aaf3ae14477bfc351fa8.tar.bz2 |
Merge topic 'Fortran-pgi-intel-arch'
eb8cb2c6 Fortran: Detect pointer size on Intel archs with PGI (#14870)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFortranCompilerABI.F | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompilerABI.F b/Modules/CMakeFortranCompilerABI.F index 21ca7ff..b34c284 100644 --- a/Modules/CMakeFortranCompilerABI.F +++ b/Modules/CMakeFortranCompilerABI.F @@ -10,11 +10,15 @@ PRINT *, 'INFO:sizeof_dptr[8]' #elif defined(_M_AMD64) PRINT *, 'INFO:sizeof_dptr[8]' +#elif defined(__x86_64__) + PRINT *, 'INFO:sizeof_dptr[8]' #elif defined(_ILP32) PRINT *, 'INFO:sizeof_dptr[4]' #elif defined(_M_IX86) PRINT *, 'INFO:sizeof_dptr[4]' +#elif defined(__i386__) + PRINT *, 'INFO:sizeof_dptr[4]' #elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ == 8 PRINT *, 'INFO:sizeof_dptr[8]' |