Compiling Stockfish with gcc on Termux

kramnik

Top contribute Forum
Forum Contributions
Points: 40 305,00 
Posts: 1924
Joined: 04/11/2019, 14:45
Status: Offline (Active 3 Months, 5 Days, 16 Hours, 42 Minutes ago)
Medals: 1
Topics: 71
Reputation: 2388
Location: North-Italy
Has thanked: 1185 times
Been thanked: 2951 times

Re: Compiling Stockfish with gcc on Termux

Post by kramnik »

Finally compared the binaries:

Benchs of gcc version under Termux on Samsung Galaxy S20 Ultra 5G:

Total time (ms) : 11329
Nodes searched : 7050445
Nodes/second : 622336

Total time (ms) : 11269
Nodes searched : 7050445
Nodes/second : 625649

Benchs of ndk clang version under linux virtual machine:

Total time (ms) : 11582
Nodes searched : 7050445
Nodes/second : 608741

Total time (ms) : 11754
Nodes searched : 7050445
Nodes/second : 599833


I don't think the Termux way worths the effort, especially in view of a possible package removing as it happened for the "pointless" github one, while the method shown here https://chess.massimilianogoi.com/articles/30-09-20-How-To-Compile-Stockfish-And-Stockfish-like-Programs-For-Android/ is likely universal and easier to do, in general.

But I have to do that it's cool as f... to compile Stockfish laid down on the couch by just tapping on my phone. smile16 Damn, these objects are really addictive, especially for me being struck by discal hernias.

Return to “Programming, Technical Discussions, Chess related questions etc.”