Skip to content

build: default to llvm toolchain - #170

Merged
hansbinderup merged 1 commit into
mainfrom
hans/migrate-to-llvm-toolchain
Jul 6, 2025
Merged

build: default to llvm toolchain#170
hansbinderup merged 1 commit into
mainfrom
hans/migrate-to-llvm-toolchain

Conversation

@hansbinderup

@hansbinderup hansbinderup commented Jul 6, 2025

Copy link
Copy Markdown
Owner

The LLVM toolchain seems to be the golden standard for chess engines. I've conducted a few tests and it's literally insane how much of a difference it makes!

Let's default to clang going forward!

NOTE: I've kept the GCC targets as they might come handy for people trying to compile the engine natively etc.

Bench 2955703

Elo   | 24.56 +- 13.61 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 2.97 (-2.94, 2.94) [0.00, 10.00]
Games | N: 1162 W: 348 L: 266 D: 548
Penta | [25, 114, 236, 166, 40]
https://openbench.bunny.beer/test/490/

LTC is running

The LLVM toolchain seems to be the golden standard for chess engines.
I've conducted a few tests and it's literally insane how much of a
difference it makes!

Let's default to clang going forward!

NOTE: I've kept the GCC targets as they might come handy for people
trying to compile the engine natively etc.

Bench 2955703

Signed-off-by: Hans Binderup <hbinderup94@gmail.com>
@hansbinderup hansbinderup added this to the release-1.9 milestone Jul 6, 2025

@clarashepherd clarashepherd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the 1:1 explanation. Looking forward to some fancy error messages 🍸

@hansbinderup
hansbinderup merged commit 3f8af03 into main Jul 6, 2025
7 checks passed
@hansbinderup
hansbinderup deleted the hans/migrate-to-llvm-toolchain branch July 6, 2025 09:38
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

Successfully merging this pull request may close these issues.

2 participants