MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014862 | CMake | CMake | public | 2014-04-03 16:25 | 2016-06-10 14:31 |
Reporter | Marcus D. Hanwell | ||||
Assigned To | Ben Boeckel | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.12.2 | ||||
Target Version | CMake 3.0 | Fixed in Version | |||
Summary | 0014862: CMake and Ninja - check for Fortran optionally | ||||
Description | Projects such as Eigen attempt to check for a working Fortran compiler, the act of probing for a working Fortran compiler causes configure to fail. This currently means that we are unable to use Ninja to build Eigen. I think the Ninja generator should at least exit more gracefully so that C/C++ projects with optional Fortran code are able to continue. This could be as simple as CMakeTestFortranCompiler.cmake returning failure on any attempt to test Fortran with the Ninja generator. | ||||
Steps To Reproduce | Get Eigen, attempt to build it, http://eigen.tuxfamily.org/ [^] is the main site, using the Ninja generator I get the following failed configure. | ||||
Additional Information | $ ninja eigen [1/4] Performing configure step for 'eigen' FAILED: cd /home/marcus/build/openchemistry/thirdparty/eigen && /usr/bin/cmake -C/home/marcus/build/openchemistry/thirdparty/eigen-prefix/tmp/eigen-cache.cmake "-GCodeBlocks - Ninja" /home/marcus/build/openchemistry/thirdparty/eigen-prefix/src/eigen && /usr/bin/cmake -E touch /home/marcus/build/openchemistry/thirdparty/eigen-prefix/src/eigen-stamp/eigen-configure loading initial cache file /home/marcus/build/openchemistry/thirdparty/eigen-prefix/tmp/eigen-cache.cmake CMake Warning (dev) in CMakeLists.txt: Syntax Warning in cmake code at /home/marcus/build/openchemistry/thirdparty/eigen-prefix/src/eigen/CMakeLists.txt:207:71 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. abort: repository /home/marcus/build/openchemistry/thirdparty/eigen-prefix/src/eigen not found! abort: repository /home/marcus/build/openchemistry/thirdparty/eigen-prefix/src/eigen not found! -- Standard libraries to link to explicitly: none -- searching for 'pkgconfig' directory in PKG_CONFIG_LIBDIR ( ), /home/marcus/build/openchemistry/prefix/share, and /home/marcus/build/openchemistry/prefix/lib -- pkgconfig not found; installing in /home/marcus/build/openchemistry/prefix/share -- /home/marcus/build/openchemistry/thirdparty/eigen/test -- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDES CHOLMOD_LIBRARIES) -- Could NOT find UMFPACK (missing: UMFPACK_INCLUDES UMFPACK_LIBRARIES) -- Could NOT find SUPERLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIES) -- Could NOT find PASTIX (missing: PASTIX_INCLUDES PASTIX_LIBRARIES) -- Could NOT find SCOTCH (missing: SCOTCH_INCLUDES SCOTCH_LIBRARIES) -- Could NOT find METIS (missing: METIS_INCLUDES METIS_LIBRARIES) -- Could NOT find SPQR (missing: SPQR_INCLUDES SPQR_LIBRARIES) CMake Error: The Ninja generator does not support Fortran yet. -- The Fortran compiler identification is GNU -- Check for working Fortran compiler using: Ninja CMake Error: The Ninja generator does not support Fortran yet. CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Check for working Fortran compiler using: Ninja -- broken CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:54 (message): The Fortran compiler "/usr/bin/gfortran" is not able to compile a simple test program. It fails with the following output: CMake will not be able to correctly generate this project. Call Stack (most recent call first): blas/CMakeLists.txt:9 (enable_language) -- Configuring incomplete, errors occurred! See also "/home/marcus/build/openchemistry/thirdparty/eigen/CMakeFiles/CMakeOutput.log". See also "/home/marcus/build/openchemistry/thirdparty/eigen/CMakeFiles/CMakeError.log". ninja: build stopped: subcommand failed. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-04-03 16:25 | Marcus D. Hanwell | New Issue | |||
2014-04-03 16:25 | Marcus D. Hanwell | Status | new => assigned | ||
2014-04-03 16:25 | Marcus D. Hanwell | Assigned To | => Ben Boeckel | ||
2014-04-03 17:37 | Ben Boeckel | Note Added: 0035633 | |||
2014-04-04 10:04 | Marcus D. Hanwell | Note Added: 0035638 | |||
2014-04-04 11:23 | Brad King | Note Added: 0035640 | |||
2014-04-04 11:24 | Brad King | Note Edited: 0035640 | bug_revision_view_page.php?bugnote_id=35640#r1440 | ||
2014-05-13 12:01 | Ben Boeckel | Note Added: 0035872 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042528 | |||
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|