Commit graph

3 commits

Author SHA1 Message Date
Koop Mast
f28b16021b Update Mesa to 10.6.9.
* Unbreak build on powerpc and other !x86 archs by moving the
  --with-dri-drivers logic from dri/Makefile to the
  libGL/Makefile.common file. So the settings are applied to all mesa ports,
  this was missed in the 10.6.6 update. [1]
* Don't try to enable OpenCL support on anything other then i386 and amd64. [1]
* Move the texture-float and vdpau logic to Makefile.common even if the latter
  isn't supported yet. Keep OPTIONS_DEFINE/DEFAULT in dri/Makefile since they
  need to defined before bsd.port.options.mk is included, and they only affect
  the dri modules.
* Sed on 11 and 10 supports \< and \> however sed on 9.x and dragonfly do not,
  replace the sed keywords with some magic to get the intended results. [2]

Submitted by:		marino@ [2]
Reported and tested by:	arved@ (on ppc32)[1]
2015-10-10 21:04:44 +00:00
Jimmy Olgeni
42bc424f61 Remove trailing whitespace from Makefiles, A-L. 2015-10-08 15:11:28 +00:00
Koop Mast
05360ec71e Update Mesa port to 10.6.6 and add Clover.
Add beignet 1.1.0.
Add clinfo, clblas, clfft and clrng.

The major change is that all Mesa ports are now configured the same way.
This fixes several problems and enables new features.  The details
are described in this blog post:
http://blogs.freebsdish.org/graphics/2015/03/18/unifying-mesa-ports-configure/

The second important change is the OpenCL support.  Mesa's
implementation, Clover, is enabled as well as Beignet.  Clover
targets all Gallium drivers, only Radeon GPUs in our case.  Beignet
is for Intel GPUs starting with Ivy Bridge.  Thanks to Johannes
Dieterich, O. Hartman, and Koop Mast for their work on OpenCL!  As a
bonus, there are several OpenCL-based math ports added (clblas,
clfft and clrng). For more information and known issues, please see
https://wiki.freebsd.org/Graphics/OpenCL

The third change is the removal of Mesa 9.1.7 which was installed on
FreeBSD 9.3-RELEASE.  There is now only one version of Mesa in the Ports
tree (10.6.6) for all supported versions of FreeBSD.

Other, smaller changes:

* Include libosmesa into the Mesa framework; this changes libOSMesa
  shlib version.

* bsd.mesalib.mk was renamed and split up in two files namely
  Makefile.common and Makefile.targets.  So ports can overwrite variables
  set by Makefile.common and are used by Makefile.targets.

* Some text in the pkg-descr files was wrong, clean it up.  While here,
  update the WWW to the main mesa3d.org upstream page.

* devel/clinfo was added, a glxinfo like program but for OpenCL.

Non-x86 hardware reports are very welcome since we changed the framework
quite a bit.

Obtained from:	Graphics team development repo.
2015-09-17 18:07:25 +00:00