Meinersbur wrote: The problem is that older versions of CMake are still around and will stop working with up-to-date Flang, risking complaints from users. This includes LLVM itself which still supports CMake down to 3.20.
First step could be to file a bug (or even PR) with CMake, the sooner CMake stops using unintentionally-accepted options, the better the chance Flang can eventually reject that option. I wonder why they decided to diverge from gfortan-style flags: https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/Compiler/GNU-Fortran.cmake#L24 https://github.com/llvm/llvm-project/pull/168748 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
