Skip to content

Build instructions

Clark Gaebel edited this page Mar 17, 2022 · 21 revisions

Magic-trace is written in OCaml. It uses opam as its package manager, and dune as its build system.

  1. Install opam bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"

  2. Select the 4.13.1 compiler opam switch create 4.13.1 4.13.1

  3. Add the ability to fetch some extra dependencies opam repo add janestreet-bleeding https://ocaml.janestreet.com/opam-repository

  4. Install dependencies opam install ./magic-trace.opam --deps-only

  5. build dune build