|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] ARM64 hardware in osstest (WAS: [PATCH 0/2] ocaml: Start on fixing brokenness when no ocamlopt)
> On 30. Mar 2017, at 15:40, Ian Jackson <ian.jackson@xxxxxxxxxxxxx> wrote:
>
> Christian, can you advise what the correct test should be to check
> whether the native code compiler is available ? I can then try to
> make a patch to our autoconfery, and maybe you would be able to review
> it. Or if you prefer to make that patch I'd be happy to review it of
> course.
Native code compilation is available when either ocamlopt or ocamlopt.opt is in
the PATH. The byte code compilers are ocamlc and ocamlc.opt and at least one of
them should be in the PATH. This should be easy to check with autoconf. This
assumes that the compiler installation is otherwise reasonable such that
autoconf does not have to check for all other tools that compilation depends
on. While it is conceivable that only the native code compilers are available
and not the byte code compilers, I would not plan for that.
The difference between {ocamlc,ocamlopt}.opt and {ocamlc,ocamlopt} is that the
.opt compilers are themselves native binaries but they create the same code -
so ocamlopt and ocamlopt.opt will create the same native binary but the .opt
variant is compiling code a bit quicker.
I’ll try to get byte-code-only compilation of xenstored to work and would be
happy if you would improve the autoconf part.
Cheers
— Christian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |