aboutsummaryrefslogtreecommitdiff
path: root/lang/clover
Commit message (Collapse)AuthorAgeFilesLines
* Switch mesa and related ports to llvm80Niclas Zeising2019-06-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] Add a notice to bsd.default-versions.mk asking that the graphics team be informed before the llvm version is changed. Enable llvm and gallium on MIPS. As far as I can tell, this used to be the default before this change. Bump portrevisions since dependencies changed. PR: 230789 [1], [2] Submitted by: jbeich [1], tobik [2] Obtained from: FreeBSD Graphics Team development repo https://github.com/FreeBSDDesktop/freebsd-ports/commits/feature/mesa-llvm80 Sponsored by: B3 Init (zeising) Notes: svn path=/head/; revision=505425
* graphics/mesa-dri: back out r494579Jan Beich2019-03-041-4/+4
| | | | | | | | | Landed by mistake. x11@ is immune to maintainer timeout nowadays. PR: 230789 Notes: svn path=/head/; revision=494583
* graphics/mesa-dri: switch to llvm70Jan Beich2019-03-041-3/+4
| | | | | | | | PR: 230789 Approved by: maintainer timeout (2 weeks) Notes: svn path=/head/; revision=494579
* Add -znotext to LDFLAGS on i386, for lldEd Maste2018-09-261-0/+1
| | | | | | | | | | | | | | These ports link some non-PIC code, which fails with lld as it defaults to disallowing relocations against read-only segments. For i386 we can just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's existing default. PR: 214864 Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=480747
* Update the Mesa ports to 17.3.1 and switch to LLVM5 by defaultMatthew Rezny2017-12-251-2/+3
| | | | | | | | | | Correct dependencies: remove the cruft added to mesa-dri in the previous commit (those are mesa-libs deps), add a RUN_DEPENDS for libclc to clover Clean up patches, remove one stale patch Notes: svn path=/head/; revision=457264
* Update mesa ports to 17.3.0Niclas Zeising2017-12-171-3/+0
| | | | | | | | | | | | | Add missing dependencies on xcb and xxf86vm. Changelog for mesa: https://www.mesa3d.org/relnotes/17.3.0.html PR: 223195 Submitted by: jbeich Tested by: Greg V, cpm Notes: svn path=/head/; revision=456530
* - Update WWWDmitry Marakasov2017-08-081-1/+1
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=447535
* Update the Mesa ports to 17.1.0Matthew Rezny2017-05-211-10/+7
| | | | | | | | | | | | | | | | | | * restrict use of LLVM for Gallium to platforms with LLVM in base to fix runtime errors when Gallium is built with a mix of GCC and LLVM * make LLVM only a BUILD_DEPEND for mesa-libs, which needs it to build EGL * add pkg-plist entries for freedreno and vc4 drivers [1] * remove extraneous SHEBANG_FILES entry to fix build of freedreno [2,3] * correct typo in libosmesa, which may have affected the Gallium build [4] PR: 219247 [1], 219406 [3] Submitted by: jbeich [1] (2 patches, pkg-plist fix), strejda (vc4 CFLAGS) Reported by: strejda [2], andrew [3], linimon [4] Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10842 Notes: svn path=/head/; revision=441424
* Consolidate the Mesa ports, update to 17.0.4, and add Wayland optionMatthew Rezny2017-05-123-18/+24
| | | | | | | | | | | | | | | | | | | * libGL, libEGL, libglesv2, libglapi, and gbm have been moved into mesa-libs, graphics/dri has been renamed to mesa-dri, and USE_GL has been adjusted * mesa-libs has a new WAYLAND option that enables platform support in libEGL * mesa-dri now depends on graphics/s2tc for compressed texture support [1] * re-remove obsolete dependency on makedepends [2] * correct sed fix backported from 17.1 [3] PR: 218799 (exp-run), 212762 [1], 218552 [2], 218562 [3] Submitted by: dbn [1], jbeich [2,3] Reported by: afiskon@devzen.ru [1] Reviewed by: kwm, johalun0@gmail.com Approved by: portmgr, swills (mentor) Differential Revision: https://reviews.freebsd.org/D10448 Notes: svn path=/head/; revision=440699
* Update Mesa to 17.0.3Matthew Rezny2017-04-101-1/+0
| | | | | | | | | | | | | | | | | * OpenGL 4.5 support for RadeonSI and recent Intel * Use LLVM 4.0 by default, building with 3.9 is possible via MESA_LLVM_VER * DRI3 remains enabled at compile time, but is now disabled at runtime for stock FreeBSD. Set LIBGL_DRI3_ENABLE in the environment to enable DRI3. This extra check is added when compiling on stock FreeBSD, not DRM-next. This change was made to work around a problem in libEGL, which fails to fall back to using DRI2 when run on a system without DRI3 support. Reviewed by: jmd, mat Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10250 Notes: svn path=/head/; revision=438198
* Update Mesa to 13.0.4Matthew Rezny2017-02-111-2/+2
| | | | | | | | | | | | * Use LLVM 3.9 * OpenGL 4.4 support for recent Intel and ReadeonSI PR: 214581 Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9438 Notes: svn path=/head/; revision=433862
* Cleanup BROKEN/IGNORE for 10.3-Mathieu Arnold2017-01-031-4/+0
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=430454
* Add USES+=ssl to 3 of 8 graphics/libGL/Makefile.common consumersJohn Marino2016-09-151-0/+1
| | | | | | | | | | | | Despite having a configure argument of --with-sha1=libcrypto, only three of the eight users of graphics/libGL/Makefile.common actually link to SSL libraries. Individually add USES=ssl to these three ports rather than have all 8 having this requirement. Approved by: SSL blanket Notes: svn path=/head/; revision=422214
* Now that the bug in llvm37 is fixed [1], clover can be enabled again onKoop Mast2016-04-041-4/+1
| | | | | | | | | 10.1-RELEASE i386. [1] https://svnweb.freebsd.org/changeset/ports/412196 Notes: svn path=/head/; revision=412510
* Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.Mathieu Arnold2016-04-011-5/+5
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412347
* Exclude libclc (and thus OpenCL) on 10.1 i386.Koop Mast2016-03-291-1/+4
| | | | | | | | | | There is a wierd issue with base clang and llvm37 which stops libclc to build on 10.1 i386. So disable it so we don't block 1500+ ports. Submitted by: pkg-fallout via antoine@ Notes: svn path=/head/; revision=412113
* Update Mesa to 10.6.9.Koop Mast2015-10-101-4/+2
| | | | | | | | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=399021
* Remove trailing whitespace from Makefiles, A-L.Jimmy Olgeni2015-10-081-1/+1
| | | | Notes: svn path=/head/; revision=398832
* Update Mesa port to 10.6.6 and add Clover.Koop Mast2015-09-173-0/+53
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. Notes: svn path=/head/; revision=397198