aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Andres Erbsen <andreser@google.com>2017-11-02 17:04:33 +0000
committerGravatar Andres Erbsen <andreser@google.com>2017-11-02 17:07:59 +0000
commit5e8d7000b86b5b03332c6ecb62cf6290831dbc7e (patch)
tree7222c6203afe5d1309952f14c156dd822076f585 /Makefile
parent1c8fce817abd5f6ce408d22635f4038948cd05c3 (diff)
benchmarks build WIP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index c3484a455..75f97acaf 100644
--- a/Makefile
+++ b/Makefile
@@ -299,28 +299,28 @@ $(GENERATED_PY_MEASUREMENTS) : %/montladder.log : %/py_interpreter.sh src/Specif
sh $*/py_interpreter.sh src/Specific/Framework/bench/montladder.py > $@
$(GENERATED_GMPXX) : %/gmpxx : %/compilerxx.sh src/Specific/Framework/bench/gmpxx.cpp
- sh $*/compilerxx.sh src/Specific/Framework/bench/gmpxx.cpp -o $@
+ sh $*/compilerxx.sh src/Specific/Framework/bench/gmpxx.cpp -lgmp -lgmpxx -o $@
$(GENERATED_GMPXX_MEASUREMENTS) : %/gmpxx.log : %/gmpxx
- $< > $@
+ $(STDTIME) $< > $@
$(GENERATED_GMPVAR) : %/gmpvar : %/compiler.sh src/Specific/Framework/bench/gmpvar.c
- sh $*/compiler.sh src/Specific/Framework/bench/gmpvar.c -o $@
+ sh $*/compiler.sh src/Specific/Framework/bench/gmpvar.c -lgmp -o $@
$(GENERATED_GMPVAR_MEASUREMENTS) : %/gmpvar.log : %/gmpvar
- $< > $@
+ $(STDTIME) $< > $@
$(GENERATED_GMPSEC) : %/gmpsec : %/compiler.sh src/Specific/Framework/bench/gmpsec.c
- sh $*/compiler.sh src/Specific/Framework/bench/gmpsec.c -o $@
+ sh $*/compiler.sh src/Specific/Framework/bench/gmpsec.c -lgmp -o $@
$(GENERATED_GMPSEC_MEASUREMENTS) : %/gmpsec.log : %/gmpsec
- $< > $@
+ $(STDTIME) $< > $@
-$(GENERATED_FIBE) : %/fibe : %/compiler.sh src/Specific/Framework/bench/fibe.c %/feadd.c %/femul.c %/fesquare.c %/fesub.c
- sh $*/compiler.sh src/Specific/Framework/bench/fibe.c -I $*/ -o $@
+$(GENERATED_FIBE) : %/fibe : %/compiler.sh src/Specific/Framework/bench/fibe.c %/feadd.c %/femul.c %/fesquare.c %/fesub.c liblow/liblow.h liblow/cmovznz.c
+ sh $*/compiler.sh -I liblow/ liblow/cmovznz.c src/Specific/Framework/bench/fibe.c -I $*/ -o $@
$(GENERATED_FIBE_MEASUREMENTS) : %/fibe.log : %/fibe
- $< > $@
+ $(STDTIME) $< > $@
.PHONY: generated-py-bench
generated-py-bench: $(GENERATED_PY_MEASUREMENTS)