clang support for compiler:openmp

Matthieu Volat mazhe at alkumuna.eu
Mon Nov 7 21:13:13 UTC 2016


On Mon, 7 Nov 2016 16:59:36 +0000
Brooks Davis <brooks at freebsd.org> wrote:

> On Sun, Nov 06, 2016 at 08:36:22AM +0100, Marcus von Appen wrote:
> > Hi,
> > 
> > is there a specific reason, why we do not (yet) have openmp support for
> > clang via compiler:openmp? With devel/openmp in the ports tree, I'd
> > expect compiler:openmp to set
> > 
> > LIB_DEPENDS+=   libomp.so:devel/openmp
> > 
> > for compiler=clang. CFLAGS and LIBS/LDFLAGS might be tweaked on a
> > per-port level.
> 
> I talked with Baptiste about this in Belgrade.  I think the best way
> forward would be to remove the OPENMP option from the llvm ports and
> alter the clang-patch-fopenmp.diff patch to use the .so from
> devel/openmp.
> 
> I have a major deadline at the end of the week so it definitely won't
> happen this week.
> 

Would not that make that every clang use the llvm 3.8 libomp snapshot? It might be useful to use later versions in some cases, but anyway, that would be great!

It would also be awesome if base clang would be able to find omp.h and libomp more "out of the box" once the package is installed...

-- Mazhe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161107/85710dfd/attachment.sig>


More information about the freebsd-ports mailing list