* [bug#73135] [PATCH] Enable parallel tests for GTK
@ 2024-09-09 0:55 The Man
2024-10-04 15:14 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: The Man @ 2024-09-09 0:55 UTC (permalink / raw)
To: 73135
[-- Attachment #1.1: Type: text/plain, Size: 361 bytes --]
In the middle of testing a set of patches that caused a large number of
rebuilds, I noticed the gtk package was taking an obscenely long time to
run checks. Upon inspection I found out it was not running tests as
parallel.
For example, https://ci.guix.gnu.org/build/5623913/details took >3000!
seconds.
The fix is obvious and will save time on future rebuilds.
[-- Attachment #1.2: Type: text/html, Size: 471 bytes --]
[-- Attachment #2: gtk-parallel-test.patch --]
[-- Type: text/x-patch, Size: 573 bytes --]
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3d4766713d..f0f6a0cd9a 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1195,6 +1195,7 @@ (define-public gtk
(string=? (%current-system) "aarch64-linux"))
"--no-suite=wayland_gles2_failing"
"--no-suite=wayland_gles_failing"))
+ #:parallel-tests? #t
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [bug#73135] [PATCH] Enable parallel tests for GTK
2024-09-09 0:55 [bug#73135] [PATCH] Enable parallel tests for GTK The Man
@ 2024-10-04 15:14 ` Ludovic Courtès
2024-10-04 16:05 ` The Man
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2024-10-04 15:14 UTC (permalink / raw)
To: The Man; +Cc: 73135
Hi,
The Man <squishypinkelephant@gmail.com> skribis:
> In the middle of testing a set of patches that caused a large number of
> rebuilds, I noticed the gtk package was taking an obscenely long time to
> run checks. Upon inspection I found out it was not running tests as
> parallel.
> For example, https://ci.guix.gnu.org/build/5623913/details took >3000!
> seconds.
> The fix is obvious and will save time on future rebuilds.
> diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
> index 3d4766713d..f0f6a0cd9a 100644
> --- a/gnu/packages/gtk.scm
> +++ b/gnu/packages/gtk.scm
> @@ -1195,6 +1195,7 @@ (define-public gtk
> (string=? (%current-system) "aarch64-linux"))
> "--no-suite=wayland_gles2_failing"
> "--no-suite=wayland_gles_failing"))
> + #:parallel-tests? #t
I wonder why #:parallel-tests? defaults to #f in ‘meson-build-system’,
contrary to what other build systems do.
I think we should create a branch where we change it to #t, and merge it
once we’re done rebuilding all the packages and fixing any relevant
failure.
Would you like to give that a try?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#73135] [PATCH] Enable parallel tests for GTK
2024-10-04 15:14 ` Ludovic Courtès
@ 2024-10-04 16:05 ` The Man
2024-10-05 12:36 ` Maxim Cournoyer
0 siblings, 1 reply; 5+ messages in thread
From: The Man @ 2024-10-04 16:05 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 73135
[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]
Sounds like a good idea to me.
On Fri, Oct 4, 2024, 10:14 AM Ludovic Courtès <ludo@gnu.org> wrote:
> Hi,
>
> The Man <squishypinkelephant@gmail.com> skribis:
>
> > In the middle of testing a set of patches that caused a large number of
> > rebuilds, I noticed the gtk package was taking an obscenely long time to
> > run checks. Upon inspection I found out it was not running tests as
> > parallel.
> > For example, https://ci.guix.gnu.org/build/5623913/details took >3000!
> > seconds.
> > The fix is obvious and will save time on future rebuilds.
> > diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
> > index 3d4766713d..f0f6a0cd9a 100644
> > --- a/gnu/packages/gtk.scm
> > +++ b/gnu/packages/gtk.scm
> > @@ -1195,6 +1195,7 @@ (define-public gtk
> > (string=? (%current-system)
> "aarch64-linux"))
> > "--no-suite=wayland_gles2_failing"
> > "--no-suite=wayland_gles_failing"))
> > + #:parallel-tests? #t
>
> I wonder why #:parallel-tests? defaults to #f in ‘meson-build-system’,
> contrary to what other build systems do.
>
> I think we should create a branch where we change it to #t, and merge it
> once we’re done rebuilding all the packages and fixing any relevant
> failure.
>
> Would you like to give that a try?
>
> Thanks,
> Ludo’.
>
[-- Attachment #2: Type: text/html, Size: 2069 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [bug#73135] [PATCH] Enable parallel tests for GTK
2024-10-04 16:05 ` The Man
@ 2024-10-05 12:36 ` Maxim Cournoyer
2024-10-12 5:34 ` bug#73135: " Maxim Cournoyer
0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2024-10-05 12:36 UTC (permalink / raw)
To: The Man; +Cc: Ludovic Courtès, 73135
Hi,
The Man <squishypinkelephant@gmail.com> writes:
> Sounds like a good idea to me.
Implemented! See: https://ci.guix.gnu.org/jobset/meson-parallel-tests
It hasn't started building anything yet (it's buildin guix at that
revision for now).
There's an RSS feed to keep track of it:
https://ci.guix.gnu.org/events/rss/?specification=meson-parallel-tests
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#73135: [PATCH] Enable parallel tests for GTK
2024-10-05 12:36 ` Maxim Cournoyer
@ 2024-10-12 5:34 ` Maxim Cournoyer
0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2024-10-12 5:34 UTC (permalink / raw)
To: The Man; +Cc: Ludovic Courtès, 73135-done
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hi,
>
> The Man <squishypinkelephant@gmail.com> writes:
>
>> Sounds like a good idea to me.
>
> Implemented! See: https://ci.guix.gnu.org/jobset/meson-parallel-tests
>
> It hasn't started building anything yet (it's buildin guix at that
> revision for now).
>
> There's an RSS feed to keep track of it:
> https://ci.guix.gnu.org/events/rss/?specification=meson-parallel-tests
No issues whatsoever found:
https://ci.guix.gnu.org/jobset/meson-parallel-tests
Will prepare the branch merge request and close this one.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-12 5:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 0:55 [bug#73135] [PATCH] Enable parallel tests for GTK The Man
2024-10-04 15:14 ` Ludovic Courtès
2024-10-04 16:05 ` The Man
2024-10-05 12:36 ` Maxim Cournoyer
2024-10-12 5:34 ` bug#73135: " Maxim Cournoyer
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).