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:
Marco Costalba
2013-07-14 11:07:24 +02:00
parent 3f64a2af6a
commit 5b7b330616
2 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -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