aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/Makefile
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-06-19 17:47:44 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-06-19 17:47:44 +0200
commitda4f103a75d4248862ee37d01ba369611422e6c3 (patch)
treeeb9c6be8a25752188a9c1cb9cf82ed74a6e99d9a /test/monniaux/Makefile
parent66cddcd920dd7b56c9607cb787491117b766e8ef (diff)
parent84400a9404671f4577eae316bcbb0f42f3e4f328 (diff)
downloadcompcert-kvx-da4f103a75d4248862ee37d01ba369611422e6c3.tar.gz
compcert-kvx-da4f103a75d4248862ee37d01ba369611422e6c3.zip
Merge branch 'mppa-work' of gricad-gitlab.univ-grenoble-alpes.fr:sixcy/CompCert into mppa-work
Diffstat (limited to 'test/monniaux/Makefile')
-rw-r--r--test/monniaux/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/monniaux/Makefile b/test/monniaux/Makefile
index 0831a93c..b436c034 100644
--- a/test/monniaux/Makefile
+++ b/test/monniaux/Makefile
@@ -2,7 +2,7 @@
CCOMP?=ccomp
-all: compile_times.pdf
+all: compile_times.pdf measure_times.k1c.pdf
verifier_times.txt: Asmblockdeps.patch
patch ../../extraction/Asmblockdeps.ml < $<
@@ -16,9 +16,17 @@ oracle_times.txt: PostpassSchedulingOracle.patch
bash clean_benches.sh
bash build_benches.sh $@
+measures.csv:
+ (cd ../../ && make -j20 && make install)
+ bash build_benches.sh
+ bash run_benches.sh $@
+
compile_times.pdf: gencompile.py verifier_times.txt oracle_times.txt
python3.6 $^ $@
+measure_times.k1c.pdf: gengraphs.py measures.csv
+ python3.6 $^ $(basename $(basename $@))
+
.PHONY:
clean:
- rm -f verifier_times.txt oracle_times.txt compile_times.pdf
+ rm -f verifier_times.txt oracle_times.txt compile_times.pdf measure_times.k1c.pdf measures.csv