Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 21:26:52 GMT
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bccbfd11abf7 - main - devel/libclc: Add support for clang 19
Message-ID:  <202410312126.49VLQqu2080416@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jkim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bccbfd11abf725b7cafab9dc83058cec224fce3f

commit bccbfd11abf725b7cafab9dc83058cec224fce3f
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2024-10-31 21:22:25 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2024-10-31 21:22:25 +0000

    devel/libclc: Add support for clang 19
    
    Sort pkg-plist while I am here.
    
    Reviewed by:    manu
    PR:             281729
---
 devel/libclc/Makefile        |  12 ++++--
 devel/libclc/distinfo.llvm19 |   3 ++
 devel/libclc/pkg-plist       | 100 ++++++++++++++++++++++---------------------
 3 files changed, 63 insertions(+), 52 deletions(-)

diff --git a/devel/libclc/Makefile b/devel/libclc/Makefile
index 0ddee4d60809..b3bdd2cb8c0e 100644
--- a/devel/libclc/Makefile
+++ b/devel/libclc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libclc
 DISTVERSION=	${DISTVERSION_${FLAVOR}}
+DISTVERSION_llvm19=	19.1.3
 DISTVERSION_llvm18=	18.1.8
 DISTVERSION_llvm17=	17.0.6
 DISTVERSION_llvm16=	16.0.6
@@ -21,7 +22,7 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 BUILD_DEPENDS=	spirv-llvm-translator-${FLAVOR}>0:devel/spirv-llvm-translator@${FLAVOR} \
 		libedit>=0:devel/libedit
 
-FLAVORS=	${15 16 17 18:L:S/^/llvm/}
+FLAVORS=	${15 16 17 18 19:L:S/^/llvm/}
 
 USES=		cmake compiler:c++11-lib llvm:${FLAVOR:S/llvm//},build python:build tar:xz
 USE_LDCONFIG=	${PREFIX}/${FLAVOR}/lib
@@ -35,8 +36,13 @@ NO_ARCH=	yes
 
 .include <bsd.port.pre.mk>
 
-PLIST_SUB+=	${FLAVORS:N${FLAVOR}:@v@${v:tu}="\@comment "@}
-PLIST_SUB+=	${FLAVOR:tu}=""
+.for i in ${FLAVORS:S/llvm//}
+.if ${i} <= ${FLAVOR:S/llvm//}
+PLIST_SUB+=	${i:S/^/llvm/:tu}=""
+.else
+PLIST_SUB+=	${i:S/^/llvm/:tu}="@comment "
+.endif
+.endfor
 PLIST_SUB+=	LLVM_VERSION=${FLAVOR}
 
 .include <bsd.port.post.mk>
diff --git a/devel/libclc/distinfo.llvm19 b/devel/libclc/distinfo.llvm19
new file mode 100644
index 000000000000..3f7d161e5adc
--- /dev/null
+++ b/devel/libclc/distinfo.llvm19
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730338916
+SHA256 (libclc-19.1.3.src.tar.xz) = b49fab401aaa65272f0480f6d707a9a175ea8e68b6c5aa910457c4166aa6328f
+SIZE (libclc-19.1.3.src.tar.xz) = 129012
diff --git a/devel/libclc/pkg-plist b/devel/libclc/pkg-plist
index b2247e882326..279f5bdf3b89 100644
--- a/devel/libclc/pkg-plist
+++ b/devel/libclc/pkg-plist
@@ -291,55 +291,6 @@
 %%LLVM_VERSION%%/share/clc/cypress-r600--.bc
 %%LLVM_VERSION%%/share/clc/fiji-amdgcn--.bc
 %%LLVM_VERSION%%/share/clc/fiji-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/gfx900-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/gfx900-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/gfx902-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/gfx902-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/gfx904-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/gfx904-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/gfx906-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/gfx906-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/hainan-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/hainan-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/hawaii-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/hawaii-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/hemlock-r600--.bc
-%%LLVM_VERSION%%/share/clc/iceland-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/iceland-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/juniper-r600--.bc
-%%LLVM_VERSION%%/share/clc/kabini-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/kabini-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/kaveri-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/kaveri-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/mullins-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/mullins-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/nvptx--.bc
-%%LLVM_VERSION%%/share/clc/nvptx--nvidiacl.bc
-%%LLVM_VERSION%%/share/clc/nvptx64--.bc
-%%LLVM_VERSION%%/share/clc/nvptx64--nvidiacl.bc
-%%LLVM_VERSION%%/share/clc/oland-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/oland-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/palm-r600--.bc
-%%LLVM_VERSION%%/share/clc/pitcairn-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/pitcairn-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/polaris10-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/polaris10-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/polaris11-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/polaris11-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/redwood-r600--.bc
-%%LLVM_VERSION%%/share/clc/spirv-mesa3d-.spv
-%%LLVM_VERSION%%/share/clc/spirv64-mesa3d-.spv
-%%LLVM_VERSION%%/share/clc/stoney-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/stoney-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/sumo-r600--.bc
-%%LLVM_VERSION%%/share/clc/sumo2-r600--.bc
-%%LLVM_VERSION%%/share/clc/tahiti-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/tahiti-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/tonga-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/tonga-amdgcn-mesa-mesa3d.bc
-%%LLVM_VERSION%%/share/clc/turks-r600--.bc
-%%LLVM_VERSION%%/share/clc/verde-amdgcn--.bc
-%%LLVM_VERSION%%/share/clc/verde-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1010-amdgcn--.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1010-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1011-amdgcn--.bc
@@ -374,6 +325,8 @@
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1150-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1151-amdgcn--.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1151-amdgcn-mesa-mesa3d.bc
+%%LLVM19%%%%LLVM_VERSION%%/share/clc/gfx1152-amdgcn--.bc
+%%LLVM19%%%%LLVM_VERSION%%/share/clc/gfx1152-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1200-amdgcn--.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1200-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1201-amdgcn--.bc
@@ -384,6 +337,14 @@
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx705-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx805-amdgcn--.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx805-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/gfx900-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/gfx900-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/gfx902-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/gfx902-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/gfx904-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/gfx904-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/gfx906-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/gfx906-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx908-amdgcn--.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx908-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx909-amdgcn--.bc
@@ -398,5 +359,46 @@
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx941-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx942-amdgcn--.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx942-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/hainan-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/hainan-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/hawaii-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/hawaii-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/hemlock-r600--.bc
+%%LLVM_VERSION%%/share/clc/iceland-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/iceland-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/juniper-r600--.bc
+%%LLVM_VERSION%%/share/clc/kabini-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/kabini-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/kaveri-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/kaveri-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/mullins-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/mullins-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/nvptx--.bc
+%%LLVM_VERSION%%/share/clc/nvptx--nvidiacl.bc
+%%LLVM_VERSION%%/share/clc/nvptx64--.bc
+%%LLVM_VERSION%%/share/clc/nvptx64--nvidiacl.bc
+%%LLVM_VERSION%%/share/clc/oland-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/oland-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/palm-r600--.bc
+%%LLVM_VERSION%%/share/clc/pitcairn-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/pitcairn-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/polaris10-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/polaris10-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/polaris11-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/polaris11-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/redwood-r600--.bc
+%%LLVM_VERSION%%/share/clc/spirv-mesa3d-.spv
+%%LLVM_VERSION%%/share/clc/spirv64-mesa3d-.spv
+%%LLVM_VERSION%%/share/clc/stoney-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/stoney-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/sumo-r600--.bc
+%%LLVM_VERSION%%/share/clc/sumo2-r600--.bc
+%%LLVM_VERSION%%/share/clc/tahiti-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/tahiti-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/tonga-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/tonga-amdgcn-mesa-mesa3d.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn--.bc
 %%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn-mesa-mesa3d.bc
+%%LLVM_VERSION%%/share/clc/turks-r600--.bc
+%%LLVM_VERSION%%/share/clc/verde-amdgcn--.bc
+%%LLVM_VERSION%%/share/clc/verde-amdgcn-mesa-mesa3d.bc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410312126.49VLQqu2080416>