Engine Updates II

Some more engines for Apple’s M1:

Binary: amoeba-3.3 (an engine written in «D»)
Source: https://github.com/abulmo/amoeba/

Binary: bob-1.0.0
Source: https://github.com/bobsquared/Mr_Bob_Chess/releases/tag/v1.0.0

Build, I had to edit the Makefile:

% diff Makefile Makefile_old                 
4c4
< popcount = no
---
> popcount = yes
6,8c6
< arm64 = yes
< VERSION = 1.0.0
< EXE = ../bob-$(VERSION)
---
> EXE = ../bob
11,12c9,10
< CXXFLAGS := -Wall -Wextra -std=c++11 -pthread 
< OBCXXFLAGS := -Wall -Wextra -std=c++11 -pthread
---
> CXXFLAGS := -Wall -Wextra -std=c++11 -static -pthread -Wl,--whole-archive -lpthread -Wl,--no-whole-archive
> OBCXXFLAGS := -Wall -Wextra -std=c++11 -pthread -Wl,--whole-archive -lpthread -Wl,--no-whole-archive
14,17d11
< ifeq ($(arm64), yes)
< CXXFLAGS += -march=native -pedantic -flto -DUSE_NEON
< OBCXXFLAGS += -march=native -pedantic -flto -DUSE_NEON
< endif
% make

Binary: mayhem-3.5 (Chess960) <— update
Book: performance.bin
Net: nn-62ef826d1a6d (or any other Stockfish net)
Source: https://github.com/SamuraiDangyo/mayhem/tree/v3.5

Build, I had to edit the Makefile:

% diff Makefile Makefile_old 
7c7
< VERSION=3.5
---
> 
9,10c9,12
< CXXFLAGS=-std=c++17 -O3 -target arm64-apple-macos11 -Wall -Wextra -Wshadow -pedantic -flto -DNDEBUG -DUSE_NEON
< BUILDFLAGS=-std=c++17 -O3-Wall -Wextra -pedantic -DNDEBUG -static 
---
> CXXFLAGS=-std=c++17 -O3 -march=native -mpopcnt -Wall -Wextra -pedantic -DNDEBUG \
>          -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse
> BUILDFLAGS=-std=c++17 -O3 -mpopcnt -Wall -Wextra -pedantic -DNDEBUG -static \
>            -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_SSE -msse
12c14
< EXE=mayhem-$(VERSION)
---
> EXE=mayhem
% make

Binary: stash-bot-29.0
Source: https://gitlab.com/mhouppin/stash-bot/-/releases/v29.0

Build, I had to edit the Makefile:

% diff Makefile Makefile_old 
24d23
< VERSION = 29.0
54c53
< 	EXE = stash-bot-$(VERSION)
---
> 	EXE = stash-bot
81,84d79
< ifeq ($ARCH),apple-silicon)
<     CFLAGS += -pedantic -Wextra -Wshadow -mfpu=neon -flto -DUSE_NEON
< endif
% make ARCH=apple-silicon