package rmlbuild

  1. Overview
  2. Docs
rmlbuild is a fork of ocamlbuild that handles ReactiveML projets

Install

Dune Dependency

Authors

Maintainers

Sources

0.14.0-00.tar.gz
sha256=2d5727b0d0fdefc0d6ad06daa1889681a6dc377e6894d7e025f7f14da96fcf58
md5=212a4ec82342ef61c571d367f42f77ee

Description

Published: 24 Sep 2020

README

OCamlbuild

OCamlbuild is a generic build tool, that has built-in rules for building OCaml library and programs.

In recent years, the OCaml community has converged towards a more recent and faster build tool: Dune. If you are choosing a build system, you should probably use Dune instead. (Between January and June 2019, 77 new OCaml packages using ocamlbuild were publicly released, versus 544 packages using dune.)

Your should refer to the OCambuild manual for more informations on how to use ocamlbuild.

Automatic Installation

With opam:

opam install ocamlbuild

If you are testing a not yet released version of OCaml, you may need to use the development version of OCamlbuild. With opam:

opam pin add ocamlbuild --kind=git "https://github.com/ocaml/ocamlbuild.git#master"

Compilation from source

We assume GNU make, which may be named gmake on your system.

  1. Configure.
make configure

The installation location is determined by the installation location of the ocaml compiler. You can set the following configuration variables (make configure VAR=foo):

  • OCAMLBUILD_{PREFIX,BINDIR,LIBDIR} will use opam or ocaml/ocamlfind's settings by default; see configure.make for the precise initialization logic.
  • OCAML_NATIVE: should be true if native compilation is available on your machine, false otherwise
  1. Compile the sources.
make
  1. Install.
make install

You can also clean the compilation results with make clean, and uninstall a manually-installed OCamlbuild with make uninstall.

Dependencies (1)

  1. ocaml >= "4.03" & < "5.0.0"

Dev Dependencies

None

Used by

None

Conflicts (2)

  1. ocamlfind < "1.6.2"
  2. base-ocamlbuild
OCaml

Innovation. Community. Security.