In ports f07b5ade5369 misc/py-pytorch was force onto llvm:max=15, with the reason "fix build on 14". Remove this, and add a patch to make it build with clang >= 19 and libc++ 21.
Created attachment 267401 [details] misc/py-pytorch: fix build with clang >= 19 and libc++ 21
Approved. Please commit it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3bd3c194d694c34c2b6a8e0ee93b78e2f1a65a9f commit 3bd3c194d694c34c2b6a8e0ee93b78e2f1a65a9f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-22 19:22:17 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-01-31 18:18:19 +0000 misc/py-pytorch: fix build with clang >= 19 and libc++ 21 In ports f07b5ade5369 misc/py-pytorch was forced onto llvm:max=15, with the reason "fix build on 14". Remove this, and add a patch to make it build with clang >= 19 and libc++ 21. PR: 292664 Approved by: yuri (maintainer) MFH: 2026Q1 misc/py-pytorch/Makefile | 4 ---- .../files/patch-third__party_fmt_include_fmt_format.h (new) | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-)
A commit in branch 2026Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8b69c8aa31af64545a24e840780e9f2ed27297bb commit 8b69c8aa31af64545a24e840780e9f2ed27297bb Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-01-22 19:22:17 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-01-31 18:20:10 +0000 misc/py-pytorch: fix build with clang >= 19 and libc++ 21 In ports f07b5ade5369 misc/py-pytorch was forced onto llvm:max=15, with the reason "fix build on 14". Remove this, and add a patch to make it build with clang >= 19 and libc++ 21. PR: 292664 Approved by: yuri (maintainer) MFH: 2026Q1 (cherry picked from commit 3bd3c194d694c34c2b6a8e0ee93b78e2f1a65a9f) misc/py-pytorch/Makefile | 4 ---- .../files/patch-third__party_fmt_include_fmt_format.h (new) | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-)