package cvc5

All checked builds pass
  1. Overview
  2. Docs
OCaml bindings for the cvc5 SMT solver

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-cvc5-v1.3.0-3.tar.gz
md5=42d8a1e594a2358936141b6416cd8b27
sha512=6ae90b58c9d9eb14ff52d51ecfa6fbd97e77eb87bc4e9c188b255e4fc1e206200d7f869698a586d27b462759a1d7b7438024cea7b7850eee97192862dcd971a0

Description

OCaml bindings for the cvc5 SMT solver

Added to opam-repository:

README

Build badge MIT Platform

ocaml-cvc5

OCaml bindings for the cvc5 Satisfiability Modulo Theories (SMT) solver

Installation

Opam


  • Install opam.
  • Bootstrap the OCaml compiler:
opam init
opam switch create 5.2.0 5.2.0
  • Install cvc5's OCaml bindings:
opam install cvc5

:warning: Installation via Opam is only available for Linux systems.

Build from source


  • Clone the complete source tree:
git clone --recurse-submodules https://github.com/formalsec/ocaml-cvc5
  • Install the library dependencies:
cd ocaml-cvc5
opam install . --deps-only
  • Build and test:
dune build
dune runtest
  • Install cvc5's OCaml bindings on your path by running:
dune install

Examples

Run examples with:

dune exec -- examples/toy.exe  #replace toy with any other example

Development

Creating a new release

# Create a new tag and push it to github
git tag -a TAG
git push -u origin TAG

# Wait for CI to create a new release and then run publish script
./scripts/publish.sh

To run the publish script you need to install opam-publish and create a github token with the scopes repo and workflow. You can then set this token to the env var export OPAM_PUBLISH_GH_TOKEN=ghp_....

Dev Dependencies (2)

  1. odoc with-doc
  2. alcotest with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building cvc5 with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.3.0-3 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure