aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-01-22 16:58:45 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-01-22 16:58:45 +0000
commitc1be4aaa6510b7ee0bb36b4d42105fb87ae9ee60 (patch)
treec8b1c57db7f99f980c824d56d35157c5c0bcfa89
parent8e0f512a1ae5ec67f66c0176a0c6b81684a26218 (diff)
downloadports-c1be4aaa6510b7ee0bb36b4d42105fb87ae9ee60.tar.gz
ports-c1be4aaa6510b7ee0bb36b4d42105fb87ae9ee60.zip
games/leela-zero: disable BLAS multi-threading after r523749
Previously, openblas_set_num_threads wasn't available but libopenblas.so was single-threaded. PR: 231371
Notes
Notes: svn path=/head/; revision=523820
-rw-r--r--games/leela-zero/Makefile2
-rw-r--r--games/leela-zero/files/patch-src_Network.cpp11
2 files changed, 1 insertions, 12 deletions
diff --git a/games/leela-zero/Makefile b/games/leela-zero/Makefile
index 8d5c0e069e5f..3739dfe93de8 100644
--- a/games/leela-zero/Makefile
+++ b/games/leela-zero/Makefile
@@ -3,7 +3,7 @@
PORTNAME= leela-zero
DISTVERSIONPREFIX= v
DISTVERSION= 0.17
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= games
MAINTAINER= yuri@FreeBSD.org
diff --git a/games/leela-zero/files/patch-src_Network.cpp b/games/leela-zero/files/patch-src_Network.cpp
deleted file mode 100644
index 5c631b3296bf..000000000000
--- a/games/leela-zero/files/patch-src_Network.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Network.cpp.orig 2019-06-09 23:58:33 UTC
-+++ src/Network.cpp
-@@ -475,7 +475,7 @@ void Network::select_precision(int channels) {
-
- void Network::initialize(int playouts, const std::string & weightsfile) {
- #ifdef USE_BLAS
--#ifndef __APPLE__
-+#if !defined(__APPLE__) && !defined(__FreeBSD__)
- #ifdef USE_OPENBLAS
- openblas_set_num_threads(1);
- myprintf("BLAS Core: %s\n", openblas_get_corename());