================
@@ -339,11 +335,11 @@ just added using your new frontend option.
 
 ## CMake Support
 As of [#7246](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7246)
-(and soon to be released CMake 3.24.0), `cmake` can detect `flang-new` as a
+(and soon to be released CMake 3.24.0), `cmake` can detect `flang` as a
----------------
hakostra wrote:

1. A search in the CMake repository revel that `flang-new` only appear in 
testcases and ci-related code - not in any code that eventually end up in 
CMake. This indicate that the name `flang-new` is not a magic token for CMake 
to recognize LLVM Flang.
2. I think that [this is the 
merge](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7246) that first 
introduced LLVM Flang to CMake. It seems like the check is through preprocessor 
macros defined by the different compilers. See 
[`Modules/CMakeFortranCompilerId.F.in`](https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/CMakeFortranCompilerId.F.in)
 in the CMake sources.

https://github.com/llvm/llvm-project/pull/110023
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to