Created attachment 220715 [details] [PATCH] lang/pocl: Update to 1.6 available Attached, you'll find a pacth for updating to the POCL-1.6, released on 16.12.2020. The port builds/compiles and a small testsuite of home brewn code fullfilled successfully.
In file lib/CL/devices/cpuinfo.c seems to reside a bug, not fixed upstream. In lines 418, 419 of the original file, cpuinfo.c, the type declaration of f (FILE*) and num_read (int) seem missing. Although I tried to exclude those lines by an #ifdef __linux__ preprocessor clause so it doesn't have an impact when compiling on FreeBSD, I'll try to let this be fixed upstream.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/232202643
A commit references this bug: Author: jbeich Date: Sat Dec 19 17:56:00 UTC 2020 New revision: 558462 URL: https://svnweb.freebsd.org/changeset/ports/558462 Log: lang/pocl: update to 1.6 Changes: http://portablecl.org/pocl-1.6.html PR: 251958 Submitted by: O. Hartmann (maintainer) Changes: head/lang/pocl/Makefile head/lang/pocl/distinfo head/lang/pocl/files/patch-lib_CL_devices_cpuinfo.c head/lang/pocl/pkg-plist
Comment on attachment 220715 [details] [PATCH] lang/pocl: Update to 1.6 available >-DOCS_BUILD_DEPENDS= ${PY_SPHINX} >+DOCS_BUILD_DEPENDS= ${PY_FLAVOR}-sphinx>0:textproc/py-sphinx@${PY_FLAVOR} Stop reverting ports r534966 or explain why this is necessary.