Does openmp still require gcc?

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Mon, 2 Aug 2021 23:13:46 -0700
This was posted to questions_at_ with no responses, so I'm trying here.

I was surprised that a port (ImageMagick7) is compiled using gcc. Looking
at ports/Mk/Uses/compiler.mk and discovered:
.if ${_COMPILER_ARGS:Mopenmp}
.if ${COMPILER_TYPE} == clang
USE_GCC=        yes
CHOSEN_COMPILER_TYPE=   gcc
.endif
.endif

If oprnmp is not enabled, clang is used.

I thought that clang support for openmp has been around for quite a while.
Is this a FreeBSD-11 issue or is it historical and obsolete? Or am I just
confused? I used to trip over openmp conflicts all the time, but I thought
(hoped?) that they were a thing of the past.
--
Kevin Oberman, Part time kid herder and retired Network Enginee
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman_at_gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Received on Tue Aug 03 2021 - 06:13:46 UTC

Original text of this message