Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Michał Górny <gentoo@...>
Subject: Re: [RFC] RESTRICT=parallel for builds that can't be executed in parallel
Date: Wed, 14 Apr 2010 07:45:20 +0200
On Tue, 13 Apr 2010 19:12:08 -0700
Zac Medico <zmedico@g.o> wrote:

> Should we add a RESTRICT=parallel value for ebuilds that can't be
> built at the same time as other ebuilds? Brian says we need it for
> things like xorg-server which calls eselect opengl.

I don't think that's the right solution. In most cases, xorg-server can
be built in parallel with stuff which doesn't require/set specific
opengl subsystem set.

Well, in fact is there _really_ any package which won't work with
switched opengl? I guess it's more of a runtime problem that buildtime,
and I don't think we really should print out loudly 'libGL has been
switched, please do not start OpenGL apps right now'.

In fact, the best solution in this particular case would be to patch
the buildsystem to use Gentoo location for particular OpenGL headers.

Disabling parallel emerge would be more of a workaround for the issue,
and will influence much more packages than it needs to. And it won't
help if user is running multiple emerge calls at the same time.

Another possible workaround is to enable some kind of 'eselect opengl'
locking so that another package requiring access to it will wait until
our build finishes. But this, of course, would require a quite good
solution for maintaining the lock and dropping it whenever build
process is aborted/killed.

-- 
Best regards,
Michał Górny

<http://mgorny.alt.pl>
<xmpp:mgorny@...>


Replies:
Re: [RFC] RESTRICT=parallel for builds that can't be executed in parallel
-- Brian Harring
References:
[RFC] RESTRICT=parallel for builds that can't be executed in parallel
-- Zac Medico
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[RFC] RESTRICT=parallel for builds that can't be executed in parallel
Next by thread:
Re: [RFC] RESTRICT=parallel for builds that can't be executed in parallel
Previous by date:
[RFC] RESTRICT=parallel for builds that can't be executed in parallel
Next by date:
Re: [RFC] RESTRICT=parallel for builds that can't be executed in parallel


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.