* Antioxidant (new rust build system) update - 100% builds
@ 2022-10-29 19:38 Maxime Devos
2022-10-29 20:26 ` Tobias Geerinckx-Rice
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Maxime Devos @ 2022-10-29 19:38 UTC (permalink / raw)
To: Guix-devel
[-- Attachment #1.1.1: Type: text/plain, Size: 910 bytes --]
Hi,
100% (rounded up) of the packages build with antioxidant, though a very
few still fail to build: <https://ci.guix.gnu.org/eval/749079/dashboard>.
So far, work on antioxidant has been done in a separate channel for
convenience, but given that almost everything builds now, I think it's a
good time to start looking into moving it into Guix proper (initially as
a branch, as there are some remaining TODOs like e.g. 'why are some of
the binaries made with antioxidant larger than with cargo-build-system +
fix that').
More concretely, this would mean changing the 'runtime' transformations
done by 'antioxidant-packages.scm' (in the style of '(guix)Defining
Package Variants') to source code transformations ("guix style").
IIRC, Ludo' has some "guix style" patches for moving #:cargo-inputs to
'inputs' and such; those could perhaps be used as a basis.
Greetings,
Maxime.
[-- 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] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-10-29 19:38 Antioxidant (new rust build system) update - 100% builds Maxime Devos
@ 2022-10-29 20:26 ` Tobias Geerinckx-Rice
2022-10-31 1:13 ` Csepp
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Tobias Geerinckx-Rice @ 2022-10-29 20:26 UTC (permalink / raw)
To: Maxime Devos; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
Hi Maxime,
This is so great.
It's been downright fun watching antioxidant steadily grow in
power. Thank you so much for working on it!
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-10-29 19:38 Antioxidant (new rust build system) update - 100% builds Maxime Devos
2022-10-29 20:26 ` Tobias Geerinckx-Rice
@ 2022-10-31 1:13 ` Csepp
2022-11-01 16:28 ` Hartmut Goebel
2022-11-02 11:20 ` Ludovic Courtès
3 siblings, 0 replies; 9+ messages in thread
From: Csepp @ 2022-10-31 1:13 UTC (permalink / raw)
To: Maxime Devos; +Cc: guix-devel
Maxime Devos <maximedevos@telenet.be> writes:
> [[PGP Signed Part:Undecided]]
> Hi,
>
> 100% (rounded up) of the packages build with antioxidant, though a
> very few still fail to build:
> <https://ci.guix.gnu.org/eval/749079/dashboard>.
Heck yeah! This is some super exciting work. UwU
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-10-29 19:38 Antioxidant (new rust build system) update - 100% builds Maxime Devos
2022-10-29 20:26 ` Tobias Geerinckx-Rice
2022-10-31 1:13 ` Csepp
@ 2022-11-01 16:28 ` Hartmut Goebel
2022-11-02 11:20 ` Ludovic Courtès
3 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-11-01 16:28 UTC (permalink / raw)
To: guix-devel
Am 29.10.22 um 21:38 schrieb Maxime Devos:
> 100% (rounded up) of the packages build with antioxidant, though a
> very few still fail to build:
> <https://ci.guix.gnu.org/eval/749079/dashboard>.
\o/ You are great! Thansk for all the work you've put into this.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-10-29 19:38 Antioxidant (new rust build system) update - 100% builds Maxime Devos
` (2 preceding siblings ...)
2022-11-01 16:28 ` Hartmut Goebel
@ 2022-11-02 11:20 ` Ludovic Courtès
2022-11-02 11:33 ` Maxime Devos
2022-11-06 9:14 ` Efraim Flashner
3 siblings, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2022-11-02 11:20 UTC (permalink / raw)
To: Maxime Devos; +Cc: Guix-devel, Efraim Flashner
Hi!
Maxime Devos <maximedevos@telenet.be> skribis:
> 100% (rounded up) of the packages build with antioxidant, though a
> very few still fail to build:
> <https://ci.guix.gnu.org/eval/749079/dashboard>.
Woohoo!!
> So far, work on antioxidant has been done in a separate channel for
> convenience, but given that almost everything builds now, I think it's
> a good time to start looking into moving it into Guix proper
> (initially as a branch, as there are some remaining TODOs like
> e.g. 'why are some of the binaries made with antioxidant larger than
> with cargo-build-system + fix that').
>
> More concretely, this would mean changing the 'runtime'
> transformations done by 'antioxidant-packages.scm' (in the style of
> '(guix)Defining Package Variants') to source code transformations
> ("guix style").
>
> IIRC, Ludo' has some "guix style" patches for moving #:cargo-inputs to
> 'inputs' and such; those could perhaps be used as a basis.
That’s <https://issues.guix.gnu.org/53127> but it probably needs work if
we want it to work reliably on all the packages. My understanding is
that we’d need a “flag day” where we’d switch all Rust packages to
Antioxydant in one commit, is that correct? Any ideas how to achieve
the big migration?
Efraim, thoughts on this?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-11-02 11:20 ` Ludovic Courtès
@ 2022-11-02 11:33 ` Maxime Devos
2022-11-03 15:16 ` Ludovic Courtès
2022-11-06 9:14 ` Efraim Flashner
1 sibling, 1 reply; 9+ messages in thread
From: Maxime Devos @ 2022-11-02 11:33 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Guix-devel, Efraim Flashner
[-- Attachment #1.1.1: Type: text/plain, Size: 1461 bytes --]
On 02-11-2022 12:20, Ludovic Courtès wrote:
> [. ..]
> That’s <https://issues.guix.gnu.org/53127> but it probably needs work if
> we want it to work reliably on all the packages. My understanding is
> that we’d need a “flag day” where we’d switch all Rust packages to
> Antioxydant in one commit, is that correct? Any ideas how to achieve
> the big migration?
That's the idea I think, yes. For this big migration, I propose to make
the "guix style" good enough to do the switch at once (and let
ci.guix.gnu.org build it etc. before merging).
On how to achieve this: the basic antioxidation (e.g. move
#:cargo-inputs to inputs) is currently fully automated (*). Then there
is stuff like 'add this-input to that-package', which is
'half-automated', in the sense that there are a bunch of declarative
alists for that, interpreted automatically but declared manually; those
could be interpreted by "guix style" as well.
Lastly, there is some more manual things too -- for making packages
build under antioxidant, I sometimes found it convenient to update the
package (which sometimes also required packaging a dependency). For
those additions and updates, I propose to review+merge them (as
cargo-build-system, not antioxidant-build-system) before the flag day /
running "guix style".
(*) albeit at runtime, no corresponding source code tranformations (guix
style) are written yet.
Greetings,
Maxime.
[-- 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] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-11-02 11:33 ` Maxime Devos
@ 2022-11-03 15:16 ` Ludovic Courtès
2022-11-05 22:50 ` Maxime Devos
0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2022-11-03 15:16 UTC (permalink / raw)
To: Maxime Devos; +Cc: Guix-devel, Efraim Flashner
Hi,
Maxime Devos <maximedevos@telenet.be> skribis:
> On 02-11-2022 12:20, Ludovic Courtès wrote:
>> [. ..]
>> That’s <https://issues.guix.gnu.org/53127> but it probably needs work if
>> we want it to work reliably on all the packages. My understanding is
>> that we’d need a “flag day” where we’d switch all Rust packages to
>> Antioxydant in one commit, is that correct? Any ideas how to achieve
>> the big migration?
>
> That's the idea I think, yes. For this big migration, I propose to
> make the "guix style" good enough to do the switch at once (and let
> ci.guix.gnu.org build it etc. before merging).
OK, makes sense.
> On how to achieve this: the basic antioxidation (e.g. move
> #:cargo-inputs to inputs) is currently fully automated (*). Then
> there is stuff like 'add this-input to that-package', which is
> 'half-automated', in the sense that there are a bunch of declarative
> alists for that, interpreted automatically but declared manually;
> those could be interpreted by "guix style" as well.
Perhaps we could temporarily support the “old style”, using the run-time
transformation currently in your repo? That would allow third-party
channels to migrate peacefully, and it would also reduce the likely hood
of breakage during transition in Guix (e.g., if an old-style package is
merged while the new branch is being built.)
Anyway, please do ping people here when specific action is needed from
the rest of us!
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-11-03 15:16 ` Ludovic Courtès
@ 2022-11-05 22:50 ` Maxime Devos
0 siblings, 0 replies; 9+ messages in thread
From: Maxime Devos @ 2022-11-05 22:50 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Guix-devel, Efraim Flashner
[-- Attachment #1.1.1: Type: text/plain, Size: 718 bytes --]
On 03-11-2022 16:16, Ludovic Courtès wrote:
> Hi,
>
> [...]
> Perhaps we could temporarily support the “old style”, using the run-time
> transformation currently in your repo? That would allow third-party
> channels to migrate peacefully, and it would also reduce the likely hood
> of breakage during transition in Guix (e.g., if an old-style package is
> merged while the new branch is being built.)
That would be possible (some copy-pasting, and replacing
(define-public application/c-library/whatever ...)
with (define-public application/c-library/whatever (vitaminate/auto
...)), but "guix refresh -l rust-..." won't be fixed until the source
code changes are done.
Greetings,
Maxime.
[-- 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] 9+ messages in thread
* Re: Antioxidant (new rust build system) update - 100% builds
2022-11-02 11:20 ` Ludovic Courtès
2022-11-02 11:33 ` Maxime Devos
@ 2022-11-06 9:14 ` Efraim Flashner
1 sibling, 0 replies; 9+ messages in thread
From: Efraim Flashner @ 2022-11-06 9:14 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Maxime Devos, Guix-devel
[-- Attachment #1: Type: text/plain, Size: 1854 bytes --]
On Wed, Nov 02, 2022 at 12:20:14PM +0100, Ludovic Courtès wrote:
> Hi!
>
> Maxime Devos <maximedevos@telenet.be> skribis:
>
> > 100% (rounded up) of the packages build with antioxidant, though a
> > very few still fail to build:
> > <https://ci.guix.gnu.org/eval/749079/dashboard>.
>
> Woohoo!!
>
> > So far, work on antioxidant has been done in a separate channel for
> > convenience, but given that almost everything builds now, I think it's
> > a good time to start looking into moving it into Guix proper
> > (initially as a branch, as there are some remaining TODOs like
> > e.g. 'why are some of the binaries made with antioxidant larger than
> > with cargo-build-system + fix that').
> >
> > More concretely, this would mean changing the 'runtime'
> > transformations done by 'antioxidant-packages.scm' (in the style of
> > '(guix)Defining Package Variants') to source code transformations
> > ("guix style").
> >
> > IIRC, Ludo' has some "guix style" patches for moving #:cargo-inputs to
> > 'inputs' and such; those could perhaps be used as a basis.
>
> That’s <https://issues.guix.gnu.org/53127> but it probably needs work if
> we want it to work reliably on all the packages. My understanding is
> that we’d need a “flag day” where we’d switch all Rust packages to
> Antioxydant in one commit, is that correct? Any ideas how to achieve
> the big migration?
>
> Efraim, thoughts on this?
Would it be possible to create a branch for it on savannah and hack on
the integration there? Then we can make sure everything looks good and
merge it in after everything builds nicely.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-11-06 10:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-29 19:38 Antioxidant (new rust build system) update - 100% builds Maxime Devos
2022-10-29 20:26 ` Tobias Geerinckx-Rice
2022-10-31 1:13 ` Csepp
2022-11-01 16:28 ` Hartmut Goebel
2022-11-02 11:20 ` Ludovic Courtès
2022-11-02 11:33 ` Maxime Devos
2022-11-03 15:16 ` Ludovic Courtès
2022-11-05 22:50 ` Maxime Devos
2022-11-06 9:14 ` Efraim Flashner
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).