Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/common
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,6 @@ else
$(error Invalid setting for BUILD_ENV: $(BUILD_ENV_))
endif

# select default solver to be minisat2 if no other is specified
ifeq ($(BOOLEFORCE)$(CHAFF)$(GLUCOSE)$(IPASIR)$(LINGELING)$(MINISAT)$(MINISAT2)$(PICOSAT)$(CADICAL),)
MINISAT2 = ../../minisat-2.2.1
endif

ifneq ($(IPASIR),)
CP_CXXFLAGS += -DHAVE_IPASIR
endif
Expand Down
5 changes: 5 additions & 0 deletions src/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ endif
# when linking against an IPASIR solver.
LIBSOLVER =

# select default solver to be minisat2 if no other is specified
ifeq ($(BOOLEFORCE)$(CHAFF)$(GLUCOSE)$(IPASIR)$(LINGELING)$(MINISAT)$(MINISAT2)$(PICOSAT)$(CADICAL),)
MINISAT2 = ../../minisat-2.2.1
endif

ifneq ($(PICOSAT),)
CP_CXXFLAGS += -DSATCHECK_PICOSAT
endif
Expand Down
3 changes: 2 additions & 1 deletion src/solvers/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include ../config.inc
include ../common

ifneq ($(CHAFF),)
CHAFF_SRC=sat/satcheck_zchaff.cpp sat/satcheck_zcore.cpp
Expand Down Expand Up @@ -195,6 +194,8 @@ SRC = $(BOOLEFORCE_SRC) \
smt2/smt2irep.cpp \
# Empty last line

include ../common

INCLUDES += -I .. \
$(CHAFF_INCLUDE) $(BOOLEFORCE_INCLUDE) $(MINISAT_INCLUDE) $(MINISAT2_INCLUDE) \
$(IPASIR_INCLUDE) \
Expand Down