Re: lang/llvm15 -- Why is flang being built?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Mon, 30 Jan 2023 18:44:50 UTC
On Mon, Jan 30, 2023 at 09:17:07PM +0300, Gleb Popov wrote:
> On Mon, Jan 30, 2023 at 7:59 PM Steve Kargl
> <sgk@troutmask.apl.washington.edu> wrote:
> >
> > Why does the lang/llvm15 port default to building flang
> > (ie., the Fortran compiler)?
> >
> > % flang15 -o z a.f90
> > error: /usr/ports/devel/llvm15/work/llvm-project-15.0.7.src/flang/lib/Optimizer/CodeGen/Target.cpp:312: not yet implemented: target not implemented
> > % flang-new15 -o z a.f90
> > error: /usr/ports/devel/llvm15/work/llvm-project-15.0.7.src/flang/lib/Optimizer/CodeGen/Target.cpp:312: not yet implemented: target not implemented
> >
> > Inspection of Target.cpp shows that the word "FreeBSD"
> > does not appear anywhere.
> >
> 
> This was fixed shortly after the release, but Flang itself still isn't
> capable of producing working executables. It should probably be turned
> off for now.

Thanks for confirming that I wasn't missing something obvious.

-- 
Steve