Mailinglist Archive: opensuse-buildservice (207 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] disable parallel builds via meta data
- From: Uwe Geuder <ssxwye5rb5@xxxxxxxxxxx>
- Date: Wed, 23 Mar 2011 07:59:54 +0200
- Message-id: <87sjue2x7p.fsf@geuder-e6510-s.pc.nomovok.info>
On Tuesday March 22 2011 09:14:09 Adrian Schröter wrote:
In an ideal world, yes. In real life it is very common that tools have to cope
with broken software. Fixing race conditions a large package's makefile is not
trivial, especially for somebody who basically doesn't know the package.
On Tue, 22 Mar 2011 21:22:01 +0100 Stephan Kleine wrote:
A correct Debian package will check for the environment variable
DEB_BUILD_OPTIONS and one can disable parallel make by setting it like
this:
DEB_BUILD_OPTIONS=parallel=1
I'm not sure how commonly Debian packages implement this correctly, but even
if some package would fail to do so fixing that is trivial even for somebody
not familiar with the package.
Just supporting setting environment variables from metadata would solve the
parallel builds issue and might have other useful use cases. Well, OBS is open
source so just asking for more features might not be the fastest approach to
get it done. Unfortunately I have no clue, which parts of the not so small
source to look at. If somebody could give a hint.
votes++
Regards,
Uwe
Uwe Geuder
Nomovok Ltd.
Tampere, Finland
uwe.gXuder@xxxxxxxxxxx (bot check: correct 1 obvious spelling error)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
The only technical clean solution is to fix the debian packages, I think.
In an ideal world, yes. In real life it is very common that tools have to cope
with broken software. Fixing race conditions a large package's makefile is not
trivial, especially for somebody who basically doesn't know the package.
On Tue, 22 Mar 2011 21:22:01 +0100 Stephan Kleine wrote:
Still, since debian doesn´t have something like %_smp_mflags some setting in
pkgs meta would be the easiest since one then doesn´t have to modify the
original package (if one imports a debian / buntu package).
A correct Debian package will check for the environment variable
DEB_BUILD_OPTIONS and one can disable parallel make by setting it like
this:
DEB_BUILD_OPTIONS=parallel=1
I'm not sure how commonly Debian packages implement this correctly, but even
if some package would fail to do so fixing that is trivial even for somebody
not familiar with the package.
Please add something like this
Just supporting setting environment variables from metadata would solve the
parallel builds issue and might have other useful use cases. Well, OBS is open
source so just asking for more features might not be the fastest approach to
get it done. Unfortunately I have no clue, which parts of the not so small
source to look at. If somebody could give a hint.
and leave parallel builds enabled.
votes++
Regards,
Uwe
Uwe Geuder
Nomovok Ltd.
Tampere, Finland
uwe.gXuder@xxxxxxxxxxx (bot check: correct 1 obvious spelling error)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |