Port details |
- pocl POrtable Computing Language (POCL)
- 4.0 lang =2 4.0Version of this port present on the latest quarterly branch.
- Maintainer: ohartmann@walstatt.org
- Port Added: 2016-11-21 14:36:59
- Last Update: 2023-09-06 20:50:40
- Commit Hash: d1a08b1
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: MIT
- WWW:
- http://portablecl.org/
- Description:
- [
{ type: install
message: <<EOM
Portable OpenCL (pocl)
----------------------
Portable OpenCL (>= 3.0) aims to be an efficient open source
(MIT-licensed) implementation of the OpenCL 2.X standard with
adaptions of OpenCL 3.0.
In addition to producing an easily portable open source OpenCL
implementation, another major goal of the project is improving
performance portability of OpenCL programs with compiler
optimizations, reducing the need for target-dependent manual
optimizations. At the core of pocl is a set of LLVM passes
used to statically parallelize multiple work-items with the kernel
compiler, even in the presence of work-group barriers. This enables
parallelization of the fine-grained static concurrency in the work
groups in multiple ways (SIMD, VLIW, superscalar,...).
The code base is modularized to allow easy adding of new "device drivers"
in the host-device layer. A generic multithreaded "target driver" is
included. It allows running OpenCL applications on a host that supports
the pthread library with multithreading at the work group granularity.
EOM
}
]
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/pocl/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/pocl
- pkg install pocl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: pocl
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1687856826
SHA256 (pocl-pocl-v4.0_GH0.tar.gz) = 7f4e8ab608b3191c2b21e3f13c193f1344b40aba7738f78762f7b88f45e8ce03
SIZE (pocl-pocl-v4.0_GH0.tar.gz) = 2140919
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- llvm16>=14 : devel/llvm16
- opencl>=3 : devel/opencl
- py39-sphinx>=0 : textproc/py-sphinx@py39
- cmake : devel/cmake-core
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- Library dependencies:
-
- libhwloc.so : devel/hwloc2
- libOpenCL.so : devel/ocl-icd
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for pocl-4.0:
DOCS=on: Build documentation (needs textproc/py-sphinx)
===> Use 'make config' to modify these settings
- Options name:
- lang_pocl
- USES:
- cmake localbase:ldflags ncurses pkgconfig python
- pkg-message:
- For install:
-
Deadlocks (freezes) on FreeBSD:
OpenCL applications using pocl on FreeBSD must be compiled with
options CFLAGS+=-pthread or CXXFLAGS+=-pthread, otherwise someone risk
that a library may not initialize the threading on BSD independently,
even if an ICD loader is used.
See:
http://www.freebsd.org/cgi/query-pr.cgi?pr=163512
(Source: http://portablecl.org/docs/html/faq.html?highlight=freebsd)
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
4.0 06 Sep 2023 20:50:40 |
Po-Chuan Hsieh (sunpoet) |
lang/pocl: Clean up USES=python
Approved by: portmgr (blanket)
With hat: python |
4.0 17 Aug 2023 08:24:32 |
Fernando Apesteguía (fernape) Author: O. Hartmann |
lang/pocl: Update to 4.0
PR: 273150
Reported by: ohartmann@walstatt.org (maintainer) |
3.1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
3.1 03 May 2023 08:01:44 |
Fernando Apesteguía (fernape) Author: O. Hartmann |
lang/pocl: Update to POCL 3.1
PR: 271159
Reported by: ohartmann@walstatt.org (maintainer) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.8 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.8 16 Jul 2022 18:37:54 |
Yuri Victorovich (yuri) |
lang/pocl: Broken on i386
Reported by: fallout |
1.8 17 Nov 2021 02:21:11 |
Alexey Dokuchaev (danfe) |
lang/pocl: drop pkg-message + minor style and whitespace fixes
- Do not hardcode architectures in ONLY_FOR_ARCHS_REASON, derive
them from ONLY_FOR_ARCHS instead (this also takes care of the
missing Oxford comma)
- Remove the pkg-message file since the issue it talks about had
been fixed in 2015; it also had slightly incorrect wording and
several EOL whitespace bugs |
1.8 16 Nov 2021 17:25:40 |
Piotr Kubaj (pkubaj) |
lang/pocl: port to powerpc64le |
1.8 16 Nov 2021 12:03:30 |
Piotr Kubaj (pkubaj) |
lang/pocl: port to powerpc64 |
1.8 09 Nov 2021 17:56:40 |
Mikael Urankar (mikael) |
lang/pocl: Update to 1.8
PR: 257449 |
1.6_1 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.6_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.6_1 14 Feb 2021 18:07:09 |
jwb |
lang/pocl: Reverse broken RUN_DEPENDS change from last commit
PR: 252522
Reported by: cmt |
1.6 14 Feb 2021 13:04:11 |
jwb |
lang/pocl: Update hwloc dependency to hwloc2
hwloc and hwloc2 conflict, so all depdendents should be moved to hwloc2
if possible
PR: 252522 |
1.6 15 Jan 2021 13:52:19 |
dbaio |
lang/pocl: Remove Python 2.7 support and PY_SPHINX
Approved by: portmgr blanket |
1.6 19 Dec 2020 17:56:00 |
jbeich |
lang/pocl: update to 1.6
Changes: http://portablecl.org/pocl-1.6.html
PR: 251958
Submitted by: O. Hartmann (maintainer) |
1.5_1 12 Dec 2020 10:44:06 |
jbeich |
lang/pocl: unbreak runtime after r514525
PR: 241482
Submitted by: Lars Herschke
Approved by: maintainer timeout (2 months) |
1.5 30 Nov 2020 22:14:47 |
jbeich |
lang/pocl: update to 1.5
- Drop libltdl dependency after r514525 [1], see
https://github.com/pocl/pocl/commit/fe65a6d44144
Changes: http://portablecl.org/pocl-1.5.html
PR: 248535
Submitted by: O. Hartmann (maintainer)
Reviewed by: kevans
Submitted by: Lars Herschke [1] |
1.4 11 May 2020 23:51:58 |
dbaio |
Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18
Update it to 1.8.5 (latest version from 1.8.X).
This version supports Python 2 and 3.
Add test target.
- textproc/py-sphinx: Update to 3.0.2
Python 3 only (3.5+).
Add test target.
- Mk/Uses/python.mk: Add PY_SPHINX
(Only the first 15 lines of the commit message are shown above ) |
1.4 15 Oct 2019 20:42:23 |
swills |
Remove unneeded BROKEN_FreeBSD_10
Reported by: rene
Pointyat to: swills |
1.4 15 Oct 2019 13:41:58 |
swills |
lang/pocl: Update to POCL 1.4
PR: 241243
Submitted by: O. Hartmann <ohartmann@walstatt.org> (maintainer) |
1.3 13 Aug 2019 22:29:43 |
mat |
onvert to UCL & cleanup pkg-message (categories l-m) |
1.3 12 Jun 2019 19:57:21 |
brooks |
Correct plist file.
The previous entries stem from trusting over-zealous substitution in
check-plist output.
PR: 224584 |
1.3 06 Jun 2019 21:07:42 |
brooks |
Update to POCL 1.3.
PR: 224584
Submitted by: ohartmann@walstatt.org (maintainer) |
0.14 25 Dec 2018 20:25:40 |
tcberner |
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine |
0.14 02 Nov 2018 13:32:35 |
rene |
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724 |
0.14 18 Apr 2018 20:54:46 |
yuri |
lang/pocl: Remove BROKEN=fails to package
It didn't fail to package for me on 11 amd64 and 12 amd64.
Port changes:
* Move BROKENxx and ONLY_FOR_ARCHS lines to a proper place.
* Order USExx section
* Change to cmake:outsource
Approved by: portmgr blanket |
0.14 18 Dec 2017 21:53:28 |
antoine |
Mark BROKEN: fails to package
Reported by: pkg-fallout |
0.14 12 May 2017 17:08:26 |
rezny |
Update to 0.14 and switch to llvm40 by default
PR: 218332
Reviewed by: jbeich
Approved by: swills (mentor), maintainer (timeout)
Differential Revision: https://reviews.freebsd.org/D10508 |
0.13_1 16 Mar 2017 18:49:48 |
rezny |
Switch build to llvm38 to clear the last dependency on llvm37
PR: 217462
Approved by: swills (mentor), maintainer (timeout)
Differential Revision: https://reviews.freebsd.org/D10034 |
0.13 26 Jan 2017 18:48:47 |
marino |
lang/pocl: Fix PLIST for non-FreeBSD platforms
no-op for FreeBSD, it just removes hardcoding from pkg-plist
Approved by: just-fix-it |
0.13 01 Jan 2017 03:45:13 |
sunpoet |
Remove BROKEN_FreeBSD_9
Approved by: portmgr (blanket) |
0.13 21 Nov 2016 22:01:20 |
kwm |
Clean up commented lines, replace the custom do-test with TEST_TARGET= check
Submitted by: mat@ |
0.13 21 Nov 2016 14:36:51 |
kwm |
Add pocl.
Portable OpenCL aims to be an efficient open source (MIT-licensed)
implementation of the OpenCL 1.2 standard. pocl uses Clang as an
OpenCL C frontend and LLVM for the kernel compiler implementation,
and as a portability layer. Thus, if your desired target has an LLVM
backend, it should be able to get OpenCL support easily by using pocl.
PR: 171914
Submitted by: O.Hartmann <ohartmann@walstatt.org> (based on) |