You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also while we're at it we might as well kill off (in separate commits) the other unmaintained Fortran compilers. However I'm less concerned about them, since there is no confusion about the other compilers.
I don't think this is a good first issue. We cannot just remove this. Right now Classic Flang still has more functionality I believe, in particular on Windows.
We may add LLVM-FLang as a new compiler and improve the docs.
Ah, I think I made a bit of a knee jerk assumption based off their wiki which states that it should be considered to be superseded by F18 from early 2020.
However, the impetus was that at-least in the context of clang and flang optimizations as discussed in #19930, classic flang is incorrect.
Naming the fortran compilers is a bit of a nightmare, perhaps classic_flang and flang for LLVM would make more sense for the issue?
Naming the fortran compilers is a bit of a nightmare, perhaps classic_flang and flang for LLVM would make more sense for the issue?
I think I'd prefer a non-breaking change. Can we just add some code comments for now that flang means classic, and name the new one flang_llvm? Or maybe rename the other classic_flang but keep flang as an alias to that one (I think that is possible)? Once the new one actually is the better compiler, we can then switch flang. My impression is that that's a couple of years away still.
Activity
HaoZeke commentedon Oct 30, 2021
Also while we're at it we might as well kill off (in separate commits) the other unmaintained Fortran compilers. However I'm less concerned about them, since there is no confusion about the other compilers.
rgommers commentedon Oct 30, 2021
I don't think this is a good first issue. We cannot just remove this. Right now Classic Flang still has more functionality I believe, in particular on Windows.
We may add LLVM-FLang as a new compiler and improve the docs.
rgommers commentedon Oct 30, 2021
Also, Classic Flang is not unmaintained. As of right now it's my best hope at a sane Fortran story for SciPy within the next year.
HaoZeke commentedon Oct 30, 2021
Ah, I think I made a bit of a knee jerk assumption based off their wiki which states that it should be considered to be superseded by F18 from early 2020.
However, the impetus was that at-least in the context of
clangandflangoptimizations as discussed in #19930, classicflangis incorrect.Naming the fortran compilers is a bit of a nightmare, perhaps
classic_flangandflangfor LLVM would make more sense for the issue?rgommers commentedon Oct 30, 2021
I think I'd prefer a non-breaking change. Can we just add some code comments for now that
flangmeans classic, and name the new oneflang_llvm? Or maybe rename the otherclassic_flangbut keepflangas an alias to that one (I think that is possible)? Once the new one actually is the better compiler, we can then switchflang. My impression is that that's a couple of years away still.HaoZeke commentedon Oct 30, 2021
This sounds like a plan. Will do. Thanks!
Yup, sounds about right. MLIR itself is still in a lot of flux too.