Re: git: 70d8d9125c9f - main - devel/llvm-devel: New snapshot

From: Brooks Davis <brooks_at_freebsd.org>
Date: Tue, 17 May 2022 22:19:17 UTC
On Tue, May 17, 2022 at 02:44:21PM -0700, Mark Millard wrote:
> Brooks Davis <brooks_at_FreeBSD.org> wrote on
> Date: Tue, 17 May 2022 20:24:35 GMT :
> 
> > The branch main has been updated by brooks:
> > 
> > URL: https://cgit.FreeBSD.org/ports/commit/?id=70d8d9125c9f5b1da36b134408b3d580a39f1aa8
> > 
> > commit 70d8d9125c9f5b1da36b134408b3d580a39f1aa8
> > Author:     Brooks Davis <brooks_at_FreeBSD.org>
> > AuthorDate: 2022-05-17 20:23:26 +0000
> > Commit:     Brooks Davis <brooks_at_FreeBSD.org>
> > CommitDate: 2022-05-17 20:23:26 +0000
> > 
> >     devel/llvm-devel: New snapshot
> >     
> >     Add support for COMPILER_RT on powerpc*. [0]
> >     
> >     Don't enable MLIR by default.  Instead, rely on FLANG's dependency
> >     on it to turn it on for architectures that support FLANG.  This removes
> >     MLIR from default packages on 32-bit system.
> > . . .
> > -OPTIONS_DEFAULT+=	EXTRAS FLANG LIT LLDB MLIR STATIC_LIBS
> > +OPTIONS_DEFAULT+=	EXTRAS FLANG LIT LLDB STATIC_LIBS
> > . . .
> >  OPTIONS_EXCLUDE_powerpc=	FLANG
> > 
> 
> What of the armv7 and armv6 32-bit contexts?

*sigh* I didn't notice that llvm-devel doesn't exclude FLANG on arm[67].
I'll sync that with the other ports when I update llvm-devel next.

> Are other devel/llvm* examples to also eventually
> drop MLIR from being explicitly in the OPTIONS_DEFAULT
> lists in order to get a similar default behavior of
> tracking FLANG 's status?

That's my current plan, but I'll let this change settle a bit.  I may
eventually extract them from the llvm ports if upstream improves
out of tree build support a bit more.  We're in the current situation
because I want flang to be available as a package and building it by
default seems to be the most practical way to do that.

-- Brooks