From: Steinar H. Gunderson Date: Wed, 12 Jul 2023 14:57:01 +0000 (+0200) Subject: Merge remote-tracking branch 'upstream/master' X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=487c21b1aa64dcc09dd95b845a66f39ae3c3754e Merge remote-tracking branch 'upstream/master' --- 487c21b1aa64dcc09dd95b845a66f39ae3c3754e diff --cc src/Makefile index e12b068c,a0f098fa..71a940f5 --- a/src/Makefile +++ b/src/Makefile @@@ -56,15 -56,12 +56,15 @@@ els endif ### Source and object files - SRCS = benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp main.cpp \ - material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.cpp \ + SRCS = benchmark.cpp bitboard.cpp evaluate.cpp main.cpp \ + misc.cpp movegen.cpp movepick.cpp position.cpp psqt.cpp \ search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp tune.cpp syzygy/tbprobe.cpp \ - nnue/evaluate_nnue.cpp nnue/features/half_ka_v2_hm.cpp + nnue/evaluate_nnue.cpp nnue/features/half_ka_v2_hm.cpp \ + hashprobe.grpc.pb.cc hashprobe.pb.cc +CLISRCS = client.cpp hashprobe.grpc.pb.cc hashprobe.pb.cc uci.cpp OBJS = $(notdir $(SRCS:.cpp=.o)) +CLIOBJS = $(notdir $(CLISRCS:.cpp=.o)) VPATH = syzygy:nnue:nnue/features diff --cc src/main.cpp index 557c8c27,593408f6..e5f3b329 --- a/src/main.cpp +++ b/src/main.cpp @@@ -16,13 -16,9 +16,12 @@@ along with this program. If not, see . */ +#include #include +#include +#include #include "bitboard.h" - #include "endgame.h" #include "position.h" #include "psqt.h" #include "search.h" diff --cc src/ucioption.cpp index ee84e253,27f436d3..e10ba00a --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@@ -88,9 -78,7 +88,8 @@@ void init(OptionsMap& o) o["SyzygyProbeDepth"] << Option(1, 1, 100); o["Syzygy50MoveRule"] << Option(true); o["SyzygyProbeLimit"] << Option(7, 0, 7); - o["Use NNUE"] << Option(true, on_use_NNUE); o["EvalFile"] << Option(EvalFileDefaultName, on_eval_file); + o["RPCServerAddress"] << Option("", on_rpc_server_address); }