-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make ARCH for ARM64 (Added support for ARM CPUs (armv8, armv8-dotprod, armv7) to be detected by Fishtest worker and passed as "ARCH" parameter for Stockfish "make") #1577
base: master
Are you sure you want to change the base?
Conversation
Ampere Altra Command
Ampere Altra Output
Graviton3 Command
Graviton3 Output
|
624bda2
to
dc0f4c9
Compare
To pass the CI please update the
|
Confirming this works for me on Altra Ampere. cutechess-cli also compiles fine on this architecture and indeed linking the binary into worker/testing/ is sufficient. |
@ppigazzini - how can I resolve the conflict in worker/sri.txt? Can you please resolve it yourself? |
…a+crypto+fp16+rcpc+dotprod and Amazon Graviton 3 that has GCC -march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+ssbs+i8mm+bf16+nodotprod
3620dfb
to
990a3c1
Compare
990a3c1
to
35dca1b
Compare
I rebased on master, solved the conflicts on git fetch -p origin
git switch arm-ampere-altra
git reset --hard origin/arm-ampere-altra |
Thank you very much! |
In the past, FishTest did only support Mac ARM64 processors. Otherwise, it could not detect proper
ARCH
formake
to build Stockfish. Now it should properly detect most ARM64 processors, including arm7 and arm8. I have tested on ARM64 Ampere Altra CPU and it detects it properly, see for example, the task "nonsingular8e2/998"(https://tests.stockfishchess.org/tests/view/6410778065775d3b539d76f5?show_task=998):The only requirement that is left for the Fishtest to run on ARM64 Ampere Altra CPU is to have
cutechess-cli
already installed and have a symlink created (or manually copied rather than creating a symlink), otherwise it would be unable to download proper binary ofcutechess-cli
.I have also checked on the Graviton 3 CPU that has GCC -march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+ssbs+i8mm+bf16+nodotprod
(it has arm8.4a but 'nodotprod') - see https://tests.stockfishchess.org/tests/view/64171ce265775d3b539eca66?show_task=219