Package Details: stockfish-git r5850.g3f7fb5ac1-1

Git Clone URL: https://aur.archlinux.org/stockfish-git.git (read-only, click to copy)
Package Base: stockfish-git
Description: A free UCI chess engine derived from Glaurung 2.1 (git version)
Upstream URL: http://stockfishchess.org/
Licenses: GPL3
Conflicts: stockfish
Provides: stockfish
Submitter: ghotrix
Maintainer: ghotrix
Last Packager: ghotrix
Votes: 4
Popularity: 0.000014
First Submitted: 2020-01-13 17:16 (UTC)
Last Updated: 2023-09-21 07:57 (UTC)

Dependencies (2)

Required by (5)

Sources (1)

Latest Comments

xiota commented on 2024-01-01 00:43 (UTC) (edited on 2024-01-02 09:39 (UTC) by xiota)

Needed changes:

  • 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 written for aur/stockfish that demonstrates how to bypass CPU detection and respect CXXFLAGS set in makepkg.conf

  • Update pkgver() to generate strings in #.r#.g# format. Don't forget to remove the tag prefix sf_. The following generates: 16.r203.g0fca5605

    git describe --long --tags --abbrev=8 --match="sf_[0-9]*" \
      | sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'

ghotrix commented on 2023-07-11 11:00 (UTC)

Will add. Thanks.

niklasf commented on 2023-07-01 07:51 (UTC)

Hi. Over at https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=stockfish we expanded the CPU feature detection to all available targets. Would be nice to support those also here.