mirror-llvm-project/runtimes/cmake
Michael Kruse c4903855b6
[fakeflang] Also detect CMakeTestGNU.c (#210175)
Two fixes when using CMake < 3.28 after #209482:

* In addition to `flang`, also recognize `fakeflang` to determine
whether any workaround for CMake not completely supporting Flang is
needed. `fakeflang` is used as a shim in #209482.

* For CMake < 3.24, CMake does not reognize Flang at all and tries other
methods to detect to the compiler, including the file `CMakeTestGNU.c`.
Make `fakeflang` recognize it as a probe attempt.

This should fix the
[openmp-offload-amdgpu-clang-flang](https://lab.llvm.org/buildbot/#/builders/67)
buildbot. The buildbot is currently upgrade to a newer CMake version,
and the minimum required version of CMake will become 3.31 soon.
2026-07-17 09:01:11 +02:00
..
android Update Android CI and Emulator image to API 23 (#194936) 2026-05-02 01:51:46 -04:00
Modules [Runtimes] Allow HandleLibc.cmake to be called multiple times (#193540) 2026-04-22 18:16:50 +00:00
config-Fortran.cmake [fakeflang] Also detect CMakeTestGNU.c (#210175) 2026-07-17 09:01:11 +02:00