dshawul / Scorpio

Scorpio chess engine
Other
81 stars 19 forks source link

Fix for compile error when no AVX2 math set #23

Open tillchess opened 2 years ago

tillchess commented 2 years ago

Line 127 in the Makefile: CXXFLAGS+=-msse3 -mpopcnt

CXXFLAGS += -mavx2

dshawul commented 2 years ago

Scorpio needs additional libraries to work with neural networks which are all compiled with AVX2 enabled due to performance reasons, but I guess Scorpio itself canbe be compiled without it. If your machine does not have AVX2, you won't be able to use either NNUE or big NN.

tillchess commented 2 years ago

Right. I noticed it after I wrote the above message.