Package Details: stockfish 1:16.1-1

Git Clone URL: (read-only, click to copy)
Package Base: stockfish
Description: A strong UCI chess engine
Upstream URL:
Keywords: chess uci
Licenses: GPL3
Submitter: None
Maintainer: niklasf
Last Packager: niklasf
Votes: 157
Popularity: 0.29
First Submitted: 2009-12-18 06:41 (UTC)
Last Updated: 2024-02-26 18:54 (UTC)

Dependencies (1)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

xiota commented on 2024-04-01 15:55 (UTC)

CPU detection is unnecessary when FLAGS are set correctly in makepkg.conf (user responsibility).

From benchmarks I ran a while back, the performance benefit wasn't very big, about the same as using clang instead of gcc.

niklasf commented on 2024-02-26 18:43 (UTC)

@xiota: Sorry, I understand that doing build-time CPU feature detection is essentially broken, but the regression on modern hardware would be so huge that I don't just want to remove it without replacement. Maybe we could build for all applicable targets and have a small wrapper script doing feature detection at runtime?

xiota commented on 2023-12-31 20:55 (UTC) (edited on 2023-12-31 21:14 (UTC) by xiota)

Please remove CPU detection code. It produces binaries that crash when used on a different computer. I understand that the upstream Makefile also tries to detect CPU.

Here is a PKGBUILD that bypasses CPU detection and respects CXXFLAGS set in makepkg.conf

niklasf commented on 2022-09-07 20:27 (UTC)

@buzo: Thanks. Removed those.

@SandaruKasa: There is now an official solution ( So I backported this, replacing the workaround.

buzo commented on 2022-08-29 18:20 (UTC) (edited on 2022-08-29 18:21 (UTC) by buzo)

niklasf, thanks for maintaining this!

By the way, you don't need to specify curl or sed in makedepends: sed is part of base-devel, see here. And curl is a dependency of pacman, which is in base.

niklasf commented on 2022-08-26 17:16 (UTC)

@SandaruKasa Thanks! Applied. Will undo when upstream fixes the availability issue or adds mirrors to their build.

SandaruKasa commented on 2022-08-26 15:53 (UTC)

Hey! There's been a problem lately with (which is used for retrieving NNUE files) being down or returning 500:

Here's a patch with a (temporary?) workaround for the issue:

niklasf commented on 2022-05-23 21:08 (UTC)

Hi, I'd like to suggest the following optimizations/fixes: (

Peter2469 commented on 2021-08-24 14:57 (UTC)

@apetresc Thank you for correcting me; So if the package version changes would the PKGBUILD also be changed unless stated otherwise?

apetresc commented on 2021-08-24 13:39 (UTC)

@Peter2469 Not exactly; if Stockfish 15 comes out then the package version changes, and pkgrel goes back down to 1. pkgrel is meant to increment for non-upstream changes within a release (for things like fixing PKGBUILDs).