Skip to content

flang-21: flang-new command should be flang #57812

@Vinfall

Description

@Vinfall

Quoted from LLVM Fortran Levels Up: Goodbye flang-new, Hello flang! on The LLVM Project Blog:

LLVM has included a Fortran compiler “Flang” since LLVM 11 in late 2020. However, until recently the Flang binary was not flang (like clang) but instead flang-new.

LLVM 20 ends the era of flang-new. The community has decided that Flang is worthy of a new name.

The “new” name? You guessed it, flang.

A simple change that represents a major milestone for Flang.

Just one line of change I guess, not sure if build_option_flang should be changed.

_flang_files=(
bin/flang-new
bin/bbc
bin/f18-parse-demo
bin/fir-opt
bin/tco
)

if [ "$build_option_flang" ]; then
configure_args+=" -DLIBOMP_FORTRAN_MODULES_COMPILER=/${_llvm_bindir}/flang-new"
configure_args+=" -DCMAKE_Fortran_COMPILER=/${_llvm_bindir}/flang-new"
fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions