[flang-commits] [clang] [flang] [flang][driver] Do not allow -module-dir to be joined to the value (PR #168748)
Michael Kruse via flang-commits
flang-commits at lists.llvm.org
Fri Nov 21 05:48:43 PST 2025
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
More information about the flang-commits
mailing list