freebsd-ports/games/leela-zero/Makefile
Steve Wills fb44dca45d Fix math/openblas and bump dependent ports
* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]

This is correcting issues from r523749 [1][2][4] and r515970 [3]

PR:		231371
Reported by:	build cluster [1]
Reported by:	Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by:	many [5]
Reviewed by:	mat, bapt
Approved by:	implicit, since this is a build fix
2020-01-30 14:17:44 +00:00

35 lines
870 B
Makefile

# $FreeBSD$
PORTNAME= leela-zero
DISTVERSIONPREFIX= v
DISTVERSION= 0.17
PORTREVISION= 7
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= 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 <bsd.port.mk>