From: "Ludovic Courtès" <ludo@gnu.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: Overhauling the cargo-build-system
Date: Sun, 17 Nov 2019 22:22:21 +0100 [thread overview]
Message-ID: <874kz2jj02.fsf@gnu.org> (raw)
In-Reply-To: <20191117071934.GC12423@E5400> (Efraim Flashner's message of "Sun, 17 Nov 2019 09:19:34 +0200")
Hi,
Efraim Flashner <efraim@flashner.co.il> skribis:
> The big problems are the recursive dependencies, the partial
> dependencies and the versioning. There are some that are easy to figure
> out, serde always needs serde-derive, winapi always needs the
> winapi-[i686|x86_64] crates, rayon -> rayon-core, etc.
Do you mean that the crate importer returns partial dependency info?
That alone would be OK, many importers return incomplete dependency
info, but we can fill that out when making the package.
> I suppose one way to work around some of the issues is to make it so
> that the crates "build" by copying the source to %out/share/guix-vendor
> or something.
So the core issue is that there’s nothing like shared libraries, is that
correct? This, in turn, means that there’s nothing to actually build,
and thus a crate doesn’t really map to a package in the usual sense of
the word, right?
In that case, what you suggest (copying the source in the package
output) sounds like it could work. It would be an improvement over what
we have now: the package graph would correspond to the crate graph.
Thanks,
Ludo’.
next prev parent reply other threads:[~2019-11-17 21:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-10 15:50 Overhauling the cargo-build-system Efraim Flashner
2019-10-10 22:33 ` Ludovic Courtès
2019-10-11 14:13 ` Efraim Flashner
2019-11-16 6:31 ` Martin Becze
2019-11-16 16:37 ` John Soo
2019-11-16 18:44 ` Martin Becze
2019-11-16 21:33 ` Ludovic Courtès
2019-11-17 2:35 ` Martin Becze
2019-11-17 7:19 ` Efraim Flashner
2019-11-17 21:22 ` Ludovic Courtès [this message]
2019-11-18 10:20 ` Efraim Flashner
2019-11-23 17:27 ` Ludovic Courtès
2019-12-09 4:45 ` Chris Marusich
2019-12-09 20:14 ` Martin Becze
2019-12-19 16:10 ` Ludovic Courtès
2019-12-19 16:09 ` Ludovic Courtès
2019-12-19 17:23 ` John Soo
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874kz2jj02.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=efraim@flashner.co.il \
--cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).