ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Условная сборка для бранчей
Date: Thu, 23 Jun 2022 20:48:42 +0300
Message-ID: <20220623174842.GB3802@imap.altlinux.org> (raw)
In-Reply-To: <e02ab5b6afe3e87450e65932ff949345@altlinux.ru>

On Wed, Jun 22, 2022 at 07:45:51PM +0300, Vitaly Lipatov wrote:
> Не так давно по нашим меркам Evgeniy Korneechev понял вопрос об
> условных выражениях для спека, позволяющих выполнять сборку так
> или иначе в зависимости от бранча:
> https://lore.altlinux.org/devel/2014649546.83455.1605607333283.JavaMail.zimbra@remotesystems.ru/
> 
> Я тогда ответил, что видел бы это в виде возможности управлять сборкой в 
> зависимости от присутствующих в бранче фич:
> https://lore.altlinux.org/devel/9d1b4812-0e3d-f24e-d877-0b7e79a403e7@ya.ru/
> 
> Прошло время, я попробовал использовать это решение в нескольких 
> проектах.  Собственно пакет, который надо добавить:
> https://packages.altlinux.org/ru/sisyphus/srpms/rpm-macros-features/

См. тж. http://lore.altlinux.org/devel/?q=точки+перегиба

> На данный момент для Сизифа поддерживается следующее:
> %feature_qt5_webengine 1
> %feature_llvm 11.0
> %feature_unwind 1.5.0

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

Спасибо!

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


      reply	other threads:[~2022-06-23 17:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22 16:45 Vitaly Lipatov
2022-06-23 17:48 ` Michael Shigorin [this message]

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=20220623174842.GB3802@imap.altlinux.org \
    --to=mike@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