Skip to content

Commit e4217ed

Browse files
committed
Fix cvc4 and xsv paths
1 parent 7a04933 commit e4217ed

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

scripts/cvc4-eval/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ SHELL=/usr/bin/env bash
77
all:
88

99
rust-src=$(shell find ../../src/ -type f)
10-
cvc4=./cvc4-1.8-x86_64-linux-opt \
10+
11+
# check for the hardcoded programs that are in the VM
12+
xsv=$(shell command -v ./xsv || command -v xsv)
13+
cvc4=$(shell command -v ./cvc4-1.8-x86_64-linux-opt || command -v cvc4) \
1114
--sygus-rr-synth \
1215
--sygus-rr-synth-check \
1316
--no-sygus-sym-break \
@@ -98,11 +101,11 @@ latex-report: $(diffs)
98101

99102
.PHONY: report
100103
report: $(diffs)
101-
python3 compare.py $^ | ./xsv table
104+
python3 compare.py $^ | $(xsv) table
102105

103106
.PHONY: report-no-consts
104107
report-no-consts: $(diffs-no-consts)
105-
python3 compare.py $^ | ./xsv table
108+
python3 compare.py $^ | $(xsv) table
106109

107110
.PHONY: latex-report-no-consts
108111
latex-report-no-consts: $(diffs-no-consts)

0 commit comments

Comments
 (0)