Common clang is a thin wrapper library around clang. Common clang has
OpenCL-oriented API and is capable to compile OpenCL C kernels to
SPIR-V modules.
devel/opencl-clang: fix build with lld 17
Building devel/opencl-clang with lld 17 results in the following link
error:
ld: error: version script assignment of 'global' to symbol 'CheckLinkOptions'
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'Link' failed:
symbol not defined
ld: error: version script assignment of 'global' to symbol 'GetKernelArgInfo'
failed: symbol not defined
The mentioned symbols are no longer in common_clang.cpp, so remove them
from the linker version script.
PR: 273753
MFH: 2023Q4
devel/opencl-clang: unbreak llvm15 flavor on FreeBSD 12.3
FAILED: opencl_clang_options.inc ../.build/opencl_clang_options.inc
cd ../.build && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I
/usr/local/llvm15/include -I . opencl_clang_options.td --write-if-changed -o
opencl_clang_options.inc -d opencl_clang_options.inc.d
Included from opencl_clang_options.td:8:
/usr/local/llvm15/include/llvm/Option/OptParser.td:16:66: error: Variable not
defined: 'false'
class OptionKind<string name, int precedence = 0, bit sentinel = false> {
^
Included from opencl_clang_options.td:8:
/usr/local/llvm15/include/llvm/Option/OptParser.td:25:18: error: Value not
specified for template argument #2 (OptionKind:sentinel) of subclass
'OptionKind'!
def KIND_GROUP : OptionKind<"Group">;
^
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)
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 )
devel/opencl-clang: drop unused flavors after 070200f93538
IGC with LLVM < 10 requires a lot of care while LLVM 10 needs to be
patched for NEO to work. No other consumers.
devel/compute-runtime: add new port
Tested by: clpeak, waifu2x-converter-cpp via drm-v4.9 on Skylake
The Intel(R) Graphics Compute Runtime for OpenCL(TM) is an open source
project to converge Intel's development efforts on OpenCL(TM) compute
stacks supporting the GEN graphics hardware architecture.
https://01.org/compute-runtime