View | Details | Raw Unified | Return to bug 257451
Collapse All | Expand All

(-)b/lang/pocl/Makefile (-6 / +17 lines)
Lines 1-6 Link Here
1
PORTNAME=		pocl
1
PORTNAME=		pocl
2
PORTVERSION=		1.6
2
PORTVERSION=		1.7
3
PORTREVISION=		1
4
DISTVERSIONPREFIX=	v
3
DISTVERSIONPREFIX=	v
5
CATEGORIES=		lang
4
CATEGORIES=		lang
6
5
Lines 10-16 COMMENT= POrtable Computing Language (POCL) Link Here
10
LICENSE=		MIT
9
LICENSE=		MIT
11
LICENSE_FILE=		${WRKSRC}/LICENSE
10
LICENSE_FILE=		${WRKSRC}/LICENSE
12
11
13
ONLY_FOR_ARCHS=		amd64 i386
12
ONLY_FOR_ARCHS=		aarch64 amd64 i386
14
ONLY_FOR_ARCHS_REASON=	only tested on x86
13
ONLY_FOR_ARCHS_REASON=	only tested on x86
15
14
16
BUILD_DEPENDS=	llvm${LLVM_VERSION}>=0:devel/llvm${LLVM_VERSION} \
15
BUILD_DEPENDS=	llvm${LLVM_VERSION}>=0:devel/llvm${LLVM_VERSION} \
Lines 25-34 USE_LDCONFIG= yes Link Here
25
LLVM_VERSION=	${MESA_LLVM_VER:U11}
24
LLVM_VERSION=	${MESA_LLVM_VER:U11}
26
CMAKE_ARGS=	-DWITH_LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config" \
25
CMAKE_ARGS=	-DWITH_LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config" \
27
		-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \
26
		-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \
28
		-DKERNELLIB_HOST_CPU_VARIANTS="distro" \
27
		-DSINGLE_LLVM_LIB=ON \
29
		-DSINGLE_LLVM_LIB=ON
28
		${CMAKE_ARGS_${ARCH}}
30
29
31
PLIST_SUB=	CONFIGURE_TARGET=${CONFIGURE_TARGET:S/amd64/x86_64/}
30
CMAKE_ARGS_aarch64=	-DLLC_HOST_CPU=cortex-a53
31
CMAKE_ARGS_amd64=	-DKERNELLIB_HOST_CPU_VARIANTS="distro"
32
32
33
OPTIONS_DEFINE=	DOCS
33
OPTIONS_DEFINE=	DOCS
34
34
Lines 38-41 DOCS_CMAKE_ON= -DENABLE_DOCS=ON Link Here
38
DOCS_USES=		python:3.6+
38
DOCS_USES=		python:3.6+
39
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
39
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
40
40
41
.include <bsd.port.options.mk>
42
43
.if ${ARCH} == aarch64
44
PLIST_SUB+=     AARCH64=""
45
PLIST_SUB+=	X86="@comment "
46
.else
47
PLIST_SUB+=     AARCH64="@comment"
48
PLIST_SUB+=	X86=""
49
.endif
50
PLIST_SUB+=	CONFIGURE_TARGET=${CONFIGURE_TARGET:S/amd64/x86_64/}
51
41
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)b/lang/pocl/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1608358712
1
TIMESTAMP = 1627042708
2
SHA256 (pocl-pocl-v1.6_GH0.tar.gz) = b0a4c0c056371b6f0db726b88fbb76bbee94948fb2abd4dbc8d958f7c42f766c
2
SHA256 (pocl-pocl-v1.7_GH0.tar.gz) = 5f6bbc391ba144bc7becc3b90888b25468460d5aa6830f63a3b066137e7bfac3
3
SIZE (pocl-pocl-v1.6_GH0.tar.gz) = 1595212
3
SIZE (pocl-pocl-v1.7_GH0.tar.gz) = 1577676
(-)b/lang/pocl/pkg-plist (-9 / +10 lines)
Lines 2-8 bin/poclcc Link Here
2
etc/OpenCL/vendors/pocl.icd
2
etc/OpenCL/vendors/pocl.icd
3
lib/libpocl.so
3
lib/libpocl.so
4
lib/libpocl.so.2
4
lib/libpocl.so.2
5
lib/libpocl.so.2.6.0
5
lib/libpocl.so.2.7.0
6
lib/pocl/libllvmopencl.so
6
lib/pocl/libllvmopencl.so
7
lib/pocl/libpocl-devices-basic.so
7
lib/pocl/libpocl-devices-basic.so
8
lib/pocl/libpocl-devices-pthread.so
8
lib/pocl/libpocl-devices-pthread.so
Lines 21-31 libdata/pkgconfig/pocl.pc Link Here
21
%%DATADIR%%/include/pocl_image_types.h
21
%%DATADIR%%/include/pocl_image_types.h
22
%%DATADIR%%/include/pocl_spir.h
22
%%DATADIR%%/include/pocl_spir.h
23
%%DATADIR%%/include/pocl_types.h
23
%%DATADIR%%/include/pocl_types.h
24
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx.bc
24
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx.bc
25
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx2.bc
25
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx2.bc
26
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx512.bc
26
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx512.bc
27
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx_f16c.bc
27
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx_f16c.bc
28
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx_fma4.bc
28
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-avx_fma4.bc
29
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-sse2.bc
29
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-sse2.bc
30
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-sse41.bc
30
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-sse41.bc
31
%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-ssse3.bc
31
%%X86%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-ssse3.bc
32
%%AARCH64%%%%DATADIR%%/kernel-%%CONFIGURE_TARGET%%-cortex-a53.bc

Return to bug 257451