stockfish: update to 16.1
This commit is contained in:
parent
73c84ad4b5
commit
26493c8375
|
@ -1,6 +1,6 @@
|
||||||
--- a/src/Makefile 2023-07-02 17:28:33.297238434 +0200
|
--- a/src/Makefile 2024-02-24 18:59:34.151734872 +0000
|
||||||
+++ b/src/Makefile 2023-07-02 17:28:50.820207636 +0200
|
+++ b/src/Makefile 2024-02-24 19:01:49.798743474 +0000
|
||||||
@@ -377,29 +377,7 @@
|
@@ -397,31 +397,7 @@ endif
|
||||||
|
|
||||||
ifeq ($(COMP),gcc)
|
ifeq ($(COMP),gcc)
|
||||||
comp=gcc
|
comp=gcc
|
||||||
|
@ -15,6 +15,8 @@
|
||||||
- ifeq ($(ARCH),riscv64)
|
- ifeq ($(ARCH),riscv64)
|
||||||
- CXXFLAGS += -latomic
|
- CXXFLAGS += -latomic
|
||||||
- endif
|
- endif
|
||||||
|
- else ifeq ($(ARCH),loongarch64)
|
||||||
|
- CXXFLAGS += -latomic
|
||||||
- else
|
- else
|
||||||
- CXXFLAGS += -m$(bits)
|
- CXXFLAGS += -m$(bits)
|
||||||
- LDFLAGS += -m$(bits)
|
- LDFLAGS += -m$(bits)
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'stockfish'
|
# Template file for 'stockfish'
|
||||||
pkgname=stockfish
|
pkgname=stockfish
|
||||||
version=16
|
version=16.1
|
||||||
revision=1
|
revision=1
|
||||||
_net_file=nn-5af11540bbfe.nnue
|
_net_file_big=nn-b1a57edbea57.nnue
|
||||||
|
_net_file_small=nn-baff1ede1f90.nnue
|
||||||
build_wrksrc=src
|
build_wrksrc=src
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_target=build
|
make_build_target=build
|
||||||
|
@ -13,10 +14,12 @@ maintainer="shtayerc <david.murko@mailbox.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://stockfishchess.org/"
|
homepage="http://stockfishchess.org/"
|
||||||
distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz
|
distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz
|
||||||
https://tests.stockfishchess.org/api/nn/${_net_file}"
|
https://tests.stockfishchess.org/api/nn/${_net_file_big}
|
||||||
checksum="a1600ebdaf4e324ba3e10cec2e0c9a810dc64c6f0db5cc955b2fd5e1eefa1cc6
|
https://tests.stockfishchess.org/api/nn/${_net_file_small}"
|
||||||
5af11540bbfefcb54e38c5dd000cab4b469dfa7599a1d55be5d2722c20a8929b"
|
checksum="a5f94793b5d4155310397ba89e9c4266570ef0f24cd47de41a9103556f811b82
|
||||||
skip_extraction="${_net_file}"
|
b1a57edbea574ca8b88d6837473845791beb53d885f87f86d5ccdd5659fbf3b2
|
||||||
|
baff1ede1f90c1dd1b4f772f1eff29848821801e8186345da7f0eb4121bd6f63"
|
||||||
|
skip_extraction="${_net_file_big} ${_net_file_small}"
|
||||||
|
|
||||||
LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"
|
LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"
|
||||||
|
|
||||||
|
@ -35,7 +38,8 @@ case $XBPS_TARGET_MACHINE in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
cp $XBPS_SRCDISTDIR/${pkgname}-${version}/${_net_file} ./src
|
cp $XBPS_SRCDISTDIR/${pkgname}-${version}/${_net_file_big} ./src
|
||||||
|
cp $XBPS_SRCDISTDIR/${pkgname}-${version}/${_net_file_small} ./src
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue