* Virtual packages in findlib
@ 2009-07-07 18:07 Dario Teixeira
2009-07-08 7:41 ` [Caml-list] " Stefano Zacchiroli
0 siblings, 1 reply; 2+ messages in thread
From: Dario Teixeira @ 2009-07-07 18:07 UTC (permalink / raw)
To: caml-list
Hi,
(This is somewhat related to my previous question; having an order-preserving
Ocamlbuild would be moot if findlib supported some sort of virtual packages).
Suppose that for successful linking you need a package B to appear after
package A1. However, A1 is only one particular instantiation of A-ness.
You could replace A1 with A2 or A3, and the program would also link and run.
Is there a way of expressing this sort of dependency with findlib? Something
like "requires = A1 | A2 | A3". Or even better, allowing packages A1, A2,
and A3 to provide a virtual package "A", and make B depend on that. (The
Debian folks will recognise this pattern).
Best regards,
Dario Teixeira
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Virtual packages in findlib
2009-07-07 18:07 Virtual packages in findlib Dario Teixeira
@ 2009-07-08 7:41 ` Stefano Zacchiroli
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Zacchiroli @ 2009-07-08 7:41 UTC (permalink / raw)
To: caml-list
On Tue, Jul 07, 2009 at 11:07:55AM -0700, Dario Teixeira wrote:
> having an order-preserving Ocamlbuild would be moot if findlib
> supported some sort of virtual packages).
Can you explain that? I don't see why virtual packages can resolve
ordering problems.
(Following your analogy, the same problems exist with Debian packages:
if you have pre-dependencies which force an order among packages, you
cannot fix that by resorting to virtual packages.)
Cheers.
--
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-08 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-07 18:07 Virtual packages in findlib Dario Teixeira
2009-07-08 7:41 ` [Caml-list] " Stefano Zacchiroli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox