Skip to content

MAINT,DOC: Classic Flang is not LLVM Flang #20240

Closed

Description

@HaoZeke

Issue 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.

Activity

  1. HaoZeke commented on Oct 30, 2021

    @HaoZeke
    MemberAuthor

    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.

  2. rgommers commented on Oct 30, 2021

    @rgommers
    Member

    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.

  3. rgommers commented on Oct 30, 2021

    @rgommers
    Member

    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.

  4. HaoZeke commented on Oct 30, 2021

    @HaoZeke
    MemberAuthor

    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?

  5. rgommers commented on Oct 30, 2021

    @rgommers
    Member

    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.

  6. HaoZeke commented on Oct 30, 2021

    @HaoZeke
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions