Skip to content
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

Remarks on Linux compilation #1

Open
tissatussa opened this issue Nov 9, 2024 · 1 comment
Open

Remarks on Linux compilation #1

tissatussa opened this issue Nov 9, 2024 · 1 comment

Comments

@tissatussa
Copy link

I compiled on Linux with :

g++-13 -std=c++20 -Ofast -flto -mbmi2 -mavx2 bits.cpp board.cpp evaluation.cpp hashKey.cpp main.cpp moveGenerator.cpp perft.cpp search.cpp state.cpp staticExchangeEvaluation.cpp table.cpp updateState.cpp -o ChandraChess-compiled-HP -Bstatic

and i get a valid binary of 96.3 Kb which runs fine in CuteChess GUI. Note that i used g++-13 because this version can do -std=c++20. I also added the compiler options for avx and bmi, i don't know if they're helpful to create a faster binary, but i learned these options will not disturb the compilation.

I created a folder for the engine, also containing nnue.txt and time_management_table.txt, because i think they're needed by the engine, am i right? If so, you could mention that in the README.

@AdityaChandra316
Copy link

https://github.com/AdityaChandra316/ChandraChess/ is where the new repo is
I moved it since I don't have access to the account of this repo btw...
And yes, you are right, the text files are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants