From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/
Date: Thu, 26 Dec 2024 09:15:13 +0000 (UTC) [thread overview]
Message-ID: <1735204508.e6ff348b1b8a2054bcfc3d2706b054591e3cd279.mgorny@gentoo> (raw)
commit: e6ff348b1b8a2054bcfc3d2706b054591e3cd279
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 09:03:53 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 09:15:08 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ff348b
llvm-core/mlir: Add missing PYTHON_USEDEP on dev-python/lit
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
llvm-core/mlir/mlir-20.0.0.9999.ebuild | 9 +++++++++
llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/llvm-core/mlir/mlir-20.0.0.9999.ebuild b/llvm-core/mlir/mlir-20.0.0.9999.ebuild
index 3fd8776f0128..605b641fd141 100644
--- a/llvm-core/mlir/mlir-20.0.0.9999.ebuild
+++ b/llvm-core/mlir/mlir-20.0.0.9999.ebuild
@@ -23,6 +23,9 @@ RDEPEND="
BDEPEND="
${PYTHON_DEPS}
llvm-core/llvm:${LLVM_MAJOR}
+ test? (
+ $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+ )
"
LLVM_COMPONENTS=( mlir cmake )
@@ -30,6 +33,12 @@ LLVM_COMPONENTS=( mlir cmake )
LLVM_TEST_COMPONENTS=( llvm/include )
llvm.org_set_globals
+python_check_deps() {
+ if use test; then
+ python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+ fi
+}
+
src_prepare() {
llvm.org_src_prepare
diff --git a/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild b/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild
index 38b4700f0851..24b7ba52300f 100644
--- a/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild
+++ b/llvm-core/mlir/mlir-20.0.0_pre20241221.ebuild
@@ -23,6 +23,9 @@ RDEPEND="
BDEPEND="
${PYTHON_DEPS}
llvm-core/llvm:${LLVM_MAJOR}
+ test? (
+ $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
+ )
"
LLVM_COMPONENTS=( mlir cmake )
@@ -30,6 +33,12 @@ LLVM_COMPONENTS=( mlir cmake )
LLVM_TEST_COMPONENTS=( llvm/include )
llvm.org_set_globals
+python_check_deps() {
+ if use test; then
+ python_has_version "dev-python/lit[${PYTHON_USEDEP}]"
+ fi
+}
+
src_prepare() {
llvm.org_src_prepare
next reply other threads:[~2024-12-26 9:15 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-26 9:15 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-22 10:43 [gentoo-commits] repo/gentoo:master commit in: llvm-core/mlir/ Michał Górny
2025-03-17 20:13 Michał Górny
2025-03-16 17:41 Michał Górny
2025-03-16 16:59 Michał Górny
2025-03-11 14:56 Michał Górny
2025-03-05 10:13 Michał Górny
2025-03-05 6:25 Michał Górny
2025-03-01 12:58 Michał Górny
2025-03-01 8:34 Michał Górny
2025-02-26 18:55 Michał Górny
2025-02-25 14:03 Michał Górny
2025-02-22 15:19 Michał Górny
2025-02-15 7:19 Michał Górny
2025-02-13 7:53 Michał Górny
2025-02-11 11:29 Michał Górny
2025-02-09 15:26 Michał Górny
2025-02-08 11:51 Michał Górny
2025-02-02 18:25 Michał Górny
2025-02-01 13:15 Michał Górny
2025-02-01 8:05 Michał Górny
2025-01-31 21:51 Michał Górny
2025-01-25 13:33 Michał Górny
2025-01-25 8:29 Michał Górny
2025-01-22 19:15 Michał Górny
2025-01-18 15:09 Michał Górny
2025-01-18 8:21 Michał Górny
2025-01-11 18:12 Michał Górny
2025-01-04 15:28 Michał Górny
2024-12-28 19:35 Michał Górny
2024-12-27 21:25 Michał Górny
2024-12-22 18:21 Michał Górny
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=1735204508.e6ff348b1b8a2054bcfc3d2706b054591e3cd279.mgorny@gentoo \
--to=mgorny@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