Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build instructions

Kevin Svetlitski edited this pageDec 17, 2025 ·24 revisions

magic-trace is written inOxCaml. It usesopam as its package manager, anddune as its build system.

  1. Install opam
bash -c"sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"opam init --bare
  1. Select the 5.2.0 OxCaml compiler
opam switch create magic-trace 5.2.0+ox --repos ox=git+https://github.com/oxcaml/opam-repository.git,defaulteval$(opam env --switch=magic-trace)
  1. Clone the magic-trace repo
git clone https://github.com/janestreet/magic-trace.gitcd magic-trace
  1. Install dependencies
opam install ocamlformatopam install ./magic-trace.opam --deps-only
  1. Build, test, and autoformat it
dune build @default @runtest @fmt --auto-promote
  1. Run it
_build/default/bin/magic_trace_bin.exe -help

Clone this wiki locally


[8]ページ先頭

©2009-2026 Movatter.jp