Skip to content

Commit

Permalink
Add macOS binary of QuAbS
Browse files Browse the repository at this point in the history
  • Loading branch information
ltentrup committed Nov 27, 2017
1 parent 1c063bd commit 697796e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ required-tools: \
Tools/ltl3ba \
Tools/idq \
Tools/quabscm \
Tools/quabscm-mac \
Tools/rareqs \
Tools/syfco \
Tools/z3
Expand Down Expand Up @@ -324,6 +325,9 @@ Tools/picosat-965.tar.gz: Tools/.f
Tools/quabscm: Tools/quabs-bin
cp Tools/quabs-bin/quabscm Tools/quabscm

Tools/quabscm-mac: Tools/quabs-bin
cp Tools/quabs-bin/quabscm-mac Tools/quabscm-mac

Tools/quabs-bin: Tools/quabs-bin.tar.gz
cd Tools ; tar xzf quabs-bin.tar.gz

Expand Down
6 changes: 5 additions & 1 deletion Sources/Logic/Solver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,12 @@ struct QuAbS: CertifyingQbfSolver {
}

let task = Process()


#if os(macOS)
task.launchPath = "./Tools/quabscm-mac"
#else
task.launchPath = "./Tools/quabscm"
#endif
task.arguments = ["-c", tempFile.path]

let stdoutPipe = Pipe()
Expand Down

0 comments on commit 697796e

Please sign in to comment.