Skip to content

Commit c3d527c

Browse files
author
Norbert Manthey
committed
compiling: add IPASIR notes for Linux
Add the steps to link against an IPASIR solver to the COMPILING notes.
1 parent 900a0fc commit c3d527c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

COMPILING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
4646
make
4747
```
4848

49+
4. Linking against an IPASIR SAT solver
50+
51+
Get an IPASIR package and build picosat by default
52+
```
53+
make -C src ipasir-build
54+
```
55+
56+
Build CBMC with IPASIR and link against the ipasir solver library
57+
Note: the LIBSOLVER variable could be pointed towards other solvers
58+
```
59+
make -C src IPASIR=../../ipasir LIBSOLVER=$(pwd)/ipasir/libipasir.a
60+
```
61+
4962
# COMPILATION ON SOLARIS 11
5063

5164
1. As root, get the necessary development tools:

0 commit comments

Comments
 (0)