New OpenMP patch for llvm16/llvm17/llvm18/llvm-devel to help fix child processes. do you want a new bug for each of the llvm ports? https://github.com/llvm/llvm-project/pull/91391 This patch will allow forked children to use all the CPU cores rather than all being locked to the same cpu core.
(In reply to cbl from comment #0) > do you want a new bug for each of the llvm ports? A single patch for all would be preferred, but I'll just take care of it (I'm building llvm17 now). Note that no patch is likely needed for llvm18 or llvm-devel as both will get it in the next update and I have a hard time imagining that waiting a week or two more will make a big difference one way or another.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=db92b24a9b7176980dff1a05112d9afef2adda97 commit db92b24a9b7176980dff1a05112d9afef2adda97 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-05-10 17:20:47 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-05-10 20:04:50 +0000 devel/llvm16: openmp Fix child processes affinity Backport upstream 73bb8d9d92f6: [OpenMP] Fix child processes to use affinity_none (#91391) PR: 278843 Submitted by: cbl@cbl.us devel/llvm16/Makefile | 2 +- .../llvm16/files/patch-backport-73bb8d9d92f6 (new) | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fdb8b5148cc699099d2249c71ab6e83b3f44dba2 commit fdb8b5148cc699099d2249c71ab6e83b3f44dba2 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-05-10 17:20:47 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-05-10 20:04:30 +0000 devel/llvm17: openmp Fix child processes affinity Backport upstream 73bb8d9d92f6: [OpenMP] Fix child processes to use affinity_none (#91391) PR: 278843 Submitted by: cbl@cbl.us devel/llvm17/Makefile | 2 +- .../llvm17/files/patch-backport-73bb8d9d92f6 (new) | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=83f1b7559314d822cae3a9fd90f6996e094b7bc5 commit 83f1b7559314d822cae3a9fd90f6996e094b7bc5 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-05-15 23:34:58 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-05-17 18:28:17 +0000 devel/llvm-devel: new snapshot Includes a fix for OpenMP child processes with affinity_none. PR: 278843 devel/llvm-devel/Makefile | 2 ++ devel/llvm-devel/Makefile.snapshot | 4 ++-- devel/llvm-devel/distinfo | 6 +++--- .../files/patch-clang_lib_Headers_CMakeLists.txt | 4 +++- devel/llvm-devel/pkg-plist | 17 ++++++++++++++--- 5 files changed, 24 insertions(+), 9 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b74e0482275ebf33f39cc5db20a61d8744d490e1 commit b74e0482275ebf33f39cc5db20a61d8744d490e1 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-05-20 20:51:59 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-05-20 21:29:35 +0000 devel/llvm18: 18.1.6 release Included changes are in the release annoucment: https://discourse.llvm.org/t/18-1-6-released/79068 This includes a fix for -march=native which was broken in 18.1.5. Also includs a fix for OpenMP child processes. PR: 278843, 279131 devel/llvm18/Makefile | 2 +- devel/llvm18/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)