[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
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 3 23:13:25 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252379
--- Comment #8 from Jason W. Bacon <jwb at 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} == gfortran
USE_GCC= yes
CHOSEN_COMPILER_TYPE= 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 clang
should be easier to deal with.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-gnome
mailing list