FreeBSD Bugzilla – Attachment 254501 Details for
Bug 281729
devel/libclc: add support for llvm19
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add support for llvm19
libclc.diff (text/plain), 1.59 KB, created by
Jung-uk Kim
on 2024-10-25 05:15:02 UTC
(
hide
)
Description:
Add support for llvm19
Filename:
MIME Type:
Creator:
Jung-uk Kim
Created:
2024-10-25 05:15:02 UTC
Size:
1.59 KB
patch
obsolete
>diff --git a/devel/libclc/Makefile b/devel/libclc/Makefile >index 0ddee4d60809..eb0b452e296f 100644 >--- a/devel/libclc/Makefile >+++ b/devel/libclc/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= libclc > DISTVERSION= ${DISTVERSION_${FLAVOR}} >+DISTVERSION_llvm19= 19.1.2 > 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/pkg-plist b/devel/libclc/pkg-plist >index b2247e882326..f678d40b734d 100644 >--- a/devel/libclc/pkg-plist >+++ b/devel/libclc/pkg-plist >@@ -400,3 +400,5 @@ > %%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 >+%%LLVM19%%%%LLVM_VERSION%%/share/clc/gfx1152-amdgcn--.bc >+%%LLVM19%%%%LLVM_VERSION%%/share/clc/gfx1152-amdgcn-mesa-mesa3d.bc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281729
:
254501
|
254784