Hi Christoph,

Since ocaml-lua is using oasis build system underneath the hood it is possible to control configuration parameters via environment variables. Any variable, if not set
explicitly by a command line, will be looked up in the environment.  In your case enabling `luajit` should be as simple as:

     luajit=true opam install ocaml-lua

Regards,
Ivan

On Tue, Sep 6, 2016 at 6:34 AM, Louis Gesbert <louis.gesbert@ocamlpro.com> wrote:
> - Daniel Bünzli, 06/09/2016 11:49 -
> On Tuesday 6 September 2016 at 11:46, Daniel Bünzli wrote:
> > You can do `opam pin edit ocaml-lua` and change the build instructions to your wishes. But best would be to upstream luajit discovery.
>
> Note that you will first need to pin to a specific version using e.g. `opam pin add ocaml-lua 1.4`

[not anymore in opam 2.0, but it's not out yet]

--
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs