LLVM Flang - support
- [LLVM Flang] - https://github.com/llvm/llvm-project/tree/main/flang
- [Classic Flang] - https://github.com/flang-compiler/flang
I've noticed that CMake supports "Classic Flang" (link), but there is no support for "LLVM Flang" yet. Is this on anyone's roadmap?
We've been discussing this recently on flang-dev. Although "LLVM Flang" does not support code-generation yet, we'd like to make sure that it is fully supported in CMake once that's available. Also, we are ready to start experimenting with projects that use CMake, but for that we need CMake to be able tot identify "LLVM Flang".
In terms of implementation, "LLVM Flang" is consistent with Clang and defines the following macros that can be used for identification:
I'm creating this issue for better visibility and to make sure that the discussion is not limited to flang-dev.
Thank you, -Andrzej