coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Thomas Gazagnaire <thomas AT ocamlpro.com>
- To: Thomas Refis <thomas.refis AT gmail.com>
- Cc: Stefan Monnier <monnier AT iro.umontreal.ca>, coq-club AT inria.fr, platform <platform AT lists.ocaml.org>
- Subject: Re: [ocaml-platform] [Coq-Club] Coq opam package
- Date: Thu, 11 Apr 2013 12:25:19 +0200
Hi,
> Another possibility is to not update a package right away when a knew
> optional dependency is available, but wait for the next "opam
> upgrade".
If you do that in the general case, you will have your system in a
inconsistent state: if you have a library linking to both A already upgraded
and B not yet upgraded, and if A uses B, then the OCaml compiler will
complain (rightfully) at link time.
> And adding a "--ignore <package>" option to the upgrade
> command would be nice as well.
You can do `opam upgrade xxx` to upgrade only the package you are interested
in. I've opened [1] to add a --ignore option.
[1] https://github.com/OCamlPro/opam/issues/590
> The fact that you don't have a choice when installing a package to
> update all the package that may use it or not, is imho really
> frustrating. I have indeed had to recompile coq a few times as well,
> and the experience gets more annoying every time.
The solution for coq is to declare `labgtk` as an optional build-time
dependency (eg. simply remove it from the list of optional link-time
dependency, but let the right option in the configure invocation).
--
Thomas
- [Coq-Club] Coq opam package, François Bobot, 04/10/2013
- Re: [Coq-Club] Coq opam package, Stefan Monnier, 04/10/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Thomas Refis, 04/10/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Wojciech Meyer, 04/10/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Gregory Malecha, 04/10/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Anil Madhavapeddy, 04/10/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Wojciech Meyer, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, François Bobot, 04/17/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Wojciech Meyer, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Thomas Gazagnaire, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, François Bobot, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Thomas Gazagnaire, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Sylvain Le Gall, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Thomas Gazagnaire, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, François Bobot, 04/11/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Wojciech Meyer, 04/10/2013
- Re: [ocaml-platform] [Coq-Club] Coq opam package, Thomas Refis, 04/10/2013
- Re: [Coq-Club] Coq opam package, AUGER Cédric, 04/10/2013
- Re: [Coq-Club] Coq opam package, Stefan Monnier, 04/10/2013
Archive powered by MHonArc 2.6.18.