Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Switch MODCLANG_VERSION to 19
To:
ports@openbsd.org
Date:
Sun, 15 Jun 2025 18:58:07 +0200

Download raw body.

Thread
This diff bumps the MODCLANG_VERSION to 19, unhooks llvm/16 from the
tree (as usual I'll leave it for a bit until we're sure that we no
longer need it) and bumps x11/gnome/builder and devel/codechecker since
they have RDEPs on devel/llvm.

This went through a bulk on amd64.

FreeBSD rdeps on llvm-19 for gnome/builder, so I'm confident that this
is expected to work.

I tried to test codechecker but I don't know how people use it. Whether
it's built with llvm/16 or 19 it always tells me

[ERROR 2025-06-15 18:44] - Unrecognized platform. Open a GitHub issue for further guidance.

Not sure if this port should block this anyway.

After this is in, I think it would be a good time to bump
_SYSTEM_VERSION-clang, although I'm not sure we need it if we're
going to bump _SYSTEM_VERSION soon, so I left that out of this diff.

Index: lang/clang/clang.port.mk
===================================================================
RCS file: /cvs/ports/lang/clang/clang.port.mk,v
diff -u -p -r1.44 clang.port.mk
--- lang/clang/clang.port.mk	21 May 2025 02:41:46 -0000	1.44
+++ lang/clang/clang.port.mk	15 Jun 2025 16:02:27 -0000
@@ -1,4 +1,4 @@
-MODCLANG_VERSION ?=	16
+MODCLANG_VERSION ?=	19
 
 MODCLANG_RUN_DEPENDS=     devel/llvm/${MODCLANG_VERSION}
 MODCLANG_LIB_DEPENDS=     devel/llvm/${MODCLANG_VERSION}
Index: devel/llvm/Makefile
===================================================================
RCS file: /cvs/ports/devel/llvm/Makefile,v
diff -u -p -r1.305 Makefile
--- devel/llvm/Makefile	20 Feb 2025 08:15:53 -0000	1.305
+++ devel/llvm/Makefile	15 Jun 2025 16:02:48 -0000
@@ -1,6 +1,5 @@
 SUBDIR =
 SUBDIR +=	13
-SUBDIR +=	16
 SUBDIR +=	18
 SUBDIR +=	19
 
Index: devel/codechecker/Makefile
===================================================================
RCS file: /cvs/ports/devel/codechecker/Makefile,v
diff -u -p -r1.14 Makefile
--- devel/codechecker/Makefile	29 Apr 2025 10:37:45 -0000	1.14
+++ devel/codechecker/Makefile	15 Jun 2025 16:05:16 -0000
@@ -3,7 +3,7 @@ COMMENT =	clang static code analyzer
 GH_ACCOUNT =	Ericsson
 GH_PROJECT =	codechecker
 GH_TAGNAME =	v6.24.0
-REVISION =	1
+REVISION =	2
 
 CATEGORIES =	devel
 
Index: x11/gnome/builder/Makefile
===================================================================
RCS file: /cvs/ports/x11/gnome/builder/Makefile,v
diff -u -p -r1.151 Makefile
--- x11/gnome/builder/Makefile	31 May 2025 10:14:27 -0000	1.151
+++ x11/gnome/builder/Makefile	15 Jun 2025 16:03:09 -0000
@@ -2,6 +2,7 @@ COMMENT=		IDE for writing GNOME-based so
 
 GNOME_PROJECT=		gnome-builder
 GNOME_VERSION=		48.0
+REVISION=		0
 
 CATEGORIES=		devel