[cmake-developers] [PATCH] Fix CMAKE_Fortran_PLATFORM_ID on mingw-w64
Requested changes from Ben Boeckel, also adjusted the similar if("${...}" MATCHES ...) statements in the section above. Regards Melven -- Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) German Aerospace Center Simulation and Software Technology | Linder Hoehe | 51147 Cologne | Germany Melven Röhrig-Zöllner Telephone +492203 / 601 - 2574 www.DLR.de 0002-Fix-CMAKE_Fortran_PLATFORM_ID-e.g.-mingw-w64.patch Description: 0002-Fix-CMAKE_Fortran_PLATFORM_ID-e.g.-mingw-w64.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [PATCH] Fix CMAKE_Fortran_PLATFORM_ID on mingw-w64
After thinking about my patch I worried it could break other compilers. So, here is a more defensive version that shouldn't interfere with anything else. Explanation: CMAKE_Fortran_COMPILER_ID was correctly set to "GNU"; If CMAKE_Fortran_PLATFORM_IS is missing, run gfortran with a C file -> fallback to C which has appropriate preprocessor definitions to recognize MINGW. Regards Melven -- Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) German Aerospace Center Simulation and Software Technology | Linder Hoehe | 51147 Cologne | Germany Melven Röhrig-Zöllner Telephone +492203 / 601 - 2574 www.DLR.de 0002-Fix-CMAKE_Fortran_PLATFORM_ID-e.g.-mingw-w64.patch Description: 0002-Fix-CMAKE_Fortran_PLATFORM_ID-e.g.-mingw-w64.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [PATCH] Fix CMAKE_Fortran_PLATFORM_ID on mingw-w64
Just use the existing fallback if CMAKE_Fortran_PLATFORM_ID is not detected. I hope this doesn't break any other compiler variants, but the compiler id and the platform id are needed... (so they are already half-broken if this patch changes their behavior, right?) Regards Melven -- Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) German Aerospace Center Simulation and Software Technology | Linder Hoehe | 51147 Cologne | Germany Melven Röhrig-Zöllner Telephone +492203 / 601 - 2574 www.DLR.de 0002-Fix-CMAKE_Fortran_PLATFORM_ID-e.g.-mingw-w64.patch Description: 0002-Fix-CMAKE_Fortran_PLATFORM_ID-e.g.-mingw-w64.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [PATCH v2] language detection in FindBLAS and FindLAPACK (#0016039)
Updated patch for a problem with find_package(BLAS/LAPACK) on Windows for pure Fortran projects. Now simply uses CMAKE__COMPILER_LOADED... Regards, Melven -- Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) German Aerospace Center Simulation and Software Technology | Linder Hoehe | 51147 Cologne | Germany Melven Röhrig-Zöllner Telephone +492203 / 601 - 2574 www.DLR.de 0001-Fix-for-pure-Fortran-projects-with-BLAS-LAPACK-00160.patch Description: 0001-Fix-for-pure-Fortran-projects-with-BLAS-LAPACK-00160.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] [PATCH] language detection in FindBLAS and FindLAPACK (#0016039)
Patch for a problem with find_package(BLAS/LAPACK) on Windows for pure Fortran projects reported by me in https://cmake.org/Bug/view.php?id=16039. Regards, Melven -- Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR) German Aerospace Center Simulation and Software Technology | Linder Hoehe | 51147 Cologne | Germany Melven Röhrig-Zöllner Telephone +492203 / 601 - 2574 www.DLR.de 0001-Fix-for-pure-Fortran-projects-with-BLAS-LAPACK-00160.patch Description: 0001-Fix-for-pure-Fortran-projects-with-BLAS-LAPACK-00160.patch -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers