GithubHelp home page GithubHelp logo

patricoferris / ocamlbuild Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ocaml/ocamlbuild

0.0 2.0 0.0 1.36 MB

The legacy OCamlbuild build manager

License: Other

Makefile 2.96% OCaml 94.33% Shell 2.28% Standard ML 0.43%

ocamlbuild's Introduction

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.

ocamlbuild's People

Contributors

gasche avatar np avatar danmey avatar whitequark avatar xclerc avatar bobot avatar kit-ty-kate avatar agarwal avatar rgrinberg avatar xavierleroy avatar ttamttam avatar rleonid avatar lindig avatar ignoredambience avatar alainfrisch avatar khady avatar dra27 avatar xcthulhu avatar bschommer avatar yallop avatar lehy avatar dbuenzli avatar lefessan avatar jamesjer avatar jeremiedimino avatar octachron avatar chakku000 avatar xinzheyang avatar infinity0 avatar vbgl avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.