On Mon, 7 Nov 2016 16:59:36 +0000
Brooks Davis <[email protected]> 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

Attachment: pgpl3cmFmrGvS.pgp
Description: OpenPGP digital signature

Reply via email to