From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: devel@lists.altlinux.org References: <20200525123330.8FD6084402CF@gitery.altlinux.org> <20200525123811.GA31187@altlinux.org> From: Andrey Cherepanov Message-ID: <94c2374e-b014-62ff-92d9-d2148f1a18f0@altlinux.org> Date: Mon, 25 May 2020 19:35:15 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200525123811.GA31187@altlinux.org> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru Subject: Re: [devel] [SCM] packages/opencc: heads/sisyphus X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2020 16:35:15 -0000 Archived-At: List-Archive: List-Post: 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 >> 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