1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Yet another attempt at signature-build

This one should work on all flavours of sed

Suggested by by Louis Zulli

No functional change.
This commit is contained in:
Marco Costalba 2013-07-20 14:05:04 +02:00
parent a6c5b4c6fb
commit 7b0b463720

View file

@ -447,8 +447,7 @@ profile-build:
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
@sed -i'' -f sign.txt misc.cpp
@rm sign.txt
signature-build: build embed-signature