From 886a54a45afa7d5259e9a373114791a1b5ec4d78 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 23 Jun 2020 20:28:58 +0200 Subject: [PATCH] stockfish: increase stack size for musl. With the default musl stack, stockfish can only search 10 moves deep. Fixes #23156. --- srcpkgs/stockfish/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/stockfish/template b/srcpkgs/stockfish/template index 5d6ab52e68b..d8919d79766 100644 --- a/srcpkgs/stockfish/template +++ b/srcpkgs/stockfish/template @@ -1,7 +1,7 @@ # Template file for 'stockfish' pkgname=stockfish version=11 -revision=1 +revision=2 wrksrc="Stockfish-sf_${version}" build_wrksrc=src build_style=gnu-makefile @@ -14,7 +14,7 @@ homepage="http://stockfishchess.org/" distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz" checksum=802261cc601b67bed00c0ef7d21e2125959630f0852a06db9fc9bd74f440b199 -LDFLAGS+="-lpthread" +LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152" case $XBPS_TARGET_MACHINE in x86_64*) make_build_args+="ARCH=x86-64" ;;