View | Details | Raw Unified | Return to bug 281729 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/libclc/Makefile (-3 / +9 lines)
Lines 1-5 Link Here
1
PORTNAME=	libclc
1
PORTNAME=	libclc
2
DISTVERSION=	${DISTVERSION_${FLAVOR}}
2
DISTVERSION=	${DISTVERSION_${FLAVOR}}
3
DISTVERSION_llvm19=	19.1.2
3
DISTVERSION_llvm18=	18.1.8
4
DISTVERSION_llvm18=	18.1.8
4
DISTVERSION_llvm17=	17.0.6
5
DISTVERSION_llvm17=	17.0.6
5
DISTVERSION_llvm16=	16.0.6
6
DISTVERSION_llvm16=	16.0.6
Lines 21-27 LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept Link Here
21
BUILD_DEPENDS=	spirv-llvm-translator-${FLAVOR}>0:devel/spirv-llvm-translator@${FLAVOR} \
22
BUILD_DEPENDS=	spirv-llvm-translator-${FLAVOR}>0:devel/spirv-llvm-translator@${FLAVOR} \
22
		libedit>=0:devel/libedit
23
		libedit>=0:devel/libedit
23
24
24
FLAVORS=	${15 16 17 18:L:S/^/llvm/}
25
FLAVORS=	${15 16 17 18 19:L:S/^/llvm/}
25
26
26
USES=		cmake compiler:c++11-lib llvm:${FLAVOR:S/llvm//},build python:build tar:xz
27
USES=		cmake compiler:c++11-lib llvm:${FLAVOR:S/llvm//},build python:build tar:xz
27
USE_LDCONFIG=	${PREFIX}/${FLAVOR}/lib
28
USE_LDCONFIG=	${PREFIX}/${FLAVOR}/lib
Lines 35-42 NO_ARCH= yes Link Here
35
36
36
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
37
38
38
PLIST_SUB+=	${FLAVORS:N${FLAVOR}:@v@${v:tu}="\@comment "@}
39
.for i in ${FLAVORS:S/llvm//}
39
PLIST_SUB+=	${FLAVOR:tu}=""
40
.if ${i} <= ${FLAVOR:S/llvm//}
41
PLIST_SUB+=	${i:S/^/llvm/:tu}=""
42
.else
43
PLIST_SUB+=	${i:S/^/llvm/:tu}="@comment "
44
.endif
45
.endfor
40
PLIST_SUB+=	LLVM_VERSION=${FLAVOR}
46
PLIST_SUB+=	LLVM_VERSION=${FLAVOR}
41
47
42
.include <bsd.port.post.mk>
48
.include <bsd.port.post.mk>
(-)b/devel/libclc/pkg-plist (+2 lines)
Lines 400-402 Link Here
400
%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx942-amdgcn-mesa-mesa3d.bc
400
%%LLVM18%%%%LLVM_VERSION%%/share/clc/gfx942-amdgcn-mesa-mesa3d.bc
401
%%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn--.bc
401
%%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn--.bc
402
%%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn-mesa-mesa3d.bc
402
%%LLVM18%%%%LLVM_VERSION%%/share/clc/tongapro-amdgcn-mesa-mesa3d.bc
403
%%LLVM19%%%%LLVM_VERSION%%/share/clc/gfx1152-amdgcn--.bc
404
%%LLVM19%%%%LLVM_VERSION%%/share/clc/gfx1152-amdgcn-mesa-mesa3d.bc

Return to bug 281729