Five updates

Five updates for apple-silicon (M1): clover-2.3.1, igel-3.0.5, mayhem-4.5, shashchess-17 and stash-bot-30. Some new engines might follow this weekend…

Binary: clover-2.3.1
Source: https://github.com/lucametehau/CloverEngine/releases/tag/v2.3.1

% clang++ *.cpp *.c -Wall -O3 -o clover-2.3.1 -std=c++17

 

Binary: igel-3.0.5
Source: https://github.com/vshcherbyna/igel/releases/tag/3.0.5
Net: ign-1-d593efbd

diff misc.cpp misc.cpp_old 
21c21
< #include <stdlib.h>
---
> #include <malloc.h>
% cmake .
% make

 

Binary: mayhem-4.5
Source: https://github.com/SamuraiDangyo/mayhem/releases
Net: nn-cb80fb9393af.nnue
Book: performance.bin

% diff Makefile Makefile_old
16c16
< BFLAGS   = -std=c++17 -O3 -target arm64-apple-macos11 -flto
---
> BFLAGS   = -std=c++17 -O3 -flto -march=native -mpopcnt
18c18
< NFLAGS   = -DUSE_NEON
---
> NFLAGS   = -DUSE_AVX2 -mavx2

 

Binary: shashchess-17
Net: nn-8a08400ed089.nnue (default)
Source: https://github.com/amchess/ShashChess/releases/tag/17

% diff Makefile Makefile_old                      
314c314
< LDFLAGS += -lcurl $(EXTRALDFLAGS)
---
> LDFLAGS += -lcurl -lws2_32 $(EXTRALDFLAGS)
% make profile-build COMP=clang ARCH=apple-silicon

 

Binary: stash-bot-30.0
Source: https://gitlab.com/mhouppin/stash-bot/-/releases/v30.0

% diff Makefile Makefile_old
69,72d68
< ifeq ($ARCH),apple-silicon)
<      CFLAGS += -pedantic -Wextra -Wshadow -mfpu=neon -flto -DUSE_NEON
< endif
% make ARCH=apple-silicon