gab8192 / Obsidian

An UCI chess engine
GNU General Public License v3.0
26 stars 5 forks source link

compiling : optimize make #3

Closed tissatussa closed 5 months ago

tissatussa commented 10 months ago

today i discovered your strong engine by the CCRL list .. i managed to compile v6.0 using the makefile, including your latest additional option '-pthread' and i get a valid binary .. however, terminal output shows g++ uses the option '-march=native' when doing just make .. but my (Linux) PC can do AVX2, which gives faster binaries, doesn't it? Looking into your makefile i see the option 'build=avx2' is possible, so i did 'make build=avx2' and indeed i get a valid binary, although it has the exact same size (714.3K) .. this time terminal output shows g++ uses the option '-march=haswell' ..

you could mention these make options in the README ?