public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/
Date: Fri, 17 Dec 2021 23:18:08 +0000 (UTC)	[thread overview]
Message-ID: <1639783081.03c7155befcb7bb7cc0b3276abad3c5a81d7ba12.marecki@gentoo> (raw)

commit:     03c7155befcb7bb7cc0b3276abad3c5a81d7ba12
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 17 23:15:35 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 23:18:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c7155b

dev-libs/isa-l: add cpu_flags_x86_avx512f support

For the time being users wishing for isa-l to take advantage of this
instruction set must build it using nasm; everyone else can choose
between nasm and yasm.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-libs/isa-l/{isa-l-2.30.0.ebuild => isa-l-2.30.0-r1.ebuild} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-libs/isa-l/isa-l-2.30.0.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
similarity index 78%
rename from dev-libs/isa-l/isa-l-2.30.0.ebuild
rename to dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
index 1cb5aeb2a2c7..1bd7d4afdd80 100644
--- a/dev-libs/isa-l/isa-l-2.30.0.ebuild
+++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
@@ -12,12 +12,15 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="cpu_flags_x86_avx512f"
 
+# AVX512 support in yasm is still work in progress
 BDEPEND="amd64? (
-	|| (
-		>=dev-lang/nasm-2.13
+	cpu_flags_x86_avx512f? ( >=dev-lang/nasm-2.13 )
+	!cpu_flags_x86_avx512f? ( || (
+		>=dev-lang/nasm-2.11.01
 		>=dev-lang/yasm-1.2.0
-	)
+	) )
 )"
 
 PATCHES=(


             reply	other threads:[~2021-12-17 23:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 23:18 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27  3:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/ Sam James
2025-02-08 10:17 Arthur Zamarin
2024-11-02  8:49 Michał Górny
2024-10-07 17:32 Michał Górny
2024-10-07 17:32 Michał Górny
2024-10-07 15:50 Michał Górny
2024-04-19 12:09 Marek Szuba
2024-02-01  9:25 Marek Szuba
2024-01-31 12:21 Marek Szuba
2023-10-31  0:06 Sam James
2023-05-17 14:59 Guilherme Amadio
2023-05-16 12:09 Arthur Zamarin
2023-05-16 12:09 Arthur Zamarin
2021-12-18  0:32 Marek Szuba
2021-12-17 23:18 Marek Szuba

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=1639783081.03c7155befcb7bb7cc0b3276abad3c5a81d7ba12.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox