caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sylvain Le Gall <sylvain@le-gall.net>
To: Francois BERENGER <berenger@bioreg.kyushu-u.ac.jp>, caml-list@inria.fr
Subject: Re: [Caml-list] with oasis, how to create setup.ml.exe ?
Date: Thu, 06 Jul 2017 07:29:55 +0000	[thread overview]
Message-ID: <CAOCAUGMceSY6_ibubWyo1Bf66--sYvZVoCb8+439VTq-V7D44g@mail.gmail.com> (raw)
In-Reply-To: <53fb9d24-28fe-7e95-21ec-64579b6615b4@bioreg.kyushu-u.ac.jp>

[-- Attachment #1: Type: text/plain, Size: 1578 bytes --]

Hello,

Submitted new issue:
https://github.com/ocaml/oasis/issues/113

Regards
Sylvain

On Thu, Jul 6, 2017, 01:52 Francois BERENGER <berenger@bioreg.kyushu-u.ac.jp>
wrote:

> On 07/05/2017 06:28 PM, Vivien Kraus wrote:
> > Hello,
> > It is produced by the configure script from DevFiles, and not the
> > setup.ml script.
>
> OK, you are right and it fixed my problem.
>
> However, oasis doesn't complain when
> ---
> AlphaFeatures: compiled_setup_ml
> ---
> is present but
> ---
> Plugins:     DevFiles (0.4)
> ---
> is not.
>
> I think it's a bug.
> At least a warning should be generated in this case.
> Or, maybe oasis should infer automatically the Plugins part.
>
> Thanks for the help,
> F.
>
> > See your "configure script", it has a line for this :
> >
> > if [ ! -e setup.exe ] || [ _oasis -nt setup.exe ] || [ setup.ml -nt
> > setup.exe ] || [ configure -nt setup.exe ]; then
> >    ocamlfind ocamlopt -o setup.exe setup.ml || ocamlfind ocamlc -o
> > setup.exe setup.ml || exit 1
> >    rm -f setup.cmi setup.cmo setup.cmx setup.o setup.cmt
> > fi
> >
> > Regards,
> >
> > Vivien
> >
> > Le 05/07/2017 à 10:20, Francois BERENGER a écrit :
> >> Hello,
> >>
> >> I added AlphaFeatures: compiled_setup_ml
> >> in my _oasis file, but I don't see this exe being produced.
> >>
> >> Are there some magic words I should pronounce (on the command line)
> >> to make it appear?
> >>
> >> Which oasis step or invocation of 'ocaml setup.ml' is supposed to
> >> produce it?
> >>
> >> Thanks,
> >> F.
> >>
> >
>

[-- Attachment #2: Type: text/html, Size: 2515 bytes --]

      reply	other threads:[~2017-07-06  7:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05  8:20 Francois BERENGER
2017-07-05  9:28 ` Vivien Kraus
2017-07-05 23:52   ` Francois BERENGER
2017-07-06  7:29     ` Sylvain Le Gall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOCAUGMceSY6_ibubWyo1Bf66--sYvZVoCb8+439VTq-V7D44g@mail.gmail.com \
    --to=sylvain@le-gall.net \
    --cc=berenger@bioreg.kyushu-u.ac.jp \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).