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

(-)b/lang/pocl/Makefile (-3 / +3 lines)
Lines 1-5 Link Here
1
PORTNAME=	pocl
1
PORTNAME=	pocl
2
PORTVERSION=	1.8
2
PORTVERSION=	3.0
3
DISTVERSIONPREFIX=v
3
DISTVERSIONPREFIX=v
4
CATEGORIES=	lang
4
CATEGORIES=	lang
5
5
Lines 13-19 ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le Link Here
13
ONLY_FOR_ARCHS_REASON=	only tested on ${ONLY_FOR_ARCHS:tW:S/ /, /g}
13
ONLY_FOR_ARCHS_REASON=	only tested on ${ONLY_FOR_ARCHS:tW:S/ /, /g}
14
14
15
BUILD_DEPENDS=	llvm${LLVM_VERSION}>=10:devel/llvm${LLVM_VERSION} \
15
BUILD_DEPENDS=	llvm${LLVM_VERSION}>=10:devel/llvm${LLVM_VERSION} \
16
		opencl>=2.2:devel/opencl
16
		opencl>=3:devel/opencl
17
LIB_DEPENDS=	libhwloc.so:devel/hwloc2 libOpenCL.so:devel/ocl-icd
17
LIB_DEPENDS=	libhwloc.so:devel/hwloc2 libOpenCL.so:devel/ocl-icd
18
RUN_DEPENDS=	${BUILD_DEPENDS}
18
RUN_DEPENDS=	${BUILD_DEPENDS}
19
19
Lines 21-27 USES= cmake localbase:ldflags ncurses pkgconfig Link Here
21
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
23
24
LLVM_VERSION=	${MESA_LLVM_VER:U13}
24
LLVM_VERSION=	${MESA_LLVM_VER:U14}
25
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" \
26
		-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \
26
		-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \
27
		-DSINGLE_LLVM_LIB=ON \
27
		-DSINGLE_LLVM_LIB=ON \
(-)b/lang/pocl/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1634367852
1
TIMESTAMP = 1656906684
2
SHA256 (pocl-pocl-v1.8_GH0.tar.gz) = 0f63377ae1826e16e90038fc8e7f65029be4ff6f9b059f6907174b5c0d1f8ab2
2
SHA256 (pocl-pocl-v3.0_GH0.tar.gz) = a3fd3889ef7854b90b8e4c7899c5de48b7494bf770e39fba5ad268a5cbcc719d
3
SIZE (pocl-pocl-v1.8_GH0.tar.gz) = 1614545
3
SIZE (pocl-pocl-v3.0_GH0.tar.gz) = 1722809
(-)b/lang/pocl/pkg-descr (-5 / +9 lines)
Lines 1-15 Link Here
1
Portable OpenCL aims to be an efficient open source (MIT-licensed)
1
Portable OpenCL (pocl)
2
implementation of the OpenCL 1.2 standard.
2
----------------------
3
4
Portable OpenCL (>= 3.0) aims to be an efficient open source 
5
(MIT-licensed) implementation of the OpenCL 2.X standard with 
6
adaptions of OpenCL 3.0.
3
7
4
In addition to producing an easily portable open source OpenCL
8
In addition to producing an easily portable open source OpenCL
5
implementation, another major goal of the project is improving
9
implementation, another major goal of the project is improving
6
performance portability of OpenCL programs with compiler
10
performance portability of OpenCL programs with compiler
7
optimizations, reducing the need for target-dependent manual
11
optimizations, reducing the need for target-dependent manual
8
optimizations. At the core of POCL is a set of LLVM passes used
12
optimizations. At the core of pocl is a set of LLVM passes
9
to statically parallelize multiple work-items with the kernel
13
used to statically parallelize multiple work-items with the kernel
10
compiler, even in the presence of work-group barriers. This enables
14
compiler, even in the presence of work-group barriers. This enables
11
parallelization of the fine-grained static concurrency in the work
15
parallelization of the fine-grained static concurrency in the work
12
groups in multiple ways (SIMD, VLIW, superscalar, ...).
16
groups in multiple ways (SIMD, VLIW, superscalar,...).
13
17
14
The code base is modularized to allow easy adding of new "device drivers"
18
The code base is modularized to allow easy adding of new "device drivers"
15
in the host-device layer. A generic multithreaded "target driver" is
19
in the host-device layer. A generic multithreaded "target driver" is
(-)b/lang/pocl/pkg-message (+12 lines)
Added Link Here
1
2
Deadlocks (freezes) on FreeBSD:
3
4
OpenCL applications using pocl on FreeBSD must be compiled with 
5
options CFLAGS+=-pthread or CXXFLAGS+=-pthread, otherwise someone risk
6
that a library may not initialize the threading on BSD independently, 
7
even if an ICD loader is used.
8
9
See: 
10
	http://www.freebsd.org/cgi/query-pr.cgi?pr=163512
11
12
(Source: http://portablecl.org/docs/html/faq.html?highlight=freebsd)
(-)b/lang/pocl/pkg-plist (-2 / +1 lines)
Lines 2-9 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.8.0
5
lib/libpocl.so.2.9.0
6
lib/pocl/libllvmopencl.so
7
lib/pocl/libpocl-devices-basic.so
6
lib/pocl/libpocl-devices-basic.so
8
lib/pocl/libpocl-devices-pthread.so
7
lib/pocl/libpocl-devices-pthread.so
9
libdata/pkgconfig/pocl.pc
8
libdata/pkgconfig/pocl.pc

Return to bug 264147