mirror of
https://github.com/YosysHQ/sby.git
synced 2026-04-27 08:23:36 +00:00
Better checking of available solvers
Check for required auxiliary tools and always regenerate the make rules when the set of available tools changes.
This commit is contained in:
parent
939e000036
commit
dc22d97362
3 changed files with 36 additions and 7 deletions
|
|
@ -2,6 +2,23 @@ test:
|
|||
|
||||
.PHONY: test clean refresh help
|
||||
|
||||
TOOL_LIST := \
|
||||
btorsim \
|
||||
yices \
|
||||
aigbmc \
|
||||
avy \
|
||||
bitwuzla \
|
||||
boolector \
|
||||
btormc \
|
||||
cvc4 \
|
||||
mathsat \
|
||||
pono \
|
||||
suprove \
|
||||
yices-smt2 \
|
||||
yices \
|
||||
yosys-abc \
|
||||
z3
|
||||
|
||||
help:
|
||||
@cat make/help.txt
|
||||
|
||||
|
|
@ -15,5 +32,12 @@ make/rules/test/%.mk:
|
|||
python3 make/test_rules.py $<
|
||||
|
||||
ifneq (help,$(MAKECMDGOALS))
|
||||
|
||||
FIND_TOOLS := $(shell \
|
||||
TOOLS=$$(which $(TOOL_LIST) 2>/dev/null || true); \
|
||||
echo $$TOOLS | cmp -s make/rules/found_tools || echo $$TOOLS > make/rules/found_tools \
|
||||
)
|
||||
|
||||
include make/rules/collect.mk
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue