Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2021 23:13:46 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Does openmp still require gcc?
Message-ID:  <CAN6yY1t-bVeAWXKLmc_Dd6GF9rQrP6=c_YDmC5=hVw7SyFm-4Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000009e02e105c8a1974a
Content-Type: text/plain; charset="UTF-8"

This was posted to questions@ 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@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

--0000000000009e02e105c8a1974a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1t-bVeAWXKLmc_Dd6GF9rQrP6=c_YDmC5=hVw7SyFm-4Q>