CorChess for Android

Moderators: Elijah, Igbo, timetraveller

Skynet
Points: 0,00 
Status: Offline (Active 3 Hours, 41 Minutes ago)
Topics: 

CorChess for Android

Post by Skynet »

Archimedes wrote: 19/08/2021, 11:05 Faster builds are always appreciated. wink
Corchess 190821-gcc
ARM8 https://pixeldrain.com/u/14Ebrm9q
kramnik

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

CorChess for Android

Post by kramnik »

These are two different armv8 compiles from the last CorChess 2, one under Linux and one under Windows:

https://pixeldrain.com/l/aDLXmrBi

Can someone tell me if they have some kind of difference? The Android compiling from Windows is still under experimentation, on my device it works. If everything is ok I'll put a tutorial on how to do it.
Evo
Forum Contributions
Points: 27 694,00 
Posts: 467
Joined: 24/07/2020, 11:37
Status: Offline (Active 7 Months, 2 Weeks, 2 Days, 14 Hours, 3 Minutes ago)
Topics: 7
Reputation: 872
Has thanked: 2339 times
Been thanked: 1007 times

CorChess for Android

Post by Evo »

kramnik wrote: 20/08/2021, 3:13 These are two different armv8 compiles from the last CorChess 2, one under Linux and one under Windows:

https://pixeldrain.com/l/aDLXmrBi

Can someone tell me if they have some kind of difference? The Android compiling from Windows is still under experimentation, on my device it works. If everything is ok I'll put a tutorial on how to do it.
Hello Mr. Goi, from what I saw, the link goes to PC engines platform and not the Android engines , yes it was Corchess but nor for Android,

R u sure ur in the right section of topic's ?
Greetings
leonhurricaneX
Forum Contributions
Points: 15 587,00 
Posts: 233
Joined: 19/01/2020, 17:51
Status: Offline (Active 2 Weeks, 1 Day, 14 Hours, 28 Minutes ago)
Topics: 14
Reputation: 229
Location: Edge of the World
Has thanked: 159 times
Been thanked: 188 times

CorChess for Android

Post by leonhurricaneX »

kramnik wrote: 20/08/2021, 3:13 These are two different armv8 compiles from the last CorChess 2, one under Linux and one under Windows:

https://pixeldrain.com/l/aDLXmrBi

Can someone tell me if they have some kind of difference? The Android compiling from Windows is still under experimentation, on my device it works. If everything is ok I'll put a tutorial on how to do it.
[xrf32 There is no difference between them same version of clang and equal speed.

Windows
► Show Spoiler
Linux
► Show Spoiler

Skynet's build are over 10% faster than both PC NDK Version.
Compiled using Termux+GCC-11
► Show Spoiler
kramnik

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

CorChess for Android

Post by kramnik »

Those are just pivot names, both the binaries are Android armv8 only.
Evo wrote: 20/08/2021, 3:27
kramnik wrote: 20/08/2021, 3:13 These are two different armv8 compiles from the last CorChess 2, one under Linux and one under Windows:

https://pixeldrain.com/l/aDLXmrBi

Can someone tell me if they have some kind of difference? The Android compiling from Windows is still under experimentation, on my device it works. If everything is ok I'll put a tutorial on how to do it.
Hello Mr. Goi, from what I saw, the link goes to PC engines platform and not the Android engines , yes it was Corchess but nor for Android,

R u sure ur in the right section of topic's ?
Greetings
Last edited by kramnik on 20/08/2021, 6:03, edited 1 time in total.
kramnik

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

CorChess for Android

Post by kramnik »

Thank you very much for the hint. So the Termux compilation is the most effective...
leonhurricaneX wrote: 20/08/2021, 4:37
kramnik wrote: 20/08/2021, 3:13 These are two different armv8 compiles from the last CorChess 2, one under Linux and one under Windows:

https://pixeldrain.com/l/aDLXmrBi

Can someone tell me if they have some kind of difference? The Android compiling from Windows is still under experimentation, on my device it works. If everything is ok I'll put a tutorial on how to do it.
[xrf32 There is no difference between them same version of clang and equal speed.

Windows
► Show Spoiler
Linux
► Show Spoiler

Skynet's build are over 10% faster than both PC NDK Version.
Compiled using Termux+GCC-11
► Show Spoiler
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 11 Hours, 4 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

CorChess for Android

Post by Archimedes »

kramnik wrote: 20/08/2021, 6:01 Thank you very much for the hint. So the Termux compilation is the most effective...
The only downside of doing this on termux (with -march=native flag) is, it only runs on the same type of cpu, which could be result in compatibility issues when distributing it for other devices. Most effective, when compiling on the same machine where the chess engine is used at the end.
kramnik

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

CorChess for Android

Post by kramnik »

So they succeeded to really have a native compiler for Android, not a sandbox. That's great!
The only problem with Termux is that GCC is deprecated there. No, there is another one: the official Termux repository seems to be down:

Image

One .ore thing: if the -march=native flag is avoided we'll have a binary working with other Android devices?
Archimedes wrote: 20/08/2021, 11:11
kramnik wrote: 20/08/2021, 6:01 Thank you very much for the hint. So the Termux compilation is the most effective...
The only downside of doing this on termux (with -march=native flag) is, it only runs on the same type of cpu, which could be result in compatibility issues when distributing it for other devices. Most effective, when compiling on the same machine where the chess engine is used at the end.
leonhurricaneX
Forum Contributions
Points: 15 587,00 
Posts: 233
Joined: 19/01/2020, 17:51
Status: Offline (Active 2 Weeks, 1 Day, 14 Hours, 28 Minutes ago)
Topics: 14
Reputation: 229
Location: Edge of the World
Has thanked: 159 times
Been thanked: 188 times

CorChess for Android

Post by leonhurricaneX »

► Show Spoiler
Playstore Version is outdated we are using Fdroid Version.

https://f-droid.org/repo/com.termux_117.apk
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 11 Hours, 4 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

CorChess for Android

Post by Archimedes »

kramnik wrote: 20/08/2021, 23:13 One .ore thing: if the -march=native flag is avoided we'll have a binary working with other Android devices?
I'm not the expert for the command line parameters for gcc, but something like -march=armv8-a came into my mind. Beside that, there also exists other parameters like -mtune and -mcpu, which can be combined. Studying the help file of gcc will help.
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 11 Hours, 4 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Re: CorChess for Android

Post by Archimedes »

Faster builds are always appreciated.

CorChess 210928:
https://app.box.com/s/5vul57eju0n751igy7x9owfxdabnmxo4
Skynet
Points: 0,00 
Status: Offline (Active 3 Hours, 41 Minutes ago)
Topics: 

Re: CorChess for Android

Post by Skynet »

Skynet
Points: 0,00 
Status: Offline (Active 3 Hours, 41 Minutes ago)
Topics: 

Re: CorChess for Android

Post by Skynet »

Chess.Basse wrote: 29/09/2021, 20:03 Today i analysis CTG book with This Awesome engine. My book beat 64 core. Thanks for the engines :okok:
Yeah, ok, tnx for the useless information, you can stop flooding now.. :reg:
Skynet
Points: 0,00 
Status: Offline (Active 3 Hours, 41 Minutes ago)
Topics: 

Re: CorChess for Android

Post by Skynet »

Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 11 Hours, 4 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Re: CorChess for Android

Post by Archimedes »

Faster build for arm64-v8a based CPUs may follow. wink

CorChess 211011:
https://app.box.com/s/nnjnwnxcbmx86vg5yp27xmg8xp4ai7cf
Post Reply

Return to “Mobile Chess Software, Engines”