mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Retire engine Tag
It is somewhat redundant and could make SF name too long, so use just Version, in case of a signature build Version will be set to 'sig-xxx' otherwise, if left empty, we fall back on usual date stamp. No functional change.
This commit is contained in:
+1
-1
@@ -427,7 +427,7 @@ signature-build:
|
||||
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) all
|
||||
@echo "Running benchmark for getting the signature ..."
|
||||
@$(SIGNBENCH) 2>&1 | grep 'Nodes searched' | grep -o ": .*" | tr -d ': ' > sign.txt
|
||||
@sed -i -e 's,^,/static const string Tag/s/"\\(.*\\)"/",1' -e 's,$$,"/1,1' sign.txt
|
||||
@sed -i -e 's,^,/static const string Version/s/"\\(.*\\)"/"sig-,1' -e 's,$$,"/1,1' sign.txt
|
||||
@sed -i -f sign.txt misc.cpp
|
||||
@rm sign.txt
|
||||
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) all
|
||||
|
||||
Reference in New Issue
Block a user