caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] with oasis, how to create setup.ml.exe ?
@ 2017-07-05  8:20 Francois BERENGER
  2017-07-05  9:28 ` Vivien Kraus
  0 siblings, 1 reply; 4+ messages in thread
From: Francois BERENGER @ 2017-07-05  8:20 UTC (permalink / raw)
  To: caml-list

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.

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

* Re: [Caml-list] with oasis, how to create setup.ml.exe ?
  2017-07-05  8:20 [Caml-list] with oasis, how to create setup.ml.exe ? Francois BERENGER
@ 2017-07-05  9:28 ` Vivien Kraus
  2017-07-05 23:52   ` Francois BERENGER
  0 siblings, 1 reply; 4+ messages in thread
From: Vivien Kraus @ 2017-07-05  9:28 UTC (permalink / raw)
  To: caml-list

Hello,
It is produced by the configure script from DevFiles, and not the
setup.ml script.

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.
> 

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

* Re: [Caml-list] with oasis, how to create setup.ml.exe ?
  2017-07-05  9:28 ` Vivien Kraus
@ 2017-07-05 23:52   ` Francois BERENGER
  2017-07-06  7:29     ` Sylvain Le Gall
  0 siblings, 1 reply; 4+ messages in thread
From: Francois BERENGER @ 2017-07-05 23:52 UTC (permalink / raw)
  To: caml-list; +Cc: sylvain

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.
>>
> 

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

* Re: [Caml-list] with oasis, how to create setup.ml.exe ?
  2017-07-05 23:52   ` Francois BERENGER
@ 2017-07-06  7:29     ` Sylvain Le Gall
  0 siblings, 0 replies; 4+ messages in thread
From: Sylvain Le Gall @ 2017-07-06  7:29 UTC (permalink / raw)
  To: Francois BERENGER, caml-list

[-- 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 --]

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

end of thread, other threads:[~2017-07-06  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05  8:20 [Caml-list] with oasis, how to create setup.ml.exe ? 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 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).