notbugIf you buy from Amazon USA, please support us by using this link.
Port details
beignet OpenCL library for Intel GPUs
1.3.2_4 lang on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: x11@FreeBSD.org search for ports maintained by this maintainer
Port Added: 17 Sep 2015 18:07:42
License: LGPL21+
Beignet contains the code to run OpenCL programs on Intel GPUs, which
defines and implements host functions required to initialize the device,
create the command queues, the kernels, and the programs and run them on
the GPU. It also contains the compiler part of the stack.

WWW: https://01.org/beignet/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (52 items)
  1. /usr/local/share/licenses/beignet-1.3.2_4/catalog.mk
  2. /usr/local/share/licenses/beignet-1.3.2_4/LICENSE
  3. /usr/local/share/licenses/beignet-1.3.2_4/LGPL21+
  4. @comment include/CL/cl.h
  5. @comment include/CL/cl_d3d10.h
  6. @comment include/CL/cl_d3d11.h
  7. @comment include/CL/cl_dx9_media_sharing.h
  8. @comment include/CL/cl_egl.h
  9. @comment include/CL/cl_ext.h
  10. @comment include/CL/cl_gl.h
  11. @comment include/CL/cl_gl_ext.h
  12. include/CL/cl_intel.h
  13. @comment include/CL/cl_platform.h
  14. @comment include/CL/opencl.h
  15. etc/OpenCL/vendors/intel-beignet.icd
  16. lib/beignet/beignet.bc
  17. lib/beignet/beignet.pch
  18. lib/beignet/beignet_20.bc
  19. lib/beignet/beignet_20.pch
  20. lib/beignet/include/ocl.h
  21. lib/beignet/include/ocl_as.h
  22. lib/beignet/include/ocl_async.h
  23. lib/beignet/include/ocl_atom.h
  24. lib/beignet/include/ocl_atom_20.h
  25. lib/beignet/include/ocl_common.h
  26. lib/beignet/include/ocl_convert.h
  27. lib/beignet/include/ocl_defines.h
  28. lib/beignet/include/ocl_enqueue.h
  29. lib/beignet/include/ocl_float.h
  30. lib/beignet/include/ocl_geometric.h
  31. lib/beignet/include/ocl_image.h
  32. lib/beignet/include/ocl_integer.h
  33. lib/beignet/include/ocl_math.h
  34. lib/beignet/include/ocl_math_20.h
  35. lib/beignet/include/ocl_memcpy.h
  36. lib/beignet/include/ocl_memset.h
  37. lib/beignet/include/ocl_misc.h
  38. lib/beignet/include/ocl_pipe.h
  39. lib/beignet/include/ocl_printf.h
  40. lib/beignet/include/ocl_relational.h
  41. lib/beignet/include/ocl_simd.h
  42. lib/beignet/include/ocl_sync.h
  43. lib/beignet/include/ocl_types.h
  44. lib/beignet/include/ocl_vload.h
  45. lib/beignet/include/ocl_vload_20.h
  46. lib/beignet/include/ocl_work_group.h
  47. lib/beignet/include/ocl_workitem.h
  48. lib/beignet/libcl.so
  49. lib/beignet/libgbe.so
  50. lib/beignet/libgbeinterp.so
  51. @postexec /usr/sbin/service ldconfig restart > /dev/null
  52. @postunexec /usr/sbin/service ldconfig restart > /dev/null
  53. Collapse this list.

To install the port: cd /usr/ports/lang/beignet/ && make install clean
To add the package: pkg install beignet

PKGNAME: beignet

ONLY_FOR_ARCHS: i386 amd64

distinfo:

TIMESTAMP = 1509014001
SHA256 (beignet-1.3.2-source.tar.gz) = c555edba149de23243965a703f39f79fa06f15bcff5a3762b5544b0925010b43
SIZE (beignet-1.3.2-source.tar.gz) = 1143573


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. clang60 : devel/llvm60
  2. opencl>=0 : devel/opencl
  3. cmake : devel/cmake
  4. ninja : devel/ninja
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. xorgproto>=0 : x11/xorgproto
  7. sm.pc : x11/libSM
  8. ice.pc : x11/libICE
  9. x11.pc : x11/libX11
  10. xext.pc : x11/libXext
  11. xfixes.pc : x11/libXfixes
Runtime dependencies:
  1. opencl>=0 : devel/opencl
  2. clang60 : devel/llvm60
  3. sm.pc : x11/libSM
  4. ice.pc : x11/libICE
  5. x11.pc : x11/libX11
  6. xext.pc : x11/libXext
  7. xfixes.pc : x11/libXfixes
Library dependencies:
  1. libOpenCL.so : devel/ocl-icd
  2. libdrm.so : graphics/libdrm
  3. libGL.so : graphics/mesa-libs
  4. libEGL.so : graphics/mesa-libs
There are no ports dependent upon this port

Configuration Options
===> The following configuration options are available for beignet-1.3.2_4:
     FP64=off: Double precision (experimental)
     OCL20=on: OpenCL 2.0 support
     TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings

USES:
cmake ncurses pkgconfig shebangfix gl

Master Sites:
  1. https://01.org/sites/default/files/

Number of commits found: 33

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
11 Sep 2018 18:34:28
Original commit files touched by this commit  1.3.2_4
Revision:479538
zeising search for other commits by this committer
Change x11/xorgproto to become a build dep

Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained
from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
20 Aug 2018 23:37:50
Original commit files touched by this commit  1.3.2_3
Revision:477690
jbeich search for other commits by this committer
lang/beignet: unbreak with llvm70

backend/src/backend/program.cpp:797:34: error: reference to type 'const
llvm::Module' could not bind to an lvalue of type 'llvm::Module *'
        llvm::WriteBitcodeToFile(*out_module, ostream);
                                 ^~~~~~~~~~~
/usr/local/llvm70/include/llvm/Bitcode/BitcodeWriter.h:129:41: note: passing
argument to parameter 'M' here
  void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
                                        ^
backend/src/llvm/llvm_bitcode_link.cpp:343:36: error: no matching function for
call to 'CloneModule'
    llvm::Module * linked_module =
llvm::CloneModule((llvm::Module*)mod).release();
                                   ^~~~~~~~~~~~~~~~~
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:52:25: note: candidate
function not viable: no known conversion from 'llvm::Module *' to 'const
llvm::Module' for 1st argument; dereference the argument with *
std::unique_ptr<Module> CloneModule(const Module &M);
                        ^
/usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:53:25: note: candidate
function not viable: requires 2 arguments, but 1 was provided
(Only the first 15 lines of the commit message are shown above View all of this commit message)
07 May 2018 15:23:49
Original commit files touched by this commit  1.3.2_3
Revision:469291
amdmi3 search for other commits by this committer
- Remove obsolete OSVERSION condition

Approved by:	portmgr blanket
27 Apr 2018 23:10:16
Original commit files touched by this commit  1.3.2_3
Revision:468502
jbeich search for other commits by this committer
lang/beignet: cannot build with llvm50 on 10.3

FAILED: src/kernels/cl_internal_copy_buf_align16_str.c
cd /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src && rm -rf
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c
&& env
OCL_BITCODE_LIB_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.bc
OCL_HEADER_FILE_DIR=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//include/
OCL_PCH_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.local.pch
OCL_BITCODE_LIB_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.bc
OCL_PCH_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.local.pch
LD_LIBRARY_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2
Source/backend/src/gbe_bin_generater -s
-o/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16.cl
ninja: build stopped: subcommand failed.

  Program received signal SIGBUS, Bus error.
  std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::compare (
      this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643
  3643        size_t __rhs_sz = __str.size();
  (gdb) backtrace
  #0  std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >::compare (
      this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643
  #1  std::__1::operator< <char, std::__1::char_traits<char>,
std::__1::allocator<char> > (__lhs=..., __rhs=...)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Apr 2018 23:10:00
Original commit files touched by this commit  1.3.2_3
Revision:468501
jbeich search for other commits by this committer
graphics/mesa-dri: switch to llvm60

PR:		227682
24 Apr 2018 00:18:51
Original commit files touched by this commit  1.3.2_2
Revision:468161
jbeich search for other commits by this committer
lang/beignet: install CL/cl_inet.h

/tmp/ffconf.XXXXXXXX/test.c:1:10: fatal error: 'CL/cl_intel.h' file not found
 #include <CL/cl_intel.h>
          ^~~~~~~~~~~~~~~

https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/ac993e73deca

PR:		227726
06 Feb 2018 22:39:12
Original commit files touched by this commit  1.3.2_2
Revision:461114
jbeich search for other commits by this committer
lang/beignet: always bypass LLVM tools autodetection

$ MESA_LLVM_VER=-devel make all DISABLE_MAKE_JOBS=
[...]
-- LLVM llvm-config found at: /usr/local/bin/llvm-config-devel
-- find unstable LLVM version 7.0.0svn
[...]
[1/269] cd
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl &&
mkdir -p
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//
&& LLVM_AS_EXECUTABLE-NOTFOUND -o
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//ocl_barrier.bc
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl/src/ocl_barrier.ll
FAILED: backend/src/libocl/usr/local/lib/beignet/ocl_barrier.bc
cd /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl
&& mkdir -p
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//
&& LLVM_AS_EXECUTABLE-NOTFOUND -o
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//ocl_barrier.bc
/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl/src/ocl_barrier.ll
/bin/sh: LLVM_AS_EXECUTABLE-NOTFOUND: not found
ninja: build stopped: subcommand failed.
*** Error code 1

MFH:		2018Q1
04 Feb 2018 03:52:30
Original commit files touched by this commit  1.3.2_2
Revision:460868
jbeich search for other commits by this committer
lang/beignet: unbreak with llvm60
27 Dec 2017 15:19:34
Original commit files touched by this commit  1.3.2_2
Revision:457372
jbeich search for other commits by this committer
lang/beignet: switch to llvm50 (like r457263)
27 Dec 2017 15:19:04
Original commit files touched by this commit  1.3.2_1
Revision:457371
jbeich search for other commits by this committer
lang/beignet: workaround broken llvm-config50 --system-libs

/usr/bin/ld: cannot find -l/usr/lib/libexecinfo.so

Inspired by:	devel/libclc fix from r457263
25 Dec 2017 01:38:39
Original commit files touched by this commit  1.3.2_1
Revision:457203
jbeich search for other commits by this committer
lang/beignet: fix order of flags for mkdir(1) and rm(1)

BSD versions of commands don't support specifiying flags after arguments.

Obtained from:	DPorts
Pointy hat to:	jbeich (lost in r451413)
30 Oct 2017 18:36:39
Original commit files touched by this commit  1.3.2
Revision:453205
jbeich search for other commits by this committer
lang/beignet: update to 1.3.2

Changes:	https://github.com/intel/beignet/compare/a97fcb17...5aba95a3
Changes:	https://01.org/beignet/downloads/beignet-1.3.2-2017-10-26
MFH:		2017Q[2-4] (r451413 followup)
06 Oct 2017 22:05:35
Original commit files touched by this commit  1.3.1.52
Revision:451414
jbeich search for other commits by this committer
lang/beignet: switch to LLVM 4.0 by default (like Mesa)

PR:		218644
Approved by:	maintainer timeout (2 months)
MFH:		2017Q4 2017Q3 (consistency, minor optimizations)
Differential Revision:	https://reviews.freebsd.org/D11377
06 Oct 2017 22:05:14
Original commit files touched by this commit  1.3.1.52
Revision:451413
jbeich search for other commits by this committer
lang/beignet: update to 1.3.1.52 (Release_v1.3 branch snapshot)

Changes:	https://github.com/intel/beignet/compare/be0ae74...afd050f6
PR:		217635 218644
Approved by:	maintainer timeout (2 months)
MFH:		2017Q2 (requires r437953), 2017Q3 (regression fix for r435144)
Differential Revision:	https://reviews.freebsd.org/D11377
06 Oct 2017 22:04:58
Original commit files touched by this commit  1.3.1_2
Revision:451412
jbeich search for other commits by this committer
lang/beignet: make OpenCL 2.0 optional on amd64

This is mainly to aid debugging OpenCL 2.0 issues and help testing
OpenCL 1.2 without relying on kernel translating 32bit DRM ioctls.

PR:		217771
Approved by:	maintainer timeout (2 months)
MFH:		2017Q2 (requires r437953), 2017Q3
Differential Revision:	https://reviews.freebsd.org/D11377
06 Oct 2017 22:04:43
Original commit files touched by this commit  1.3.1_1
Revision:451411
jbeich search for other commits by this committer
lang/beignet: fix order of flags for mkdir(1) and rm(1)

BSD versions of commands don't support specifiying flags after arguments.

Obtained from:	DPorts
MFH:		2017Q4 2017Q3 2017Q2
25 Jun 2017 21:07:58
Original commit files touched by this commit  1.3.1_1
Revision:444324
tcberner search for other commits by this committer
Make ninja opt-out in cmake.mk

Using ninja instead of make (1) can lead to significant speed ups while
building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
23 May 2017 05:03:16
Original commit files touched by this commit  1.3.1_1
Revision:441503
rezny search for other commits by this committer
Revision bump of all ports with USE_GL after consolidation of mesa-libs

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
07 Apr 2017 19:30:11
Original commit files touched by this commit  1.3.1
Revision:437953
rezny search for other commits by this committer
Update to 1.3.1
- Enable OpenCL 2.0 on AMD64
- Add options FP64 (experimental) and TEST [1]
- Follow MESA_LLVM_VER if set, currently only 39 works for this port

PR:		217771 [1]
Submitted by:	jbeich [1]
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10251
01 Mar 2017 12:14:21
Original commit files touched by this commit  1.3.0
Revision:435144
rezny search for other commits by this committer
Update to 1.3.0

Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9843
03 Jan 2017 11:01:06
Original commit files touched by this commit  1.2.0
Revision:430454  Sanity Test Failure
mat search for other commits by this committer
Cleanup BROKEN/IGNORE for 10.3-

Sponsored by:	Absolight
01 Jan 2017 03:45:13
Original commit files touched by this commit  1.2.0
Revision:430235
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
28 Oct 2016 08:58:58
Original commit files touched by this commit  1.2.0
Revision:424816
amdmi3 search for other commits by this committer
- Add missing egl dependency
- Verbosify makefile

Approved by:	portmgr blanket
21 Oct 2016 12:51:41
Original commit files touched by this commit  1.2.0
Revision:424411  Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
01 Sep 2016 18:53:53
Original commit files touched by this commit  1.2.0
Revision:421241
kwm search for other commits by this committer
Update beignet to 1.2.0.
13 Jun 2016 18:54:13
Original commit files touched by this commit  1.1.2
Revision:416855
grembo search for other commits by this committer
Fix build on CURRENT.

This is a bit defensive, static_cast<int> might've cut it as well.

Approved by:	mentors (implicit)
02 Jun 2016 18:17:00
Original commit files touched by this commit  1.1.2
Revision:416286
kwm search for other commits by this committer
Update beignet to 1.1.2.

1. Add Broxton support.
2. Add llvm3.7 support.
3. Fix event bugs.
4. Fix the annoying "Failed to release userptr..." error message.
5. Fix printf bugs.

Changelog: https://01.org/beignet/downloads/beignet-1.1.2-2016-04-19
19 May 2016 10:57:35
Original commit files touched by this commit  1.1.1_1
Revision:415501
amdmi3 search for other commits by this committer
- Fix trailing whitespace in Makefiles

Approved by:	portmgr blanket
02 Apr 2016 12:58:34
Original commit files touched by this commit  1.1.1_1
Revision:412405
kwm search for other commits by this committer
Add two patches from upstream to support llvm37. And switch to using llvm37
so beignet is now using the same llvm version as the Mesa ports.

Obtained from:	beignet upstream
01 Apr 2016 14:08:38
Original commit files touched by this commit  1.1.1
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
20 Oct 2015 14:47:46
Original commit files touched by this commit  1.1.1
Revision:399857
kwm search for other commits by this committer
Update beignet to 1.1.1.

* Dump asm to a file.
* Use addRemappedFile to avoid creating temporary cl source file.
* add collectInsnNum to collect block instruction number.
* Fix piglit clLinkProgram fail.
* Calculate appropriate timestamps for cl profile.

While here assign maintainership to x11@.

PR:		203669
Submitted by:	dieterich.joh@gmail.com
26 Sep 2015 14:59:35
Original commit files touched by this commit  1.1.0
Revision:397985
kwm search for other commits by this committer
Relax the BROKEN condition on 10.x.

libc++ on 10.1-R is too old for beignet to build, however beignet builds
fine on 10.2-R. Since 10.1-R is use for building packages, this doesn't
change the fact that there is no freebsd supplied package sadly.
17 Sep 2015 18:07:26
Original commit files touched by this commit  1.1.0
Revision:397198
kwm search for other commits by this committer
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,
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 33

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
libgit2Oct 15
giteaOct 11
jenkinsOct 11
jenkins-ltsOct 11
toxOct 11
tincOct 09
tinc-develOct 09
gitlab-ceOct 05
clamavOct 03
py-django21Oct 03
firefoxOct 02
firefox-esrOct 02
libxulOct 02
linux-firefoxOct 02
linux-seamonkeyOct 02

11 vulnerabilities affecting 107 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-10-15 12:29:44


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 35631
Broken 62
Deprecated 512
Ignore 343
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 34
Expired 4
Set to expire 485
Interactive 0
new 24 hours 6
new 48 hours8
new 7 days25
new fortnight129
new month223

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.