MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0015845 | CMake | (No Category) | public | 2015-11-12 09:51 | 2016-05-02 08:30 | |||||
Reporter | Damian Rouson | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Cray XC40 | OS | Linux | OS Version | ||||||
Product Version | CMake 3.3.2 | |||||||||
Target Version | CMake 3.4.1 | Fixed in Version | CMake 3.4.1 | |||||||
Summary | 0015845: CMake fails to identify the Cray compilers' version numbers | |||||||||
Description | As demonstrated below, CMake 3.0.1 fails to identify the version of the Cray C, Fortran, and C++ compilers. CMake 3.3.2 and CMake 3.4.0-rc3 exhibit the same behavior. This bug is also archived at https://github.com/sourceryinstitute/AdHoc/tree/master/src/cmake. [^] | |||||||||
Steps To Reproduce | > cat CMakeLists.txt project(cray_compiler_version_bug LANGUAGES Fortran C CXX) if( "${CMAKE_Fortran_COMPILER_VERSION}" MATCHES "" AND "${CMAKE_C_COMPILER_VERSION}" MATCHES "" AND "${CMAKE_CXX_COMPILER_VERSION}" MATCHES "" ) message(FATAL_ERROR "CMAKE_Fortran_COMPILER_VERSION, CMAKE_C_COMPILER_VERSION, CMAKE_CXX_COMPILER_VERSION are all empty." ) endif() > mkdir build && cd build > FC=ftn cmake .. -- The Fortran compiler identification is Cray -- The C compiler identification is Cray -- The CXX compiler identification is Cray -- Check for working Fortran compiler: /opt/cray/craype/2.4.2/bin/ftn -- Check for working Fortran compiler: /opt/cray/craype/2.4.2/bin/ftn -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /opt/cray/craype/2.4.2/bin/ftn supports Fortran 90 -- Checking whether /opt/cray/craype/2.4.2/bin/ftn supports Fortran 90 -- yes -- Check for working C compiler: /opt/cray/craype/2.4.2/bin/cc -- Check for working C compiler: /opt/cray/craype/2.4.2/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /opt/cray/craype/2.4.2/bin/CC -- Check for working CXX compiler: /opt/cray/craype/2.4.2/bin/CC -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at CMakeLists.txt:7 (message): CMAKE_Fortran_COMPILER_VERSION, CMAKE_C_COMPILER_VERSION, CMAKE_CXX_COMPILER_VERSION are all empty. -- Configuring incomplete, errors occurred! See also "/home/users/p01923/AdHoc/src/cmake/bug-xxxxx/build/CMakeFiles/CMakeOutput.log". p01923@swan:~/AdHoc/src/cmake/bug-xxxxx/build> cmake --version cmake version 3.0.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). | |||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2015-11-12 09:51 | Damian Rouson | New Issue | ||||||||
2015-11-12 10:30 | Brad King | Relationship added | related to 0015664 | |||||||
2015-11-12 11:00 | Brad King | Note Added: 0039867 | ||||||||
2015-11-13 08:39 | Brad King | Assigned To | => Brad King | |||||||
2015-11-13 08:39 | Brad King | Status | new => resolved | |||||||
2015-11-13 08:39 | Brad King | Resolution | open => fixed | |||||||
2015-11-13 08:39 | Brad King | Fixed in Version | => CMake 3.5 | |||||||
2015-11-13 08:39 | Brad King | Target Version | => CMake 3.5 | |||||||
2015-11-18 10:23 | Brad King | Note Added: 0039879 | ||||||||
2015-11-18 10:23 | Brad King | Fixed in Version | CMake 3.5 => CMake 3.4.1 | |||||||
2015-11-18 10:23 | Brad King | Target Version | CMake 3.5 => CMake 3.4.1 | |||||||
2016-05-02 08:30 | Robert Maynard | Note Added: 0040963 | ||||||||
2016-05-02 08:30 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|