[cmake-developers] cmake checkfortran fails with Flang

Brad King brad.king at kitware.com
Wed Oct 24 07:42:33 EDT 2018


On 10/22/2018 07:45 PM, blubee blubeeme wrote:
> There's a newly open sourced fortran compiler flang: https://github.com/flang-compiler/flang
> 
>     /usr/local/bin/flang -cpp    -E testFortranCompiler.f ...
> 
> the fortran compiler does work if you remove the -E flag from the the compilation command.
> 
> Is this an issue something that can get some attention?

It's trying to pass both -cpp and -E to get preprocessing.

Please open an issue tracker entry for this.

Thanks,
-Brad


More information about the cmake-developers mailing list