Attention, Flang (aussi appelé f18) dans LLVM11 peut parser du code Fortran, mais il appelle un autre compilateur, par défaut gfortran, pour la compilation :
$ f18 --help
f18: LLVM Fortran compiler
Usage: f18 [options] <input files>
Defaults:
When invoked with input files, and no options to tell
it otherwise, f18 will unparse its input and pass that on to an
external compiler to continue the compilation.
The external compiler is specified by the F18_FC environment
variable. The default is 'gfortran'.
If invoked with no input files, f18 reads source code from
stdin and runs with -fdebug-measure-parse-tree -funparse.
...
Il faudra donc encore patienter.
A noter que le paquet flang-11 est disponible dans la Fedora Rawhide : https://pkgs.org/download/flang
# Flang n'est pas encore vraiment opérationnel
Posté par vmagnin (site web personnel, Mastodon) . En réponse au journal LLVM 11.0.0. Évalué à 4. Dernière modification le 13 octobre 2020 à 22:11.
Attention, Flang (aussi appelé f18) dans LLVM11 peut parser du code Fortran, mais il appelle un autre compilateur, par défaut gfortran, pour la compilation :
Il faudra donc encore patienter.
A noter que le paquet flang-11 est disponible dans la Fedora Rawhide :
https://pkgs.org/download/flang