From: Andrey Savchenko <bircoph@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] %__nprocs vs. %build_parallel_jobs
Date: Thu, 8 Apr 2021 16:51:06 +0300
Message-ID: <20210408165106.a4fb82e9c59efdf1685a6cb5@altlinux.org> (raw)
In-Reply-To: <20210408122518.GC26626@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
On Thu, 8 Apr 2021 15:25:18 +0300 Alexey V. Vissarionov wrote:
> On 2021-04-08 12:33:55 +0300, Michael Shigorin wrote:
>
> >> Что правильнее использовать для сборки в несколько потоков:
> >> %__nprocs
> > Этот определён, сколько вообще помню rpm-build.
>
> И его хорошо бы засунуть в %make_parallel (ныне %make_build).
Так он уже там, читай внимательнее.
$ rpmbuild --showrc | grep smp_mf
-14: _smp_mflags -j${NPROCS:-%__nprocs}
-14: make_build %_make_bin %_smp_mflags
Best regards,
Andrew Savchenko
[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-04-08 13:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-08 9:33 ` Michael Shigorin
2021-04-08 12:25 ` Alexey V. Vissarionov
2021-04-08 13:51 ` Andrey Savchenko [this message]
2021-04-08 14:09 ` Michael Shigorin
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=20210408165106.a4fb82e9c59efdf1685a6cb5@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