[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2023-05-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #31 from Adriaan de Groot --- Create a sample project that needs OpenMP: [adridg@beastie /tmp/openmp]$ cat > CMakeLists.txt cmake_minimum_required(VERSION 3.20 FATAL_ERROR) project(derp VERSION 1.0 LANGUAGES C CXX) find_package

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2023-05-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 John Hein changed: What|Removed |Added CC||jcfyecr...@liamekaens.com --- Comment

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-04-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 Adriaan de Groot changed: What|Removed |Added Status|Open|Closed Resolution|---

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-04-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #29 from commit-h...@freebsd.org --- A commit references this bug: Author: adridg Date: Fri Apr 5 11:46:46 UTC 2019 New revision: 497948 URL: https://svnweb.freebsd.org/changeset/ports/497948 Log: Update CMake to latest rele

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-30 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 Tobias C. Berner changed: What|Removed |Added Flags|maintainer-feedback?(kde@Fr |maintainer-feedback+

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #28 from Yuri Victorovich --- (In reply to Adriaan de Groot from comment #27) Hi Adriaan, I tried several ports that were breaking because of OpenMP. With this patch they detect OpenMP okay now. Thank you for fixing this! Yur

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #27 from Adriaan de Groot --- @yuri in particular: please replace /usr/local/share/cmake/Modules/FindOpenMP.cmake with the one attached (or apply the diff) and do your testing. These changes aren't really upstreamable, but could

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 Adriaan de Groot changed: What|Removed |Added Attachment #202774|0 |1 is obsolete|

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 Adriaan de Groot changed: What|Removed |Added Attachment #202773|0 |1 is obsolete|

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #24 from Adriaan de Groot --- A couple of things need(ed) doing: - -fopenmp also needs to be passed as a link flag for all variants - -L needs to be passed to base clang - -I needs to be passed to base clang With a non-base

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #23 from Adriaan de Groot --- *** Bug 234050 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug.

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #22 from Adriaan de Groot --- Yuri, here's a patched-up FindOpenMP.cmake (and the diff between the one included with cmake-3.13.3 and the patch-up version). It basically hits things with a hammer again until stuff works. - Whe

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #21 from Adriaan de Groot --- Created attachment 202774 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202774&action=edit Diff from installed FindOpenMP -- You are receiving this mail because: You are the assignee f

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2019-03-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 Adriaan de Groot changed: What|Removed |Added Attachment #202773|text/x-cmake|text/plain mime type|

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2018-12-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #19 from Adriaan de Groot --- Both PR 234050 and PR 223678 need someone to chase what CMake is doing exactly -- you may find the cmake flags --debug-trycompile and --trace useful -- and to propose a patch. This isn't something w

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2018-12-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 --- Comment #18 from Yuri Victorovich --- See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234050 -- You are receiving this mail because: You are the assignee for the bug.

[Bug 223678] devel/cmake: find_package(OpenMP) doesn't find the openmp package (when base clang compiler is used)

2018-12-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 Yuri Victorovich changed: What|Removed |Added Summary|devel/cmake:|devel/cmake: