[opam-devel] Using binaries
Gabriel Scherer
gabriel.scherer at gmail.com
Fri Jan 22 13:34:34 GMT 2016
I would be interested in some more information on this. This seems very
simple as you say it, but I had not thought about the fact that OPAM
already has the capacities to act as a binary distribution platform -- I
somehow thought that there would be an announcement of some new extra
features at some point designed for binary distribution.
Louis, you are saying that this is feasible. Are you aware of this actually
having been done? For example, is anyone working on providing a, say, opam
repository for x86-64 binaries corresponding to the packages available on
opam-repository?
I suppose that if people proposed that, they would probably pre-build
binaries for only a subset of the possible packages or configurations.
Would it work to mix a "binary repository" that provides only a subset of
the packages, and the official source repository, and would package query
solvers have a way to do the right thing there? Or would it be the
responsibility of the alternate repository provider to include a
source-only fallback for the non-distributed packages? (This would make it
harder to have a single repository with binary packages for several
architectures.)
On Fri, Jan 22, 2016 at 7:37 AM, Louis Gesbert <louis.gesbert at ocamlpro.com>
wrote:
> The package/compiler descriptions fetch an archive and run custom commands
> for
> build and install, so although the standard repo only provides source
> packages, you are free to build from source or just download and install a
> precompiled binary: Opam itself is agnostic in that regard.
>
> Hope this helps,
> Louis Gesbert - OCamlPro
>
> Le jeudi 21 janvier 2016, 09:42:45 Edgar Aroutiounian a écrit :
> > Greetings all,
> >
> > I’m trying to wrap up a compiler for opam, specifically this one
> >
> > http://psellos.com/ocaml/compile-to-iphone.html
> > <http://psellos.com/ocaml/compile-to-iphone.html>
> >
> > Its an ocaml compiler ready for iOS. Right now I have the repo here,
> >
> > https://github.com/fxfactorial/opam-ios
> > <https://github.com/fxfactorial/opam-ios>
> >
> > and its essentially in the same vein as:
> >
> > https://github.com/whitequark/opam-android
> > <https://github.com/whitequark/opam-android>
> >
> > but I very much would like to avoid having to do though the process of
> > building etc. Does opam not have to just be given a binary? This would
> make
> > it much easier methinks.
> >
> > -Edgar Aroutiounian
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20160122/ed0d8f05/attachment.html>
More information about the opam-devel
mailing list