ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] [SCM] packages/opencc: heads/sisyphus
  @ 2020-05-25 12:38 ` Dmitry V. Levin
  2020-05-25 15:46   ` Andrey Savchenko
  2020-05-25 16:35   ` Andrey Cherepanov
  0 siblings, 2 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2020-05-25 12:38 UTC (permalink / raw)
  To: ALT Devel discussion list

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

Что это?


-- 
ldv


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] [SCM] packages/opencc: heads/sisyphus
  2020-05-25 12:38 ` [devel] [SCM] packages/opencc: heads/sisyphus Dmitry V. Levin
@ 2020-05-25 15:46   ` Andrey Savchenko
  2020-05-25 16:35   ` Andrey Cherepanov
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Savchenko @ 2020-05-25 15:46 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] [SCM] packages/opencc: heads/sisyphus
  2020-05-25 12:38 ` [devel] [SCM] packages/opencc: heads/sisyphus Dmitry V. Levin
  2020-05-25 15:46   ` Andrey Savchenko
@ 2020-05-25 16:35   ` Andrey Cherepanov
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Cherepanov @ 2020-05-25 16:35 UTC (permalink / raw)
  To: devel

25.05.2020 15:38, Dmitry V. Levin пишет:
> 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
> Что это?
>
Что именно? Унаследованная переменная ограничения количества потоков в 
%ninja_build. На большем количестве на i586 падает.

-- 
Andrey Cherepanov
cas@altlinux.org



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-25 16:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 12:38 ` [devel] [SCM] packages/opencc: heads/sisyphus Dmitry V. Levin
2020-05-25 15:46   ` Andrey Savchenko
2020-05-25 16:35   ` Andrey Cherepanov

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