Commit Graph

17 Commits (583bfd46c21f66ef6c8b82578289c74f983afd51)

Author SHA1 Message Date
Gabriel Scherer 4cedfd24c1 [PR#6059, patch by Anil Madhavapeddy] add -output-obj rules and targets to ocamlbuild for byte and native code
Three corresponding targets are added:
%.byte.o   : bytecode object file
%.byte.c   : bytecode source C file
%.native.o : native code object file


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-30 08:34:42 +00:00
Gabriel Scherer 122caaf20b ocamlbuild: when tag "native" is set, use ocamlopt instead of ocamlc for .mli->.cmi
This was requested (with a patch proposal) by "jessicah" in
PR#4613. Given that the effect of such changes are hard to test,
I commit this in trunk only, not version-4.01, to give more time to
detect eventual problems.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-16 19:07:45 +00:00
Wojciech Meyer a3c8cd0170 Fix PR#5752.
Patch by Grégoire Sutre!

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13154 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-22 01:34:21 +00:00
Damien Doligez 3dd2fee2ee fix formatting of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12808 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 14:47:00 +00:00
Damien Doligez c91db736b1 merge changes from 3.12.0 to 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-20 09:17:07 +00:00
Nicolas Pouillard 4e6cb15c4f ocamlbuild: Add support for native dynlink
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10264 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-17 16:15:42 +00:00
Xavier Clerc bcdf4082cf Support for parametrized tags (N. Pouillard et al.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 14:36:57 +00:00
Nicolas Pouillard 5da04f8b51 ocamlbuild: Kill $Id$'s
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-03-03 16:54:58 +00:00
Nicolas Pouillard 3a4356befd [ocamlbuild] Move some functions from Pathname to Resource and use Digest_cache.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8668 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-28 16:08:18 +00:00
Nicolas Pouillard 5d85b57cb1 [ocamlbuild] Reflect in rules that cmi cannot go in libraries.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-22 18:50:29 +00:00
Nicolas Pouillard 5bc8725446 [ocamlbuild] Better understand and revamp .depends generation and usage.
.depends  file  was  generated  by  an  ugly  rule  that executed the ocamldep
command  instead  of returning it for later execution. Moreover this execution
was  in  order to read the output and store as a side effect. By doing this it
was  more complicated to work with this command. Now the rule just returns the
command  to  execute  as  for  other  rules.  And  that's  clients  that wants
dependencies of a file that trigger the reading of this file.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8566 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-21 18:32:32 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Nicolas Pouillard 0105c80c6a [ocamlbuild] use_lib improvments. See the ChangeLog for more details
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7928 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-26 16:27:45 +00:00
Nicolas Pouillard 82a5319709 [ocamlbuild] Keep include dirs uniq for -pack.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7862 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 15:34:30 +00:00
Nicolas Pouillard 824dc3994e [ocamlbuild] ocamlmktop, and thread tag in native code (see ChangeLog for more details)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7858 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-12 10:26:08 +00:00
Nicolas Pouillard 0368536e72 [ocamlbuild] some changes see ocamlbuild/ChangeLog
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7842 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-08 16:53:39 +00:00
Nicolas Pouillard 381e325c0f Add the ocamlbuild directory
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7823 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-07 08:59:16 +00:00