http://www.stockfishchess.com/ http://www.stockfishchess.com/about/ It's almost as good as the best chess engine (commercial). It's GPLv3 and has definitely its place next to crafty and other engines already in gentoo. Reproducible: Always
Created attachment 249989 [details] Ebuild for stockfish-1.9.1 I'll probably get this into the main tree at some point in the near future.
Created attachment 249991 [details, diff] Patch to fix makefile issues This patch fixes a few makefile issues such as respecting CXXFLAGS, LDFLAGS, and not stripping the binaries.
Hi. It emerges here and install the binary which seems to work. stockfish --help does not tell me how to use the opening book, even though the Readme.txt file tells The book file can be selected by setting the UCI parameter "Book File". Which i dont understand :/ But those is 'usage' problem, thanks a lot for the ebuild. Why did you remove the 'config-sanity' step in the Makefile ?
(In reply to comment #3) > stockfish --help does not tell me how to use the opening book, even though the > Readme.txt file tells > The book file can be selected by setting the > UCI parameter "Book File". > Which i dont understand :/ Yeah, I suppose I could add a USE flag to install the opening book available on stockfish's website in the correct place. Anyway, stockfish is just a UCI chess engine so you'll need to use some UCI compatible GUI such as xboard with polyglot, eboard, or any of the others mentioned in the readme file in order to use it. > Why did you remove the 'config-sanity' step in the Makefile ? Because it isn't very sane and causes the compile to fail. :) Basically it checks if certain variables are set relating to the build architecture, OS, optimizations, etc and fails since none are set in the ebuild since the patch just makes the compile run with the user's CXXFLAGS and LDFLAGS. I could probably handle this better, but I chose the quick fix to respect a user's CXXFLAGS and LDFLAGS for now.
Created attachment 279903 [details] updated stockfish 2.11 ebuild I updated the previously attached stockfish ebuild, and tested it on my Yeeloong netbook (with Loongson MIPS64el CPU). Because I built/tested it on a weird CPU you'll note my ARCH=general-32 addition, which probably isn't required for regular builds.
hi. It compiles/installs and runs fine. Still, i find the ARCH=general-32 really weird. It works well too if use instead ARCH=general-64. (i'm on ~amd64)
Current version is: SRC_URI="https://s3.amazonaws.com/stockfish/stockfish-dd-src.zip" S="${WORKDIR}/stockfish-dd-src/src" I have no idea what version number one would guess for that. The src_compile phase ends up especially horrible: emake build ARCH=x86-64-modern and other platform-specific values. I see no way to get that into a useful shape ...
afais we need polyglot to run this with xboard/eboard, am I wrong? http://wbec-ridderkerk.nl/html/details1/PolyGlot.html
Created attachment 374992 [details] stockfish-20131129.ebuild
Created attachment 374994 [details, diff] stockfish-20131129-make.patch
in my own overlay until upstream uses proper versioning
Latest version on github: https://github.com/syzygy1/Stockfish
(In reply to Evgeniy from comment #12) > Latest version on github: https://github.com/syzygy1/Stockfish that's a fork
(In reply to Julian Ospald (hasufell) from comment #13) > (In reply to Evgeniy from comment #12) > > Latest version on github: https://github.com/syzygy1/Stockfish > > that's a fork Official one, with added functionality (Syzygy tablebases support).
There is a new version, now with a properly versioned file: https://stockfish.s3.amazonaws.com/stockfish-6-src.zip We should probably drop games.eclass usage, and implement CPU_FLAGS_X86 as being discussed on gentoo-dev mailing list. Also, shouldn't this be in games-engines category? It's a chess engine, and needs a separate GUI package.
+ 05 Feb 2015; Ben de Groot <yngwin@gentoo.org> +metadata.xml, + +stockfish-6.ebuild: + Initial commit (bug #318337)
(In reply to Ben de Groot from comment #16) > + 05 Feb 2015; Ben de Groot <yngwin@gentoo.org> +metadata.xml, > + +stockfish-6.ebuild: > + Initial commit (bug #318337) What about -9999 version? stockfish is constantly developed and improved, new vereion is out each few days(see github link I've posted earlier)
(In reply to Evgeniy from comment #17) > What about -9999 version? stockfish is constantly developed and improved, > new vereion is out each few days(see github link I've posted earlier) Good idea! I've put a live ebuild in the betagarden overlay.