Re: git: 07fb2d5e9d00 - main - */*: Remove compiler:openmp from Mk/Uses/compiler.mk

From: Fernando_Apesteguía <fernape_at_freebsd.org>
Date: Tue, 05 Oct 2021 07:59:56 UTC
El dom., 3 oct. 2021 22:33, Gerald Pfeifer <gerald@pfeifer.com> escribió:

> On Sun, 3 Oct 2021, =?utf-8?Q?Fernando Apestegu=C3=ADa?= wrote:
> >     Remove compiler:openmp from Mk/Uses/compiler.mk
> >
> >     For ports using USE=compiler:openmp, just remove it and make them
> build with
> >     clang.
> >     Fix conditionals when necessary
> >     Bump PORTREVISION where appropriate
> >
> >     If problem arises, they can be addressed by using USE_GCC=yes
>
> Hmm, doesn't that remove the declarative nature of that statement (and
> also assume all the world is clang and will remain so forever)?
>

Hi Gerald,

I don't read it like world will be clang forever, but more like openmp is
not something that requires GCC per se. A specific port might need GCC if
openmp support in clang is insufficient/buggy or by other reasons.

I think it is good for us if we can save rebuilding GCC in the dependency
chain for ports than don't really need it.

About the first part, what do you mean exactly about removing the
declarative nature of USE_GCC?

Cheers.


> Gerald
>