-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fixes FreeBSD compilation when using clang #3342
Conversation
Hi @Cubox Thanks for the pull request and the fix! Could you provide us with the error message that the default Makefile emits on FreeBSD, Thanks :-) |
Hi, Here is the error if you are using the current version of Stockfish:
With the fix:
We are trying to get FreeBSD builds for fishnet build compilation (niklasf#4). You can see the build worked here https://github.com/niklasf/Stockfish/actions/runs/554567039 If you wish to reproduce the issue and confirm the fix is indeed working, here are the steps from any clean FreeBSD system: pkg install -y curl gmake
git clone https://github.com/official-stockfish/Stockfish
cd Stockfish/src
gmake arch=x86-64 COMP=clang
# Compilation fail here
git fetch origin pull/3342/head:patch-1
git checkout patch-1
gmake arch=x86-64 COMP=clang
# Works gmake being used here is because FreeBSD's make is different from GNU's make. |
closes official-stockfish#3342 No functional change
closes official-stockfish/Stockfish#3342 No functional change
No description provided.