[Bug 234050] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when clang from devel/llvm70 is used)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 16 11:35:57 GMT 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234050

Rainer Hurling <rhurlin at gwdg.de> changed:

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

--- Comment #3 from Rainer Hurling <rhurlin at 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=            clang-cpp60
CC=             clang60
CXX=            clang++60
CONFIGURE_ENABLE=       openmp
LDFLAGS=                -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=487272&view=markup

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list