Makefile instruction to compile with CUDD

In case the CUDD variable, which should be pointing to the installation
directory of CUDD is defined, we link to it and define the HAVE_CUDD
flag to let the CBMC code know that it is available.
This commit is contained in:
Romain Brenguier 2019-02-01 06:49:04 +00:00
parent 26791f580b
commit 320d43fb91
2 changed files with 6 additions and 5 deletions

View File

@ -72,3 +72,6 @@ OSX_IDENTITY="Developer ID Application: Daniel Kroening"
# Detailed version information
CBMC_VERSION = 5.11
# Use the CUDD library for BDDs, can be installed using `make -C src cudd-download`
# CUDD = ../../cudd-3.0.0

View File

@ -44,11 +44,9 @@ ifneq ($(SQUOLEM2),)
endif
ifneq ($(CUDD),)
CUDD_SRC=qbf/qbf_bdd_core.cpp qbf/qbf_skizzo_core.cpp
CUDD_INCLUDE=-I $(CUDD)/include
CUDD_LIB=-L $(CUDD)/cudd -L $(CUDD)/util -L $(CUDD)/mtr \
-L $(CUDD)/st -L $(CUDD)/obj -L $(CUDD)/dddmp \
-L $(CUDD)/epd -lobj -lcudd -lmtr -lst -lutil -lepd -ldddmp
CUDD_INCLUDE=-I $(CUDD)
CUDD_LIB=$(CUDD)/cudd/.libs/libcudd$(LIBEXT) $(CUDD)/cplusplus/.libs/libobj$(LIBEXT)
CP_CXXFLAGS += -DHAVE_CUDD
endif
ifneq ($(PICOSAT),)