From: "Hezekiah M. Carty" <hez@0ok.org>
To: Thomas Gazagnaire <thomas@gazagnaire.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Running an Opam Cache?
Date: Mon, 31 Oct 2016 21:37:40 +0000 [thread overview]
Message-ID: <CAMfPyLBKKYQsJmSBrPazsoQA0ankqbQNaXNsYWyQKBzNhDLgDw@mail.gmail.com> (raw)
In-Reply-To: <95A490A3-072E-4F6B-A889-2B3DA1FF3B3A@gazagnaire.org>
[-- Attachment #1: Type: text/plain, Size: 914 bytes --]
On Mon, Oct 31, 2016 at 2:25 PM Thomas Gazagnaire <thomas@gazagnaire.org>
wrote:
> > I understand that packages can be pinned locally using each package’s
> Git repo and this would work if each package also includes its opam files.
> I am looking for a way to populate the cache with the tar/zip files that
> the Opam packages point to.
>
> There are various ways to do it, the easiest one would be to use
> `opam-admin`:
>
> ```
> $ git clone https://github.com/ocaml/opam-repository
> $ cd opam-repository
> $ opam-admin make --resolve [an optional list of packages to limit the
> size of the cache]
> $ opam remote add local-cache .
> ```
>
Is there an existing automated tool to do the same for compilers? Or just
download the source + edit the compilers/*/*/*.comp files by hand/script?
This will, I suspect, be simpler with opam 2.0 and compilers-as-packages.
Thanks,
Hez
[-- Attachment #2: Type: text/html, Size: 2437 bytes --]
next prev parent reply other threads:[~2016-10-31 21:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 8:34 Christian Lindig
2016-10-31 18:25 ` Thomas Gazagnaire
2016-10-31 21:37 ` Hezekiah M. Carty [this message]
2016-11-01 20:21 ` Thomas Gazagnaire
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=CAMfPyLBKKYQsJmSBrPazsoQA0ankqbQNaXNsYWyQKBzNhDLgDw@mail.gmail.com \
--to=hez@0ok.org \
--cc=caml-list@inria.fr \
--cc=thomas@gazagnaire.org \
/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