Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2018 11:35:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234050] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when clang from devel/llvm70 is used)
Message-ID:  <bug-234050-7788-RUJo2QzuQH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234050-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234050-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234050

Rainer Hurling <rhurlin@gwdg.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rhurlin@gwdg.de

--- Comment #3 from Rainer Hurling <rhurlin@gwdg.de> ---
Hi Yuri,

Don't know, if I understand you right. In math/saga[1] I use the following =
to
find libomp.so of clang60:

# lines 65-67, and 71-72
CPP=3D            clang-cpp60
CC=3D             clang60
CXX=3D            clang++60
CONFIGURE_ENABLE=3D       openmp
LDFLAGS=3D                -L${LOCALBASE}/lib -lm -L${LOCALBASE}/llvm60/lib =
-lomp

This also works also pretty nice for clang70.


[1]
https://svnweb.freebsd.org/ports/head/math/saga/Makefile?revision=3D487272&=
view=3Dmarkup

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234050-7788-RUJo2QzuQH>