Skip to content
/ ScalaZ3 Public
forked from epfl-lara/ScalaZ3

Binders and more to the Z3 SMT solver for Scala

Notifications You must be signed in to change notification settings

vo1stv/ScalaZ3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScalaZ3 for Scala 2.10

This is ScalaZ3 for Scala 2.10 and Z3 4.3. Switch to the branch '2.9.x' for Scala 2.9 support.

Compiling ScalaZ3

Prerequisites

You should have Java and SBT 0.13.x installed.

Linux

  1. Download Z3 source code from http://z3.codeplex.com/, compile it, and copy the headers and built library to z3/[z3version]/include and z3/[z3version]/lib respectively. (eg: z3/4.3-unix-64b/include/z3.h and z3/4.3-unix-64b/lib/libz3.so).

  2. Run 'sbt package' to create the jar file. It will be in 'target/scala-2.10/scalaz3_2.10-2.1.jar' and will contain the shared library dependencies.

  3. For testing, run

    sbt test

Mac

  1. Download Z3 source code from http://z3.codeplex.com/, compile it, and copy the headers and built library to z3/[z3version]/include and z3/[z3version]/lib respectively. (eg: z3/4.3-unix-64b/include/z3.h and z3/4.3-unix-64b/lib/libz3.dnylib).

  2. Run 'sbt package' to create the jar file. It will be in 'target/scala-2.10/scalaz3_2.10-2.1.jar' and will contain the shared library dependencies.

  3. For testing, run

    sbt test

Windows

  1. Download Cygwin, and install packages for gcc.

  2. Download Z3 4.3 release, and copy libz3.dll to z3/[z3version]/bin and include/*.h to /z3/[z3version]/include/. (eg: z3/4.3-win-64b/bin/libz3.dll)

  3. Run 'sbt package' to create the jar file. It will end up in 'target/scala2.10/scalaz3_2.10-2.1.jar' and will contain the shared library dependencies.

About

Binders and more to the Z3 SMT solver for Scala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 46.2%
  • C 39.3%
  • Java 14.5%