ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Savchenko <bircoph@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [SCM] packages/opencc: heads/sisyphus
Date: Mon, 25 May 2020 18:46:24 +0300
Message-ID: <20200525184624.571fb7b0ee16e71fb6cad88f@altlinux.org> (raw)
In-Reply-To: <20200525123811.GA31187@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]

On Mon, 25 May 2020 15:38:11 +0300 Dmitry V. Levin wrote:
> On Mon, May 25, 2020 at 12:33:30PM +0000, Andrey Cherepanov wrote:
> > Update of /people/cas/packages/opencc.git
> [...]
> > Changelog since common ancestor `1.1.1-alt1' follows:
> > commit e5df37bee182c03dedb065f9b206eebedf2b320d
> > Author: Andrey Cherepanov <cas@altlinux.org>
> > Date:   Mon May 25 15:33:01 2020 +0300
> > 
> >     1.1.1-alt2
> >     
> >     - Use rpm-build-ninja for build.
> >     - Really use four threads to build by ninja-build.
> > 
> > Full diff since common ancestor `1.1.1-alt1' follows:
> > diff --git a/opencc.spec b/opencc.spec
> > index 16b9dd2..2106d71 100644
> > --- a/opencc.spec
> > +++ b/opencc.spec
> > @@ -54,8 +54,8 @@ developing applications that use %{name}.
> >  %build
> >  %cmake -GNinja -DBUILD_DOCUMENTATION=ON
> >  export LD_LIBRARY_PATH=%_builddir/%name-%version/BUILD/src
> > -# Build in one thread to prevent race condition
> > -export NPROCS=4
> > +# Build in four threads to prevent race condition
> > +%define __nprocs 4
> >  %ninja_build -C BUILD
> >  
> >  %install
> 
> Что это?

Очевидно же, что обходной манёвр вокруг состояния гонки при
высокопараллельной сборке.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-05-25 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25 12:38 ` Dmitry V. Levin
2020-05-25 15:46   ` Andrey Savchenko [this message]
2020-05-25 16:35   ` Andrey Cherepanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200525184624.571fb7b0ee16e71fb6cad88f@altlinux.org \
    --to=bircoph@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git