GeezerVison is showing github.com — MAINT,DOC: Classic Flang is not LLVM Flang · Issue #20240 · numpy/numpy
MAINT,DOC: Classic Flang is not LLVM Flang #20240DescriptionIssue with current documentation:
3ff9227 introduced classic flang based on pgifortran into np.distutils.
Idea or request for content:
This is both unmaintained and confusing for users or to-be users of LLVM Flang. Removal would be for the best. ActivityHaoZeke commented on 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 commented on 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 commented on 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 commented on 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 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? rgommers commented on Oct 30, 2021
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. HaoZeke commented on Oct 30, 2021
Or maybe rename the other classic_flang but keep flang as an alias to that one (I think that is possible)?
This sounds like a plan. Will do. Thanks!
My impression is that that's a couple of years away still.
Yup, sounds about right. MLIR itself is still in a lot of flux too.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|