caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Speeding up compilation
@ 2014-04-02 20:14 Anders Peter Fugmann
  2014-04-02 20:34 ` Daniel Bünzli
  2014-04-08 17:32 ` Pietro Abate
  0 siblings, 2 replies; 12+ messages in thread
From: Anders Peter Fugmann @ 2014-04-02 20:14 UTC (permalink / raw)
  To: caml-list

Hi,

While trying to speed up compilation of a project of around ~150 source 
files, i found that ocamlfind invokes a bytecode version of CamlP4.

Our homemade Makefile uses ocamlfind to compile bytecode and optimized 
code as well as dependency tracking using ocamldep and hand written 
tools. Almost every source file makes use of p4 extensions.

When compiling though ocamlfind using the -syntax flag, I can see that 
ocamlfind starts ocamlp4 which is ocaml bytecode, and I cannot find any 
flags that allows me to use any optimized version. Also it seems that an 
optimized version of camlp4 is compiled (ocaml compiler is compiled via 
opam).

Is there any way to use a optimized version of camlp4. Also any other 
ideas on how to speed up compilation would be appreciated.

Regards
Anders Fugmann


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-04-08 17:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 20:14 [Caml-list] Speeding up compilation Anders Peter Fugmann
2014-04-02 20:34 ` Daniel Bünzli
2014-04-02 20:43   ` Fabrice Le Fessant
2014-04-02 20:54     ` Yotam Barnoy
2014-04-03  2:10       ` Francois Berenger
2014-04-02 21:00     ` Anders Peter Fugmann
2014-04-02 20:49   ` Anders Peter Fugmann
2014-04-02 21:09     ` Daniel Bünzli
2014-04-02 21:42   ` Gerd Stolpmann
2014-04-03 21:00     ` Anders Peter Fugmann
2014-04-04 20:55       ` Gerd Stolpmann
2014-04-08 17:32 ` Pietro Abate

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).