./devel/ocamlbuild, Build system for OCaml

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.12.0nb2, Package name: ocamlbuild-0.12.0nb2, Maintainer: jaapb

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

Required to run:
[lang/ocaml] [devel/ocaml-findlib]

Required to build:

Master sites:

SHA1: ac8024b4ed6d92a5871dc218259a683808753b1f
RMD160: d4622df37340010a3a5c29b24cb1357931be1273
Filesize: 192.412 KB

Version history: (Expand)

CVS history: (Expand)

   2018-07-19 17:15:31 by Jaap Boender | Files touched by this commit (190) | Package updated
Log message:
Recursive revbump associated with the update of lang/ocaml to 4.07.
   2018-04-13 15:55:39 by Jaap Boender | Files touched by this commit (88)
Log message:
Revbump associated with the upgrade of lang/ocaml

(this is the upgrade from 4.06 to 4.06.1)
   2018-01-10 17:13:18 by Jaap Boender | Files touched by this commit (4) | Package updated
Log message:
Updated package devel/ocamlbuild to version 0.12.0.

This is a maintenance release containing mostly bugfixes and a few
user-contributed features (see the Changes file).
   2017-09-08 11:51:27 by Jaap Boender | Files touched by this commit (113) | Package updated
Log message:
Recursive revbump associated with update of ocaml to 4.05
   2017-07-11 12:05:25 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Updated package to latest version, 0.11.0. Changes include:

0.11.0 (5 Mar 2017):

OCamlbuild 0.11.0 introduces a change to the way `.cmxs` files are
produced when no `.mldylib` file is absent: it will now use the exact
same semantics as `.cmxa` and `.mllib` file -- in particular, it
should not be necessary anymore to have identical
`foo.{mllib,mldylib}` files, only `foo.mllib` should suffice. See the
detailed changelog below for details.

- added "nostdlib" flag for corresponding ocaml{c,opt} options
  (Thomas Wood)

- add `node_modules` to the list of directories ignored by default
  (.svn/, CVS/, .bzr/, .hg/, .git/, _darcs/, node_modules/)
  (Yunxing Dai)

- added "-toolchain" option for corresponding ocamlfind option.

- install ocamlbuild's man pages, missing since 4.02
  (Adam Sampson and Gabriel Scherer)

- make sure that -just-plugin always stops after the plugin-build phase
  (Gabriel Scherer, report by whitequark)

* remove the rule ".cmx -> .cmxs"
  Previously, there was a ".cmx -> .cmxa" rule that would
  pull a module and its dependencies in a .cmxa, and a separate
  ".cmx -> .cmxs" rule that would pull only a module as a .cmxs.

  The latter is a reasonable default choice, the idea being that
  a module's dependencies may often be statically linked with the
  program instead of being dynamically linked. But it conflicts with
  the presence of a rule ".cmxa -> .cmxs" as soon as the library has
  the same name as one of the modules it contains.

  The reason why the rule ".cmxa -> .cmxs" matter is that it can be
  composed with the rule ".mllib -> .cmxa" to build .cmxs files from
  .mllib files, without having to copy each .mllib file into
  a separate .mldylib file.

  In other terms, the previous behaviour would, by default (in absence
  of .mldylib file who always takes priority), only link the module in
  the .cmxs file, and people wishing otherwise would have to write
  a list of modules in a .mldylib file. The new behavior will, by
  default, take the .mllib file or the module dependencies (as for
  .cmxa) to build a .cmxs file, and people wishing otherwise will have
  to write just the module name in a .mldylib file.

  It is unclear whether this change will break some projects on which
  users relied on the previous semantics. It seems equally likely that
  the previous semantics, when it applied, was a source of bugs
  (the .cmxs files didn't have the expected modules) that would not be
  discovered by people not testing dynamic linking. Such bugs have
  been found and fixed in the following cases:

  - <https://github.com/dbuenzli/uucp/pull/9>
  - <https://github.com/dbuenzli/uunf/pull/4>
  - <https://github.com/dbuenzli/uuseg/pull/4>

  (Daniel Bünzli, Jérémie Dimino, Armaël Guéneau, Gabriel \ 
Scherer, whitequark)

- do not explicitly pass -shared when building shared libraries;
  let the compiler decide what to build.

- migration of Mantis bugtracker issues to the github issue tracker
  (Damien Doligez)

- setting up Continuous Infrastructure (CI) testsuite checks

- install license, changes and readme in opam's docdir for `odig`
  (Gabriel Scherer, request and review by Daniel Bünzli)

* new heuristic for handling the OCAMLLIB environment variable.
  `ocamlbuild -where` will ignore OCAMLLIB completely if OCAMLBUILD_LIBDIR is
  not a lexical subdirectory of OCAML_LIBDIR (i.e. an opam installation).
  Otherwise, it now returns $OCAMLLIB with the difference between
  OCAMLBUILD_LIBDIR and OCAML_LIBDIR appended (i.e. for a normal findlib
  installation, it now returns $OCAMLLIB/site-lib/ocamlbuild)
  (David Allsopp, review by Gabriel Schere)

- "noautolink" tag for ocaml{c,opt}
  (Gabriel Scherer)

0.10.{0,1} (Dec 2016):

These releases were never widely distributed, because of
a quickly-caught regression due to the change of .cmxs compilation
behavior, fixed with the help Daniel Bünzli, Jérémie Dimino
and, in particular, whitequark.

0.9.3 (6 Oct 2016):

OCamlbuild 0.9.3 introduces several features contributed or requested
by our users. See the detailed changelog below.

- new ".o -> .clib" rule to build libraries out of single C stubs
  (Gabriel Scherer, request by whitequark)

- Integrate the in-progress OCamlbuild manual, previously located at
  into the ocamlbuild repository, in the manual/ subdirectory.
  The most current version of the manual can thus be accessed at
    https://github.com/ocaml/ocamlbuild/tre … anual.adoc
  (Gabriel Scherer)

- added "noassert" and "unsafe" flag for corresponding \ 
ocaml{c,opt} options
  (François Pottier)

- added "cc", "cclib", and "ccopt" flags which \ 
correspond to the
  respective ocaml{c,opt} options
  (Rudi Grinberg)

- add infer_interface support for various type-checking-time flags:
    color, keep_docs, no_alias_deps, nolabels, nopervasives, open,
    strict_formats, strict_sequence, warn, warn_error
  (Gabriel Scherer, report by Knuth Posern)
   2016-12-30 12:17:03 by Jaap Boender | Files touched by this commit (89) | Package updated
Log message:
Recursive revbump associated with ocaml update to 4.04.
   2016-06-09 08:23:41 by Thomas Klausner | Files touched by this commit (38)
Log message:
Fix HOMEPAGE to be copy'n'pastable.
   2016-05-05 17:58:59 by Jaap Boender | Files touched by this commit (5) | Package updated
Log message:
Updated package to version 0.9.2. Changes include:

OCamlbuild 0.9.2 is a release to support OCaml 4.03. Martin Neuhäußer
contributed new flags for flambda-specific optimization options. We
also extend the scope of the flags -opaque and -for-pack, to align
with 4.03 best practices. Note that OCamlbuild should still work
correctly under older OCaml releases.

- 67: Add support for flambda's optimization parameters
  The flags are named according to the flambda options with two exceptions:
    optimization_rounds(int) for -rounds <int>
    optimize({2,3,classic}) for -O{2,3,classic}
  (Martin Neuhäußer)
- 70 (pratial): fix hygiene complains about the build directory under
  (Andreas Hauptmann, Gabriel Scherer)
- 73: also pass predicates(foo) to ocamldep
  (Jérémie Dimino)
- extend the scope of the -opaque flag under 4.03
  (Gabriel Scherer)
- extend the scope of the -for-pack flag to ocamlc,
  as recommend by OCaml compiler maintainers in
  (Gabriel Scherer)