* [bug#64904] [WIP] rust-build-system proposition
@ 2023-07-27 16:42 Nicolas Graves via Guix-patches via
2023-07-30 14:34 ` Maxime Devos
2024-12-30 6:24 ` jgart via Guix-patches via
0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-07-27 16:42 UTC (permalink / raw)
To: 64904
This series of patches is my current work in progress to include the
antioxidant-build-system from Maxime Devos into Guix.
I have a lot of rust packages covered, but still a few more to work on,
this series is not really here for packages for now, but to get some
feedback to improve / make the build-system play nicely with Guix.
There are already quite a few changes that I made to the original
antioxidant-build-system, and I tried to record them in commits so that
Maxime or anyone interested can take a look and see / discuss some
choices I made.
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#64904] [WIP] rust-build-system proposition
2023-07-27 16:42 [bug#64904] [WIP] rust-build-system proposition Nicolas Graves via Guix-patches via
@ 2023-07-30 14:34 ` Maxime Devos
2024-12-30 6:24 ` jgart via Guix-patches via
1 sibling, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2023-07-30 14:34 UTC (permalink / raw)
To: 64904, Nicolas Graves
[-- Attachment #1.1.1: Type: text/plain, Size: 138 bytes --]
The patches are missing (see: https://issues.guix.gnu.org/64904).
Also, you'll need to put me in CC:.
Best regards,
Maxime Devos.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#64904] [WIP] rust-build-system proposition
2023-07-27 16:42 [bug#64904] [WIP] rust-build-system proposition Nicolas Graves via Guix-patches via
2023-07-30 14:34 ` Maxime Devos
@ 2024-12-30 6:24 ` jgart via Guix-patches via
2024-12-30 10:37 ` ngraves--- via Guix-patches via
1 sibling, 1 reply; 4+ messages in thread
From: jgart via Guix-patches via @ 2024-12-30 6:24 UTC (permalink / raw)
To: 64904
[-- Attachment #1: Type: text/plain, Size: 73 bytes --]
Hi,
What's the status on this ticket?
--
all the best,
jgart
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#64904] [WIP] rust-build-system proposition
2024-12-30 6:24 ` jgart via Guix-patches via
@ 2024-12-30 10:37 ` ngraves--- via Guix-patches via
0 siblings, 0 replies; 4+ messages in thread
From: ngraves--- via Guix-patches via @ 2024-12-30 10:37 UTC (permalink / raw)
To: jgart, 64904
On 2024-12-30 00:24, jgart via Guix-patches via wrote:
> Hi,
>
> What's the status on this ticket?
I most likely lost the data with my recent computer issues, such a shame
that was a lot of work (1-2 months part-time).
As a record if someone wants to follow through, what I did from memory,
it worked well:
- moved antioxidant-build-system to rust-build-system
- rust-build-system was actually a rust-workspace-build-system, with the
logic that a single package was a workspace of one package
- I moved most of the state from antioxidant-build-system to arguments,
was finishing that, there was only 3-5 arguments left.
- for workspaces, an output was a package
- for some crates-gtk.scm or crates-crypto.scm, the whole file could be
summarized into one or two packages with multiple outputs. (This should
be a more general conversation, Go and Node have the same workspace
logic that we should be able to build on, and avoid managing in Guix was
can be done through workspaces. That was one of my blockers, not having
inputs on whether was I was doing would eventually be adopted due to
this).
The huge upside from all this was that our cargo-build-system rebuilds
everything for every package, while the declarative nature of guix
allows to avoid that. Compiling all rust packages with
rust-build-system was actually doable on a good computer in less than a
day. Not possible with cargo-build-system.
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-30 10:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27 16:42 [bug#64904] [WIP] rust-build-system proposition Nicolas Graves via Guix-patches via
2023-07-30 14:34 ` Maxime Devos
2024-12-30 6:24 ` jgart via Guix-patches via
2024-12-30 10:37 ` ngraves--- via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.