|
|
@ -10,15 +10,16 @@ CLANG_ARGS?=-O0
|
|
|
|
SLEDGE_DBG=$(CURDIR)/../_build/debug/cli/sledge_cli.exe
|
|
|
|
SLEDGE_DBG=$(CURDIR)/../_build/debug/cli/sledge_cli.exe
|
|
|
|
SLEDGE_OPT=$(CURDIR)/../_build/release/cli/sledge_cli.exe
|
|
|
|
SLEDGE_OPT=$(CURDIR)/../_build/release/cli/sledge_cli.exe
|
|
|
|
|
|
|
|
|
|
|
|
# additional arguments to pass to sledge translate, disassemble, analyze, and smt
|
|
|
|
# additional arguments to pass to sledge translate, disassemble, analyze, smt, and report
|
|
|
|
SLEDGE_T_ARGS?=
|
|
|
|
SLEDGE_T_ARGS?=
|
|
|
|
SLEDGE_D_ARGS?=
|
|
|
|
SLEDGE_D_ARGS?=
|
|
|
|
SLEDGE_A_ARGS?=-bound 5
|
|
|
|
SLEDGE_A_ARGS?=-bound 5
|
|
|
|
SLEDGE_S_ARGS?=
|
|
|
|
SLEDGE_S_ARGS?=
|
|
|
|
|
|
|
|
SLEDGE_R_ARGS?=
|
|
|
|
|
|
|
|
|
|
|
|
# limits for each test run
|
|
|
|
# limits for each test run
|
|
|
|
TIMEOUT?=300
|
|
|
|
TIMEOUT?=300
|
|
|
|
MEMOUT?=4096
|
|
|
|
MEMOUT?=6
|
|
|
|
|
|
|
|
|
|
|
|
sledge_dbg=./wrap.sh $(TIMEOUT) $(MEMOUT) $(SLEDGE_DBG)
|
|
|
|
sledge_dbg=./wrap.sh $(TIMEOUT) $(MEMOUT) $(SLEDGE_DBG)
|
|
|
|
sledge_opt=./wrap.sh $(TIMEOUT) $(MEMOUT) $(SLEDGE_OPT)
|
|
|
|
sledge_opt=./wrap.sh $(TIMEOUT) $(MEMOUT) $(SLEDGE_OPT)
|
|
|
@ -98,7 +99,7 @@ baseline/translate.sexp: translate.sexp
|
|
|
|
cp translate.sexp $@
|
|
|
|
cp translate.sexp $@
|
|
|
|
|
|
|
|
|
|
|
|
translate.html: translate.sexp
|
|
|
|
translate.html: translate.sexp
|
|
|
|
$(sledge_report) html -baseline baseline/translate.sexp translate.sexp -output $@
|
|
|
|
$(sledge_report) html $(SLEDGE_R_ARGS) -baseline baseline/translate.sexp translate.sexp -output $@
|
|
|
|
|
|
|
|
|
|
|
|
translate-status: translate.sexp
|
|
|
|
translate-status: translate.sexp
|
|
|
|
$(sledge_report) status -baseline baseline/translate.sexp translate.sexp | column -ts$$'\t'
|
|
|
|
$(sledge_report) status -baseline baseline/translate.sexp translate.sexp | column -ts$$'\t'
|
|
|
@ -150,19 +151,19 @@ SmtTests:=$(shell find smt -name '*.smt2' 2>/dev/null)
|
|
|
|
smt:
|
|
|
|
smt:
|
|
|
|
-parallel --bar $(sledge_dbg) smt $(SLEDGE_S_ARGS) ::: $(SmtTests)
|
|
|
|
-parallel --bar $(sledge_dbg) smt $(SLEDGE_S_ARGS) ::: $(SmtTests)
|
|
|
|
|
|
|
|
|
|
|
|
parallel_sledge_opt_smt=parallel --shuf --bar $(sledge_opt) smt -append-report $(SLEDGE_S_ARGS) :::
|
|
|
|
parallel_sledge_opt_smt=parallel --use-cores-instead-of-threads --shuf --bar $(sledge_opt) smt -append-report $(SLEDGE_S_ARGS) :::
|
|
|
|
|
|
|
|
|
|
|
|
smt-perf1:
|
|
|
|
smt-perf1:
|
|
|
|
@$(parallel_sledge_opt_smt) $(SmtTests)
|
|
|
|
-@$(parallel_sledge_opt_smt) $(SmtTests)
|
|
|
|
|
|
|
|
|
|
|
|
smt-perf3:
|
|
|
|
smt-perf3:
|
|
|
|
@$(parallel_sledge_opt_smt) $(SmtTests) $(SmtTests) $(SmtTests)
|
|
|
|
-@$(parallel_sledge_opt_smt) $(SmtTests) $(SmtTests) $(SmtTests)
|
|
|
|
|
|
|
|
|
|
|
|
smt-perf5:
|
|
|
|
smt-perf5:
|
|
|
|
@$(parallel_sledge_opt_smt) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests)
|
|
|
|
-@$(parallel_sledge_opt_smt) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests)
|
|
|
|
|
|
|
|
|
|
|
|
smt-perf7:
|
|
|
|
smt-perf7:
|
|
|
|
@$(parallel_sledge_opt_smt) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests)
|
|
|
|
-@$(parallel_sledge_opt_smt) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests) $(SmtTests)
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: smt.sexp
|
|
|
|
.PHONY: smt.sexp
|
|
|
|
smt.sexp:
|
|
|
|
smt.sexp:
|
|
|
@ -172,7 +173,7 @@ baseline/smt.sexp: smt.sexp
|
|
|
|
cp smt.sexp $@
|
|
|
|
cp smt.sexp $@
|
|
|
|
|
|
|
|
|
|
|
|
smt.html: smt.sexp
|
|
|
|
smt.html: smt.sexp
|
|
|
|
$(sledge_report) html -baseline baseline/smt.sexp smt.sexp -output $@
|
|
|
|
$(sledge_report) html $(SLEDGE_R_ARGS) -baseline baseline/smt.sexp smt.sexp -output $@
|
|
|
|
|
|
|
|
|
|
|
|
smt-status: smt.sexp
|
|
|
|
smt-status: smt.sexp
|
|
|
|
$(sledge_report) status -baseline baseline/smt.sexp smt.sexp | column -ts$$'\t'
|
|
|
|
$(sledge_report) status -baseline baseline/smt.sexp smt.sexp | column -ts$$'\t'
|
|
|
@ -194,7 +195,7 @@ baseline/llvm.sexp: llvm.sexp
|
|
|
|
cp llvm.sexp $@
|
|
|
|
cp llvm.sexp $@
|
|
|
|
|
|
|
|
|
|
|
|
llvm.html: llvm.sexp
|
|
|
|
llvm.html: llvm.sexp
|
|
|
|
$(sledge_report) html -baseline baseline/llvm.sexp llvm.sexp -output $@
|
|
|
|
$(sledge_report) html $(SLEDGE_R_ARGS) -baseline baseline/llvm.sexp llvm.sexp -output $@
|
|
|
|
|
|
|
|
|
|
|
|
llvm-status: llvm.sexp
|
|
|
|
llvm-status: llvm.sexp
|
|
|
|
$(sledge_report) status -baseline baseline/llvm.sexp llvm.sexp | column -ts$$'\t'
|
|
|
|
$(sledge_report) status -baseline baseline/llvm.sexp llvm.sexp | column -ts$$'\t'
|
|
|
|