Skip to content

Commit

Permalink
Update CaDiCaL to pre-release 2.0.0 to fix a problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Dekker1 committed Jun 5, 2024
1 parent f750e52 commit ea9c76f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/pindakaas-cadical/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pindakaas-cadical"
version = "1.9.5"
version = "2.0.0"
edition = "2021"
build = "build.rs"
links = "cadical"
Expand Down
9 changes: 6 additions & 3 deletions crates/pindakaas-cadical/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
fn main() {
let src = [
"src/ccadical_override.cpp",
"vendor/cadical/contrib/craigtracer.cpp",
"vendor/cadical/src/analyze.cpp",
"vendor/cadical/src/arena.cpp",
"vendor/cadical/src/assume.cpp",
Expand Down Expand Up @@ -30,12 +32,13 @@ fn main() {
"vendor/cadical/src/file.cpp",
"vendor/cadical/src/flags.cpp",
"vendor/cadical/src/flip.cpp",
"vendor/cadical/src/frattracer.cpp",
"vendor/cadical/src/format.cpp",
"vendor/cadical/src/frattracer.cpp",
"vendor/cadical/src/gates.cpp",
"vendor/cadical/src/idruptracer.cpp",
"vendor/cadical/src/instantiate.cpp",
"vendor/cadical/src/internal.cpp",
"vendor/cadical/src/lidruptracer.cpp",
"vendor/cadical/src/limit.cpp",
"vendor/cadical/src/logging.cpp",
"vendor/cadical/src/lookahead.cpp",
Expand Down Expand Up @@ -72,19 +75,19 @@ fn main() {
"vendor/cadical/src/terminal.cpp",
"vendor/cadical/src/ternary.cpp",
"vendor/cadical/src/transred.cpp",
"vendor/cadical/src/veripbtracer.cpp",
"vendor/cadical/src/util.cpp",
"vendor/cadical/src/var.cpp",
"vendor/cadical/src/veripbtracer.cpp",
"vendor/cadical/src/version.cpp",
"vendor/cadical/src/vivify.cpp",
"vendor/cadical/src/walk.cpp",
"vendor/cadical/src/watch.cpp",
"src/ccadical_override.cpp",
];

let mut builder = cc::Build::new();
let build = builder
.cpp(true)
.include("vendor/cadical/src")
.flag_if_supported("-std=c++11")
.define("NBUILD", None)
.define("NUNLOCKED", None)
Expand Down
2 changes: 1 addition & 1 deletion crates/pindakaas-cadical/vendor/cadical

0 comments on commit ea9c76f

Please sign in to comment.