Index: head/games/leela-zero/Makefile =================================================================== --- head/games/leela-zero/Makefile (revision 504044) +++ head/games/leela-zero/Makefile (revision 504045) @@ -1,35 +1,36 @@ # $FreeBSD$ PORTNAME= leela-zero DISTVERSIONPREFIX= v DISTVERSION= 0.17 +PORTREVISION= 1 CATEGORIES= games MAINTAINER= yuri@FreeBSD.org COMMENT= Go engine without human-provided knowledge based on AlphaGo Zero paper LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cblas>0:math/cblas \ opencl>0:devel/opencl LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libopenblas.so:math/openblas \ libOpenCL.so:devel/ocl-icd USES= cmake compiler:c++14-lang eigen:3 localbase qt:5 USE_GITHUB= yes GH_TUPLE= google:googletest:cafa9e5:gtest/gtest USE_QT= core widgets buildtools_build qmake_build CMAKE_ON= USE_BLAS BUILD_TESTING CMAKE_ARGS= -DBLAS_INCLUDE_DIRS:STRING=${LOCALBASE}/include PLIST_FILES= bin/autogtp \ bin/leelaz \ bin/validation do-test: @cd ${WRKSRC} && ${MKDIR} .build && ${CP} ../.build/tests .build && cd .build && ./tests .include Index: head/games/leela-zero/files/patch-src_OpenCL.cpp =================================================================== --- head/games/leela-zero/files/patch-src_OpenCL.cpp (nonexistent) +++ head/games/leela-zero/files/patch-src_OpenCL.cpp (revision 504045) @@ -0,0 +1,11 @@ +--- src/OpenCL.cpp.orig 2019-06-12 22:15:19 UTC ++++ src/OpenCL.cpp +@@ -785,7 +785,7 @@ OpenCL::OpenCL(int gpu, bool silent) { + bool preferred = (gpu == id); + + if (((this_score > best_score) +- && (d.getInfo() != CL_DEVICE_TYPE_CPU)) ++ /*&& (d.getInfo() != CL_DEVICE_TYPE_CPU)*/) // Do not reject CPU-only OpenCL providers because some users only have that (ex. pocl) + || preferred) { + best_version = opencl_version; + best_platform = p; Property changes on: head/games/leela-zero/files/patch-src_OpenCL.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property