1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Retire signature-build

Does not seem used.

No functional change.
This commit is contained in:
Marco Costalba 2014-04-12 09:18:55 +02:00
parent 226bbc1e63
commit 0b2794ae12

View file

@ -358,9 +358,7 @@ help:
@echo "Supported targets:" @echo "Supported targets:"
@echo "" @echo ""
@echo "build > Standard build" @echo "build > Standard build"
@echo "signature-build > Standard build with embedded signature"
@echo "profile-build > PGO build" @echo "profile-build > PGO build"
@echo "signature-profile-build > PGO build with embedded signature"
@echo "strip > Strip executable" @echo "strip > Strip executable"
@echo "install > Install executable" @echo "install > Install executable"
@echo "clean > Clean up" @echo "clean > Clean up"
@ -399,7 +397,7 @@ help:
@echo "make build ARCH=x86-32 (This is for 32-bit systems)" @echo "make build ARCH=x86-32 (This is for 32-bit systems)"
@echo "" @echo ""
.PHONY: build profile-build embed-signature .PHONY: build profile-build
build: build:
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) config-sanity $(MAKE) ARCH=$(ARCH) COMP=$(COMP) config-sanity
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) all $(MAKE) ARCH=$(ARCH) COMP=$(COMP) all
@ -424,18 +422,6 @@ profile-build:
@echo "Step 4/4. Deleting profile data ..." @echo "Step 4/4. Deleting profile data ..."
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_clean) $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_clean)
embed-signature:
@echo "Running benchmark for getting the signature ..."
@$(SIGNBENCH) 2>&1 | sed -n 's/Nodes searched : \(.*\)/\/string Version\/s\/"\\(.*\\)"\/"sig-\1"\//p' > sign.txt
@sed -f sign.txt misc.cpp > misc2.cpp
@mv misc2.cpp misc.cpp
@rm sign.txt
signature-build: build embed-signature
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) all
signature-profile-build: build embed-signature profile-build
strip: strip:
strip $(EXE) strip $(EXE)