aboutsummaryrefslogtreecommitdiff
path: root/lang/beignet
Commit message (Collapse)AuthorAgeFilesLines
* Switch all ports to use USES=xorg-catNiclas Zeising2019-11-031-1/+1
| | | | | | | | Change all ports to use USES=xorg-cat instead of the old XORG_CAT Add USES=xorg and USES=gl as needed to x11@ ports Notes: svn path=/head/; revision=516607
* Switch default devel/llvm* to 90Jan Beich2019-09-201-1/+1
| | | | | | | | | PR: 239682 Reviewed by: tobik Differential Revision: https://reviews.freebsd.org/D21172 Notes: svn path=/head/; revision=512440
* lang/beignet: unbreak with llvm90Jan Beich2019-09-201-0/+194
| | | | | | | | | | | | | | | backend/src/llvm/llvm_sampler_fix.cpp:85:18: error: no viable conversion from 'llvm::FunctionCallee' to 'llvm::Value *' Value* samplerCvt = M->getOrInsertFunction("__gen_ocl_sampler_to_int", i32Ty, I->getOperand(0)->getType()); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend/src/llvm/llvm_sampler_fix.cpp:127:18: error: no viable conversion from 'llvm::FunctionCallee' to 'llvm::Value *' Value* samplerCvt = M->getOrInsertFunction("__gen_ocl_sampler_to_int", i32Ty, I->getOperand(0)->getType()); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PR: 239175 Approved by: portmgr blanket Notes: svn path=/head/; revision=512439
* Switch mesa and related ports to llvm80Niclas Zeising2019-06-302-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-9/+10
| | | | | | | | | 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-10/+9
| | | | | | | | PR: 230789 Approved by: maintainer timeout (2 weeks) Notes: svn path=/head/; revision=494579
* Change x11/xorgproto to become a build depNiclas Zeising2018-09-111-1/+1
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=479538
* lang/beignet: unbreak with llvm70Jan Beich2018-08-202-11/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap); ^ /usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:60:1: note: candidate function not viable: requires 3 arguments, but 1 was provided CloneModule(const Module &M, ValueToValueMapTy &VMap, ^ backend/src/llvm/ExpandLargeIntegers.cpp:230:5: error: use of undeclared identifier 'DEBUG' DEBUG(dbgs() << "\tRecording as forward PHI\n"); ^ backend/src/llvm/ExpandLargeIntegers.cpp:237:5: error: use of undeclared identifier 'DEBUG' DEBUG(dbgs() << "\tTo: " << *To.Lo << "\n"); ^ backend/src/llvm/ExpandLargeIntegers.cpp:238:5: error: use of undeclared identifier 'DEBUG' DEBUG(dbgs() << "\tAnd: " << *To.Hi << "\n"); ^ backend/src/llvm/ExpandLargeIntegers.cpp:247:5: error: use of undeclared identifier 'DEBUG' DEBUG(dbgs() << "\tTo: " << *To << "\n"); ^ backend/src/llvm/ExpandLargeIntegers.cpp:256:11: error: expected expression DEBUG(if (!ForwardPHIs.empty()) dbgs() << "Patching forward PHIs:\n"); ^ backend/src/llvm/ExpandLargeIntegers.cpp:261:7: error: use of undeclared identifier 'DEBUG' DEBUG(dbgs() << "\t" << *F.Lo << "\n\t" << *F.Hi << "\n"); ^ backend/src/llvm/ExpandLargeIntegers.cpp:389:3: error: use of undeclared identifier 'DEBUG' DEBUG(dbgs() << "Expanding Large Integer: " << *Inst << "\n"); ^ backend/src/llvm/llvm_to_gen.cpp:142:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'? MPM.add(createInstructionCombiningPass());// Clean up after IPCP & DAE ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend/src/llvm/llvm_to_gen.cpp:164:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'? MPM.add(createInstructionCombiningPass()); // Combine silly seq's ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend/src/llvm/llvm_to_gen.cpp:172:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'? MPM.add(createInstructionCombiningPass()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend/src/llvm/llvm_to_gen.cpp:209:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'? MPM.add(createInstructionCombiningPass()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend/src/llvm/llvm_to_gen.cpp:215:13: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'? MPM.add(createInstructionCombiningPass()); // Clean up after everything. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend/src/llvm/llvm_to_gen.cpp:366:16: error: use of undeclared identifier 'createPromoteMemoryToRegisterPass' passes.add(createPromoteMemoryToRegisterPass()); ^ backend/src/llvm/llvm_to_gen.cpp:373:16: error: use of undeclared identifier 'createInstructionCombiningPass'; did you mean 'createFunctionInliningPass'? passes.add(createInstructionCombiningPass()); // legalize will generate some silly instructions ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backend/src/llvm/llvm_to_gen.cpp:380:16: error: use of undeclared identifier 'createLowerSwitchPass'; did you mean 'createLoopUnswitchPass'? passes.add(createLowerSwitchPass()); // simplify cfg will generate switch-case instruction ^~~~~~~~~~~~~~~~~~~~~ backend/src/backend/gen_program.cpp:452:32: error: reference to type 'const llvm::Module' could not bind to an rvalue of type 'llvm::Module *' llvm::WriteBitcodeToFile((llvm::Module*)prog->module, OS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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/backend/gen_program.cpp:543:29: error: no matching function for call to 'CloneModule' llvm::Module* clone = llvm::CloneModule(src).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 std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap); ^ /usr/local/llvm70/include/llvm/Transforms/Utils/Cloning.h:60:1: note: candidate function not viable: requires 3 arguments, but 1 was provided CloneModule(const Module &M, ValueToValueMapTy &VMap, ^ backend/src/backend/gen_program.cpp:452:32: error: reference to type 'const llvm::Module' could not bind to an rvalue of type 'llvm::Module *' llvm::WriteBitcodeToFile((llvm::Module*)prog->module, OS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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, ^ Obtained from: upstream (via Debian) Approved by: portmgr blanket Notes: svn path=/head/; revision=477690
* - Remove obsolete OSVERSION conditionDmitry Marakasov2018-05-071-7/+0
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=469291
* lang/beignet: cannot build with llvm50 on 10.3Jan Beich2018-04-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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=...) at /usr/include/c++/v1/string:3827 #2 std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::value_comp ( this=0x7fffffff9af8, this=0x7fffffff9af8, __x=..., __y=...) at /usr/include/c++/v1/__functional_base:63 #3 std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__find_equal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (this=0x7fffffff9ae8, __parent=@0x7fffffff94b8: 0x80063e400, __v=...) at /usr/include/c++/v1/__tree:1613 #4 0x0000000800f6c3c2 in std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > ---Type <return> to continue, or q <return> to quit--- >::__insert_unique (this=0x7fffffff9ae8, __v=...) at /usr/include/c++/v1/__tree:1867 #5 0x000000080147e8eb in clang::ASTReader::ReadASTBlock(clang::serialization::ModuleFile&, unsigned int) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #6 0x0000000801484484 in clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, llvm::SmallVectorImpl<clang::ASTReader::ImportedSubmodule>*) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #7 0x000000080138be1b in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, llvm::StringRef, bool, bool, clang::Preprocessor&, clang::ASTContext&, clang::PCHContainerReader const&, llvm::ArrayRef<std::__1::shared_ptr<clang::ModuleFileExtension> >, clang::DependencyFileGenerator*, llvm::ArrayRef<std::__1::shared_ptr<clang::DependencyCollector> >, void*, bool, bool, bool) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #8 0x000000080138bb7c in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, bool, bool, void*, bool) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #9 0x00000008013d0d47 in clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #10 0x000000080138eec5 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) () ---Type <return> to continue, or q <return> to quit--- from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #11 0x0000000800f19565 in gbe::buildModuleFromSource ( source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' <repeats 38 times>, "global float* dst, unsigned int dst_offset,\n\t\t\t\t unsigned int size)\n{\n "..., out_module=0x7fffffffd360, llvm_ctx=0x809419468, dumpLLVMFileName=..., dumpSPIRBinaryName=..., options=..., stringSize=0, err=0x0, errSize=0x0, oclVersion=120) at backend/src/backend/program.cpp:735 #12 0x0000000800f0688c in gbe::programCompileFromSource (deviceID=0, source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' <repeats 38 times>, "global float* dst, unsigned int dst_offset,\n\t\t\t\t unsigned int size)\n{\n "..., temp_header_path=0x0, stringSize=0, options=0x809417259 "", err=0x0, errSize=0x0) at backend/src/backend/program.cpp:1163 #13 0x00000000004073f8 in program_build_instance::build_program (this=0x809417240) at backend/src/gbe_bin_generater.cpp:280 #14 0x000000000040990f in main (argc=4, argv=0x7fffffffe740) at backend/src/gbe_bin_generater.cpp:429 Notes: svn path=/head/; revision=468502
* graphics/mesa-dri: switch to llvm60Jan Beich2018-04-271-2/+2
| | | | | | | PR: 227682 Notes: svn path=/head/; revision=468501
* lang/beignet: install CL/cl_inet.hJan Beich2018-04-242-3/+11
| | | | | | | | | | | | | /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 Notes: svn path=/head/; revision=468161
* lang/beignet: always bypass LLVM tools autodetectionJan Beich2018-02-062-29/+4
| | | | | | | | | | | | | | | | | | | $ 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 Notes: svn path=/head/; revision=461114
* lang/beignet: unbreak with llvm60Jan Beich2018-02-041-0/+37
| | | | Notes: svn path=/head/; revision=460868
* lang/beignet: switch to llvm50 (like r457263)Jan Beich2017-12-271-2/+2
| | | | Notes: svn path=/head/; revision=457372
* lang/beignet: workaround broken llvm-config50 --system-libsJan Beich2017-12-271-0/+10
| | | | | | | | | /usr/bin/ld: cannot find -l/usr/lib/libexecinfo.so Inspired by: devel/libclc fix from r457263 Notes: svn path=/head/; revision=457371
* lang/beignet: fix order of flags for mkdir(1) and rm(1)Jan Beich2017-12-253-1/+33
| | | | | | | | | | BSD versions of commands don't support specifiying flags after arguments. Obtained from: DPorts Pointy hat to: jbeich (lost in r451413) Notes: svn path=/head/; revision=457203
* lang/beignet: update to 1.3.2Jan Beich2017-10-302-8/+7
| | | | | | | | | 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) Notes: svn path=/head/; revision=453205
* lang/beignet: switch to LLVM 4.0 by default (like Mesa)Jan Beich2017-10-061-1/+1
| | | | | | | | | | PR: 218644 Approved by: maintainer timeout (2 months) MFH: 2017Q4 2017Q3 (consistency, minor optimizations) Differential Revision: https://reviews.freebsd.org/D11377 Notes: svn path=/head/; revision=451414
* lang/beignet: update to 1.3.1.52 (Release_v1.3 branch snapshot)Jan Beich2017-10-064-41/+10
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=451413
* lang/beignet: make OpenCL 2.0 optional on amd64Jan Beich2017-10-061-5/+10
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=451412
* lang/beignet: fix order of flags for mkdir(1) and rm(1)Jan Beich2017-10-062-1/+32
| | | | | | | | | | BSD versions of commands don't support specifiying flags after arguments. Obtained from: DPorts MFH: 2017Q4 2017Q3 2017Q2 Notes: svn path=/head/; revision=451411
* Make ninja opt-out in cmake.mkTobias C. Berner2017-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=444324
* Revision bump of all ports with USE_GL after consolidation of mesa-libsMatthew Rezny2017-05-231-0/+1
| | | | | | | | Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10845 Notes: svn path=/head/; revision=441503
* Update to 1.3.1Matthew Rezny2017-04-074-16/+48
| | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=437953
* Update to 1.3.0Matthew Rezny2017-03-0120-70/+76
| | | | | | | | Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9843 Notes: svn path=/head/; revision=435144
* Cleanup BROKEN/IGNORE for 10.3-Mathieu Arnold2017-01-031-6/+0
| | | | | | | Sponsored by: Absolight Notes: svn path=/head/; revision=430454
* Remove BROKEN_FreeBSD_9Sunpoet Po-Chuan Hsieh2017-01-011-2/+0
| | | | | | | Approved by: portmgr (blanket) Notes: svn path=/head/; revision=430235
* - Add missing egl dependencyDmitry Marakasov2016-10-282-5/+13
| | | | | | | | | - Verbosify makefile Approved by: portmgr blanket Notes: svn path=/head/; revision=424816
* ${RM} already has -f.Mathieu Arnold2016-10-211-1/+1
| | | | | | | | | | PR: 213570 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Notes: svn path=/head/; revision=424411
* Update beignet to 1.2.0.Koop Mast2016-09-018-73/+21
| | | | Notes: svn path=/head/; revision=421241
* Fix build on CURRENT.Michael Gmelin2016-06-131-3/+13
| | | | | | | | | This is a bit defensive, static_cast<int> might've cut it as well. Approved by: mentors (implicit) Notes: svn path=/head/; revision=416855
* Update beignet to 1.1.2.Koop Mast2016-06-025-2205/+14
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=416286
* - Fix trailing whitespace in MakefilesDmitry Marakasov2016-05-191-1/+1
| | | | | | | Approved by: portmgr blanket Notes: svn path=/head/; revision=415501
* Add two patches from upstream to support llvm37. And switch to using llvm37Koop Mast2016-04-024-3/+2204
| | | | | | | | | so beignet is now using the same llvm version as the Mesa ports. Obtained from: beignet upstream Notes: svn path=/head/; revision=412405
* 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
* Update beignet to 1.1.1.Koop Mast2015-10-203-7/+18
| | | | | | | | | | | | | | | | * 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 Notes: svn path=/head/; revision=399857
* Relax the BROKEN condition on 10.x.Koop Mast2015-09-261-1/+4
| | | | | | | | | 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. Notes: svn path=/head/; revision=397985
* Update Mesa port to 10.6.6 and add Clover.Koop Mast2015-09-1721-0/+483
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