File tree Expand file tree Collapse file tree 3 files changed +22
-11
lines changed
Expand file tree Collapse file tree 3 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,14 @@ index 9e8a16b..3d5721a 100644
3232 cubes.cubes.push_back(std::vector<int>());
3333 return cubes;
3434 }
35+ diff -urN cadical-rel-1.5.3/src/solver.cpp cadical-rel-1.5.3.patched/src/solver.cpp
36+ --- cadical-rel-1.5.3/src/solver.cpp 2023-02-13 09:11:26.000000000 +0000
37+ +++ cadical-rel-1.5.3.patched/src/solver.cpp 2023-05-29 09:42:55.871965742 +0000
38+ @@ -258,7 +258,6 @@
39+
40+ #define TRACE(...) \
41+ do { \
42+ - if ((this == 0)) break; \
43+ if ((internal == 0)) break; \
44+ LOG_API_CALL_BEGIN (__VA_ARGS__); \
45+ if (!trace_api_file) break; \
Original file line number Diff line number Diff line change @@ -174,17 +174,17 @@ glucose-download:
174174 @ (cd ../glucose-syrup; patch -p1 < ../scripts/glucose-syrup-patch)
175175 @$(RM ) $(glucose_rev ) .tar.gz
176176
177- cadical_release = rel-1.4.1
177+ cadical_release = rel-1.5.3
178178cadical-download :
179179 @echo " Downloading CaDiCaL $( cadical_release) "
180180 @$(DOWNLOADER ) https://github.com/arminbiere/cadical/archive/$(cadical_release ) .tar.gz
181181 @$(TAR ) xfz $(cadical_release ) .tar.gz
182182 @rm -Rf ../cadical
183183 @mv cadical-$(cadical_release ) ../cadical
184- @ (cd ../cadical; patch -p1 < ../scripts/cadical-1.4.1 -patch)
184+ @ (cd ../cadical; patch -p1 < ../scripts/cadical-1.5.3 -patch)
185185 @ (cd ../cadical && ./configure)
186- # Need to rename VERSION so that it isn't picked up by `#include<version>` on
187- # macOS which is case insensitive
186+ # Need to rename VERSION so that it isn't picked up by `#include<version>` on
187+ # macOS which is case insensitive
188188 @ (cd ../cadical && mv VERSION VERSION.txt)
189189 @$(RM ) $(cadical_release ) .tar.gz
190190
Original file line number Diff line number Diff line change @@ -124,11 +124,11 @@ foreach(SOLVER ${sat_impl})
124124 message (STATUS "Building solvers with cadical" )
125125
126126 download_project(PROJ cadical
127- URL https://github.com/arminbiere/cadical/archive/rel-1.4.1 .tar.gz
128- PATCH_COMMAND patch -p1 -i ${CBMC_SOURCE_DIR} /../scripts/cadical-1.4.1 -patch
127+ URL https://github.com/arminbiere/cadical/archive/rel-1.5.3 .tar.gz
128+ PATCH_COMMAND patch -p1 -i ${CBMC_SOURCE_DIR} /../scripts/cadical-1.5.3 -patch
129129 COMMAND cmake -E copy ${CBMC_SOURCE_DIR} /../scripts/cadical_CMakeLists.txt CMakeLists.txt
130130 COMMAND ./configure
131- URL_MD5 b44874501a175106424f4bd5de29aa59
131+ URL_MD5 265b1a715000ed3c5b6de36ddd1278a0
132132 )
133133
134134 add_subdirectory (${cadical_SOURCE_DIR} ${cadical_BINARY_DIR} )
@@ -147,10 +147,10 @@ foreach(SOLVER ${sat_impl})
147147 message (STATUS "Building with IPASIR solver linking against: CaDiCaL" )
148148
149149 download_project(PROJ cadical
150- URL https://github.com/arminbiere/cadical/archive/rel-1.4.1 .tar.gz
151- PATCH_COMMAND true
152- COMMAND CXX= ${CMAKE_CXX_COMPILER} ./configure -O3 -s CXXFLAGS=-std=c++14
153- URL_MD5 b44874501a175106424f4bd5de29aa59
150+ URL https://github.com/arminbiere/cadical/archive/rel-1.5.3 .tar.gz
151+ PATCH_COMMAND patch -p1 -i ${CBMC_SOURCE_DIR} /../scripts/cadical-1.5.3-patch
152+ COMMAND ./configure
153+ URL_MD5 265b1a715000ed3c5b6de36ddd1278a0
154154 )
155155
156156 message (STATUS "Building CaDiCaL" )
You can’t perform that action at this time.
0 commit comments