Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jan 2021 23:13:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 252379] Mk/Uses/compiler.mk: remove USE_GCC=yes for compiler:openmp due to libomp.so is part of base since 11.3/12.1
Message-ID:  <bug-252379-6497-ClRAmxSG0w@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252379-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252379-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252379

--- Comment #8 from Jason W. Bacon <jwb@freebsd.org> ---


(In reply to VVD from comment #5)
I think we would also need the following to avoid mixing clang and gfortran
openmp:

.if ${USES:Mfortran} && ${FC} =3D=3D gfortran
USE_GCC=3D        yes
CHOSEN_COMPILER_TYPE=3D   gcc
.endif

I.e. exempt any ports that use gfortran from the change.

Likewise for ports that currently use gcc for any reason other than openmp.

That should keep most of the worms in the can.  Ports that can use purely c=
lang
should be easier to deal with.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252379-6497-ClRAmxSG0w>