[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 17:35:48 GMT 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234050
--- Comment #4 from Yuri Victorovich <yuri at freebsd.org> ---
Created attachment 200160
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200160&action=edit
testcase-broken-OpenMP-detection.shar
(In reply to Rainer Hurling from comment #3)
Hi Rainer,
I'm attaching the testcase that demonstrates that OpenMP detection is broken
with clang70.
1. Extract the attached case: sh testcase-broken-OpenMP-detection.shar
2. cd testcase-broken-OpenMP-detection
3. sh run
4. Observe the failure: helloworld.cpp:(.text+0x2d): undefined reference to
`__kmpc_fork_call'
It closely follows the recommended way:
https://cliutils.gitlab.io/modern-cmake/chapters/packages/OpenMP.html
Yuri
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kde-freebsd
mailing list