lucaschessR
lucaschessR copied to clipboard
request to update EngineRun and EngineRunDirect
I have updated the branch i am working on and removed my comments in the code for the 2 files. Please update EngineRun and EngineRunDirect. Some of the other changes I made in the other files will impact the linux and windows version, still work in slow progress. I will just keep up with the main project. If it is easier just rework the 2 files in your own style. I just tried to keep the code changes in 1 place, did not remove or refactor. The stdin.close() is optional, while investigating issue i found that some clients handled the signal generated (i presume it is SIGPIPE). I think stockfish and komodo will exit gracefully.
thanks,
cheers
Stockfish can be compiled so that the net is shared by all versions, which greatly reduces the size. In the Makefile:
### 3.1 Selecting compiler (default = gcc)
CXXFLAGS += -Wall -Wcast-qual -fno-exceptions -std=c++17 $(EXTRACXXFLAGS) -DNNUE_EMBEDDING_OFF