ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] %check в один поток
Date: Mon, 30 Nov 2020 16:41:20 +0300
Message-ID: <20201130134120.GA23599@altlinux.org> (raw)
In-Reply-To: <20201130163024.7591fa7b@rigel.localdomain>

On Mon, Nov 30, 2020 at 04:30:24PM +0300, Paul Wolneykien wrote:
> В Mon, 30 Nov 2020 16:21:35 +0300, Dmitry V. Levin пишет:
> 
> > On Mon, Nov 30, 2020 at 03:58:31PM +0300, Paul Wolneykien wrote:
> > > 
> > > 
> > >   Товарищи, а могу я через __spec_check_custom_pre или подобное
> > > место (через аргументы hsh в итоге) сделать так, чтобы секция %check
> > > выполнялась бы строго в 1 поток, чтобы там было NPROCS=1? А
> > > выполнение всех прочих секций spec оставить с NPROCS по умолчанию?  
> > 
> > А если просто написать NPROCS=1 в начале секции %check?
> 
>   У меня получилось вот так:
> 
> hsh ... --build-args="--define=\"__spec_check_custom_pre export NPROCS=1\"" ...
> 
>   И я даже смог собрать strace! ;-)

Ну, strace с его 900+ тестами лучше собирать без этого! :)


-- 
ldv


  reply	other threads:[~2020-11-30 13:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30 12:58 Paul Wolneykien
2020-11-30 13:21 ` Dmitry V. Levin
2020-11-30 13:30   ` Paul Wolneykien
2020-11-30 13:41     ` Dmitry V. Levin [this message]
2020-11-30 14:15       ` Paul Wolneykien
2020-11-30 15:09         ` Dmitry V. Levin
2020-11-30 15:10           ` Mikhail Novosyolov
2020-11-30 15:16             ` Dmitry V. Levin
2020-11-30 16:48               ` Mikhail Novosyolov
2020-11-30 15:26           ` Paul Wolneykien
2020-11-30 15:30             ` Paul Wolneykien
2020-11-30 15:40               ` Dmitry V. Levin
2020-11-30 15:43                 ` Paul Wolneykien
2020-11-30 15:58                   ` Dmitry V. Levin
2020-11-30 15:37             ` Dmitry V. Levin

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=20201130134120.GA23599@altlinux.org \
    --to=ldv@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