mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 11:15:43 -05:00
Small update to bench/makefile
This commit is contained in:
parent
02b5c61ee1
commit
d52c6d7965
1 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ OPTIONS :=-time 30s -size 1G
|
||||||
LOGDIR := $(shell echo "./logs/`git rev-parse HEAD`")
|
LOGDIR := $(shell echo "./logs/`git rev-parse HEAD`")
|
||||||
INDEX := $(shell echo "./$(LOGDIR)/index")
|
INDEX := $(shell echo "./$(LOGDIR)/index")
|
||||||
CNF := $(shell find -L ./ -name "*.cnf" -type f)
|
CNF := $(shell find -L ./ -name "*.cnf" -type f)
|
||||||
DONE := $(addprefix $(LOGDIR)/raw/, $(CNF:.cnf=.done))
|
DONE := $(addprefix $(LOGDIR)/raw/, $(CNF:=.done))
|
||||||
|
|
||||||
PROVER := $(shell echo "./$(LOGDIR)/prover")
|
PROVER := $(shell echo "./$(LOGDIR)/prover")
|
||||||
CMD := $(PROVER) $(OPTIONS)
|
CMD := $(PROVER) $(OPTIONS)
|
||||||
|
|
@ -31,6 +31,6 @@ $(SOLVER):
|
||||||
|
|
||||||
$(LOGDIR)/raw/%.done : dummy $(PROVER)
|
$(LOGDIR)/raw/%.done : dummy $(PROVER)
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@echo "solving problem $*.cnf..." | tee -a $(INDEX)
|
@echo "solving problem $*..." | tee -a $(INDEX)
|
||||||
@./run_prover "$(CMD)" "$*.cnf" "$@"
|
@./run_prover "$(CMD)" "$*" "$@"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue