aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-04-15 08:34:17 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2021-04-17 17:03:52 +0000
commit29223e550182f2f9630fa751c72f2414902d90ea (patch)
tree88eb60cae543c9a758d4b1e9c9ed80a9d85172a0 /games
parentd7be6a19f37195d206a4b95f0112a654cf397d59 (diff)
downloadports-29223e550182f2f9630fa751c72f2414902d90ea.tar.gz
ports-29223e550182f2f9630fa751c72f2414902d90ea.zip
Diffstat (limited to 'games')
-rw-r--r--games/stockfish/Makefile6
-rw-r--r--games/stockfish/distinfo10
-rw-r--r--games/stockfish/files/patch-Makefile21
3 files changed, 8 insertions, 29 deletions
diff --git a/games/stockfish/Makefile b/games/stockfish/Makefile
index 63b863de5cac..80eb8b7c44a0 100644
--- a/games/stockfish/Makefile
+++ b/games/stockfish/Makefile
@@ -2,7 +2,7 @@
PORTNAME= stockfish
DISTVERSIONPREFIX= sf_
-DISTVERSION= 12
+DISTVERSION= 13
CATEGORIES= games
MASTER_SITES= https://tests.stockfishchess.org/api/nn/:nnue
DISTFILES= nn-${_NNUE_VER}.nnue:nnue
@@ -29,7 +29,7 @@ USE_PERL5= build
LDFLAGS+= -fuse-ld=lld
-_NNUE_VER= 82215d0fd0df
+_NNUE_VER= 62ef826d1a6d
WRKSRC_SUBDIR= src
MYARCH= ${ARCH}
@@ -42,7 +42,7 @@ PORTDOCS= README.md
#POPCNT AVX2 BMI2
OPTIONS_DEFINE= DOCS
OPTIONS_RADIO= MACHDEP
-OPTIONS_RADIO_MACHDEP= POPCNT AVX2 BMI2
+OPTIONS_RADIO_MACHDEP= AVX2 BMI2 POPCNT
AVX2_DESC= Use the AVX2 instruction set
BMI2_DESC= Use the BMI2 instruction set
diff --git a/games/stockfish/distinfo b/games/stockfish/distinfo
index 3db191a56447..1d1735ac861e 100644
--- a/games/stockfish/distinfo
+++ b/games/stockfish/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1605746232
-SHA256 (nn-82215d0fd0df.nnue) = 82215d0fd0df3cde17fc47ac024c5b5736823ec390200abdd705c44660c69ee4
-SIZE (nn-82215d0fd0df.nnue) = 21022697
-SHA256 (official-stockfish-Stockfish-sf_12_GH0.tar.gz) = d1ec11d1cb8dfc5b33bcd6ec89ed0bafb3951cc1690851448a2696caa2022899
-SIZE (official-stockfish-Stockfish-sf_12_GH0.tar.gz) = 176430
+TIMESTAMP = 1618188927
+SHA256 (nn-62ef826d1a6d.nnue) = 62ef826d1a6d11b9e814188025aa02a60815c037292e0ef9bbb9bf4f724e5e63
+SIZE (nn-62ef826d1a6d.nnue) = 21022697
+SHA256 (official-stockfish-Stockfish-sf_13_GH0.tar.gz) = 15d14721b3be17c597535bdbb44fb951a1ee948312d90fbf55fa0e52b8b81d62
+SIZE (official-stockfish-Stockfish-sf_13_GH0.tar.gz) = 181226
diff --git a/games/stockfish/files/patch-Makefile b/games/stockfish/files/patch-Makefile
deleted file mode 100644
index 6f772ec1fba8..000000000000
--- a/games/stockfish/files/patch-Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
---- Makefile.orig 2018-11-29 14:45:26 UTC
-+++ Makefile
-@@ -29,7 +29,7 @@ EXE = stockfish
- endif
-
- ### Installation dir definitions
--PREFIX = /usr/local
-+PREFIX ?= /usr/local
- BINDIR = $(PREFIX)/bin
-
- ### Built-in benchmark for pgo-builds
-@@ -211,7 +211,9 @@ ifeq ($(COMP),clang)
-
- ifneq ($(KERNEL),Darwin)
- ifneq ($(KERNEL),OpenBSD)
-+ ifneq ($(KERNEL),FreeBSD)
- LDFLAGS += -latomic
-+ endif
- endif
- endif
-