Files
spark2014/benchmark_script/Makefile
Johannes Kanig 66c666bae2 (no-tn-check) fixes to benchmark scripts
make Florian's scripts work with current master

Change-Id: Iecdd08060fbd8b305f84806638ab9e19031c7dee
2019-04-09 11:07:14 +02:00

22 lines
509 B
Makefile

CVC4=cvc4
ALTERGO=alt-ergo
FILES := $(shell find bench -name "*.smt2" -or -name "*.why")
BENCH := $(patsubst %.why,%.result,$(patsubst %.smt2,%.result,$(FILES)))
all: $(BENCH)
%.result: %.smt2
@echo "[CVC4] $*"
@-$(CVC4) --lang=smt2 \
--inst-when=full-last-call \
--user-pat=trust \
--tlimit=2000 $*.smt2 > $*.result
%.result: %.why
@echo "[ERGO] $*"
@-$(ALTERGO) -max-split 5 -timelimit 2 $*.why > $*.result || true
clean:
find bench -name "*.result" -delete