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: Wed, 31 Jan 2024 12:21:20 +0000 (UTC)	[thread overview]
Message-ID: <1706703670.cb301bb7e5d602f498b6d3d6de36e898b6431cea.marecki@gentoo> (raw)

commit:     cb301bb7e5d602f498b6d3d6de36e898b6431cea
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 31 12:19:57 2024 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jan 31 12:21:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb301bb7

dev-libs/isa-l: add missing x86 BDEPEND

Closes: https://bugs.gentoo.org/923347
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
index 5998011ab3dd..6cb8319addff 100644
--- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
+++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild
@@ -15,13 +15,22 @@ KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="cpu_flags_x86_avx512f"
 
 # AVX512 support in yasm is still work in progress
-BDEPEND="amd64? (
-	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
-	) )
-)"
+BDEPEND="
+	amd64? (
+		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
+		) )
+	)
+	x86? (
+		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=(
 	"${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch
@@ -31,9 +40,11 @@ PATCHES=(
 src_prepare() {
 	default
 
-	# isa-l does not support arbitrary assemblers on amd64 (and presumably x86),
+	# isa-l does not support arbitrary assemblers on amd64 and x86,
 	# it must be either nasm or yasm.
-	use amd64 && unset AS
+	if use amd64 || use x86; then
+		unset AS
+	fi
 
 	eautoreconf
 }


             reply	other threads:[~2024-01-31 12:21 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-31 12:21 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-12 11:33 [gentoo-commits] repo/gentoo:master commit in: dev-libs/isa-l/ Michał Górny
2025-07-12 11:33 Michał Górny
2025-07-04 18:12 Arthur Zamarin
2025-07-04 15:40 Arthur Zamarin
2025-06-28 20:48 Sam James
2025-06-28 10:35 Michał Górny
2025-06-22 12:06 Sam James
2025-06-22 12:06 Sam James
2025-06-21 12:38 Sam James
2025-06-21  9:20 Michał Górny
2025-06-21  7:36 Sam James
2025-06-17  3:31 WANG Xuerui
2025-06-07 14:46 Sam James
2025-06-07 14:27 Sam James
2025-05-23  4:48 Sam James
2025-02-27  3:13 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
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
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=1706703670.cb301bb7e5d602f498b6d3d6de36e898b6431cea.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