[opam-devel] [opam-dockerfiles] Bytecode only switches
Jeremy Yallop
yallop at gmail.com
Tue Feb 9 10:18:08 GMT 2016
On 9 February 2016 at 10:09, Anil Madhavapeddy <anil at recoil.org> wrote:
> On 8 Feb 2016, at 22:07, Daniel Bünzli <daniel.buenzli at erratique.ch> wrote:
>>
>> Having seen a worrying trend of people submitting package with ad-hoc installers made out of Makefile targets that will fail in various fashions on more constrained switches, I think it would be good to have at least one distribution with a bytecode only switch. This would ensure that packages are able to build in such constrained environment.
>>
>> Bytecode only switches are useful for ocaml language/runtime/compiler researchers and to use OCaml on more esoteric platforms that lack native-code support.
>
> Agreed -- I run into this frequently when porting to OpenBSD PowerPC, and it's much easier to fix it as we go along.
>
> Would anyone have time to put together an OPAM bytecode-compiler-only switch for 4.02.3? I can create the base packages easily then.
Here's a switch which supports ocamlc, but not ocamlopt or ocamlc.opt:
https://github.com/ocaml/opam-repository/pull/5571
More information about the opam-devel
mailing list