From bccbfd11abf725b7cafab9dc83058cec224fce3f Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 31 Oct 2024 17:22:25 -0400 Subject: [PATCH] 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 | 122 ++++++++++++++++++----------------- 3 files changed, 74 insertions(+), 63 deletions(-) create mode 100644 devel/libclc/distinfo.llvm19 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 -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 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,6 +291,52 @@ %%LLVM_VERSION%%/share/clc/cypress-r600--.bc %%LLVM_VERSION%%/share/clc/fiji-amdgcn--.bc %%LLVM_VERSION%%/share/clc/fiji-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 +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1011-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1012-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1012-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1013-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1013-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1030-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1030-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1031-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1031-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1032-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1032-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1033-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1033-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1034-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1034-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1035-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1035-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1036-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1036-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1100-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1100-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1101-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1101-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1102-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1102-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1103-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1103-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1150-amdgcn--.bc +%%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 +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1201-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx602-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx602-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx705-amdgcn--.bc +%%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 @@ -299,6 +345,20 @@ %%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 +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx909-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90a-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90a-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90c-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90c-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx940-amdgcn--.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx940-amdgcn-mesa-mesa3d.bc +%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx941-amdgcn--.bc +%%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 @@ -337,66 +397,8 @@ %%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 -%%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 -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1011-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1012-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1012-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1013-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1013-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1030-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1030-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1031-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1031-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1032-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1032-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1033-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1033-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1034-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1034-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1035-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1035-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1036-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1036-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1100-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1100-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1101-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1101-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1102-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1102-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1103-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1103-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1150-amdgcn--.bc -%%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 -%%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 -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx1201-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx602-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx602-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx705-amdgcn--.bc -%%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 -%%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 -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx909-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90a-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90a-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90c-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx90c-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx940-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx940-amdgcn-mesa-mesa3d.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx941-amdgcn--.bc -%%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 -%%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn--.bc -%%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn-mesa-mesa3d.bc