From: Dario Teixeira <darioteixeira@yahoo.com>
To: caml-list@yquem.inria.fr
Subject: Virtual packages in findlib
Date: Tue, 7 Jul 2009 11:07:55 -0700 (PDT) [thread overview]
Message-ID: <669097.48491.qm@web111515.mail.gq1.yahoo.com> (raw)
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
next reply other threads:[~2009-07-07 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 18:07 Dario Teixeira [this message]
2009-07-08 7:41 ` [Caml-list] " Stefano Zacchiroli
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=669097.48491.qm@web111515.mail.gq1.yahoo.com \
--to=darioteixeira@yahoo.com \
--cc=caml-list@yquem.inria.fr \
/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