Skip to content

Commit

Permalink
Document the static build procedure in README
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbaturin committed Mar 26, 2024
1 parent 83875fb commit a07eadc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ Finally, you can build the latest development version with:
opam pin add git+https://github.com/PataphysicalSociety/soupault
```

To build static binaries, you need to install OCaml with musl runtime,
then use the `static` Dune profile:

```
# For OCaml 4.12.2, adjust for your desired version
opam switch create 4.14.2-musl ocaml-variants.4.14.2+options ocaml-option-musl ocaml-option-static
opam switch 4.14.2-musl
# Build static binaries
dune build --profile=static
```

# Contributing

Bug reports and patches are always welcome. Feature requests and new features are also welcome,
Expand Down

0 comments on commit a07eadc

Please sign in to comment.