MyGit

ocaml/ocamlbuild

Fork: 81 Star: 122 (更新于 2024-12-19 01:46:44)

license: NOASSERTION

Language: OCaml .

The legacy OCamlbuild build manager

最后发布版本: 0.15.0 ( 2024-06-29 16:58:29)

GitHub网址

OCamlbuild

build

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.

最近版本更新:(数据更新于 2024-08-29 12:40:32)

2024-06-29 16:58:29 0.15.0

2023-12-21 00:51:15 0.14.3

2022-09-28 22:44:22 0.14.2

2022-02-09 19:21:58 0.14.1

2019-02-24 00:00:05 0.14.0

2017-11-12 01:44:35 0.12.0

2017-03-06 06:53:16 0.11.0

ocaml/ocamlbuild同语言 OCaml最近更新仓库

2024-09-10 20:49:27 c-cube/ocaml-containers

2024-09-04 16:25:47 mirleft/ocaml-tls

2024-06-17 17:04:46 ocaml/dune

2024-05-26 22:10:33 ocsigen/js_of_ocaml

2024-05-13 20:27:08 ocaml/ocaml

2024-04-18 18:07:29 ocaml-ppx/ocamlformat