mirror-llvm-project/flang/tools
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
..
bbc [flang][cuda] Decouple CUFInit from CUDA language features (#209846) 2026-07-15 14:41:58 -07:00
f18-parse-demo
fakeflang [fakeflang] Also detect CMakeTestGNU.c (#210175) 2026-07-17 09:01:11 +02:00
fir-lsp-server [flang][Multi-Image] Moving Mutli-image lowering to PRIF into the MIF dialect (#161179) 2025-10-20 08:00:52 +02:00
fir-opt [flang] Add the MLIR pass pipelines for dumping (#183144) 2026-04-23 15:19:22 +01:00
flang-driver [Flang][CMake] Use fakeflang as dispatcher (#209482) 2026-07-16 13:19:05 +02:00
tco [flang,acc] Support -ffp-maxmin-behavior option in lowering. (#184730) 2026-03-06 12:21:58 -08:00
.clang-tidy
CMakeLists.txt [Flang][CMake] Use fakeflang as dispatcher (#209482) 2026-07-16 13:19:05 +02:00