libclc is an open source, BSD licensed implementation of the library
requirements of the OpenCL C programming language, as specified by the
OpenCL 1.1 Specification. The following sections of the specification
impose library requirements:
Libclc is intended to be used with the Clang compiler's OpenCL frontend
devel/libclc: Update llvm19 flavor and add 20, 21, and 22 flavors
Rename plist variables LLVMnn to LLVM_GEnn (>=nn) and introduce
LLVM_LTnn (<nn).
Convert patch to REINPLACE_CMD because it fails to apply to the
LLVM 22 version.
PR: 290873
Approved by: arrowd
devel/libclc: Flavorize the port
Defines some flavors for llvm15 to llvm18 for libclc.
This will allow users to use a different LLVM_DEFAULT without having
to rely on the default one (llvm15 for now).
PR: 280863
Sponsored by: Beckhoff Automation GmbH & Co. KG
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>
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/libclc: Update to 12.0.1
Use llvm releases of libclc
Force llvm12 as it is what's used for mesa/clover
Use the llvm12 flavor of spirv-llvm-translator
Differential Revision: https://reviews.freebsd.org/D31290
graphics/mesa*: Update to 20.2
Update to 20.2
Move graphics/libxatracker to graphics/mesa-gallium-xa
Remove VAAPI and VDPAU options in mesa-libs in favor of
two new ports : mesa-gallium-va and mesa-gallium-vdpau
Bump needed llvm to llvm10
Change a lot of meson option from false to disabled as it's
deprecated.
Remove the drm and surfaceless platform from mesa* as it's always
enabled now.
Add zstd option, used for shader cache.
Reviewed by: x11 (zeising@)
Differential Revision: https://reviews.freebsd.org/D26682
Mark BROKEN on powerpc64.
This port has been failing to build since 20180919 and I have not yet
been able to fix it.
Approved by: portmgr (tier-2 blanket)
devel/libclc: revert to llvm80 as lang/clover isn't ready
Both ports need to use the same LLVM version for OpenCL to work.
Reported by: Vasily Postnicov (on x11@ list)
Approved by: portmgr blanket
Switch mesa and related ports to llvm80
Switch mesa over to use llvm80 instead of llvm60. Make it use the
global LLVM_DEFAULT instead of deciding for ourself which llvm version
to use. [1]
Fix build of lang/beginet [1]
Add patch from upstream to fix build of devel/libclc. The patch is taken
from the git mirror of devel/libclc rather than the SVN repo, for
convenience.
Add a patch from mesa upstream preventing certain error messages when using
amdgpu [2]
(Only the first 15 lines of the commit message are shown above )
devel/libclc: update to more recent snapshot. Includes int64 atomics, popcnt,
and recip among smaller changes from the last 6+ months of development.
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D12522
Update to latest snapshot and obey MESA_LLVM_VER if set (only 40 is valid)
PR: 218195
Reviewed by: jmd
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10248
Update devel/libclc to a later git tag. It now requires devel/llvm40 and brings
support for logb and expm1. License changes to BSD3 and MIT (dual).
Reviewed by: swills (mentor), rene (mentor), kwm (x11)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9394
Update to 20160915 snapshot
The new snapshot is necessary for mesa updates and is the latest snapshot which
is compatible with llvm 3.9 (next are on llvm 4.0)
PR: 214883
Submitted by: matthew@reztek.cz
devel/libclc: Use ports libedit (build dependency)
The LLVM_TOOL_LINK builds a helper tool named utils/prepare-builtins that
requires libedit which in turn pulls in libtinfo (part of libncurses).
In order to support builds on platforms without base ncurses (e.g. DF),
require base libedit. This requires an additional -L LDFLAGS to search
${LOCALBASE}/lib for the needed libs. (prepare-builtins is not installed)
Approved by: kwm (maintainer)
Update libclc to 0.1.0, snapshot from 20150710.
- Switch to the llvm github mirror, remove code to roll a custom
tarball from svn.
- Remove 8.x IGNORE and convert 9.x IGNORE to BROKEN_FreeBSD_9,
do away with pre.mk/post.mk.
- Bump llvm version to 3.6. to stay in sync with mesa, which will
use it in the near future.
Replace a python command with python2.7 so it can actualy run the required
commands. This fixes the build in poudriere because lang/python isn't installed.
Update libclc to revision 222830.
Use 0.0.1 as portversion because upstream uses it.
Switch to llvm/clang 3.5.
Mark ignore on 8.x due lack of llvm 3.5 and 9.x due to missing C++ header.
Switch the J and f option around in the tar command in the do-fetch block,
so we don't create a 'J' tar file.
Add a patch which is being discussed with upstream. OpenCL doesn't allow
system headers to be used. This patch allows libclc to build on HEAD.
Submitted by: dumbbell@