From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-build/meson/
Date: Mon, 29 Jul 2024 01:19:43 +0000 (UTC) [thread overview]
Message-ID: <1722215947.bf408fd63c6aa6e9afd0546c4abdfc0990d9e6a2.eschwartz@gentoo> (raw)
commit: bf408fd63c6aa6e9afd0546c4abdfc0990d9e6a2
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 00:32:45 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 01:19:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf408fd6
dev-build/meson: disable CUDA tests
If CUDA is installed, we try to test it and everything fails. The issue
seems to be that CUDA simply cannot handle the use of LDFLAGS. It may be
possible for meson to mangle these for you, but it currently does not.
There's a tracking ticket for it.
It's preferable to test common functionality rather than work around
bugs. Just pretend CUDA doesn't exist as far as src_test is concerned.
Closes: https://bugs.gentoo.org/936757
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
dev-build/meson/meson-1.4.1.ebuild | 10 ++++++++++
dev-build/meson/meson-1.4.2.ebuild | 4 ++++
dev-build/meson/meson-1.5.0.ebuild | 4 ++++
dev-build/meson/meson-9999.ebuild | 4 ++++
4 files changed, 22 insertions(+)
diff --git a/dev-build/meson/meson-1.4.1.ebuild b/dev-build/meson/meson-1.4.1.ebuild
index d30bc90b1103..db2001929162 100644
--- a/dev-build/meson/meson-1.4.1.ebuild
+++ b/dev-build/meson/meson-1.4.1.ebuild
@@ -82,12 +82,22 @@ python_prepare_all() {
# ASAN is unsupported on some targets
# https://bugs.gentoo.org/692822
-e 's/test_pch_with_address_sanitizer/_&/'
+
+ # clippy-driver fails, but only when run via portage.
+ #
+ # error[E0463]: can't find crate for `std`
+ # error: requires `sized` lang_item
+ -e 's/test_rust_clippy/_&/'
)
sed -i "${disable_unittests[@]}" unittests/*.py || die
# Broken due to python2 script created by python_wrapper_setup
rm -r "test cases/frameworks/1 boost" || die
+ # nvcc breaks on essentially any LDFLAGS
+ # https://bugs.gentoo.org/936757
+ # https://github.com/mesonbuild/meson/issues/11234
+ rm -r "test cases/cuda"/* || die
distutils-r1_python_prepare_all
}
diff --git a/dev-build/meson/meson-1.4.2.ebuild b/dev-build/meson/meson-1.4.2.ebuild
index 4b7ba1a3634a..c1202d979e1c 100644
--- a/dev-build/meson/meson-1.4.2.ebuild
+++ b/dev-build/meson/meson-1.4.2.ebuild
@@ -94,6 +94,10 @@ python_prepare_all() {
# Broken due to python2 script created by python_wrapper_setup
rm -r "test cases/frameworks/1 boost" || die
+ # nvcc breaks on essentially any LDFLAGS
+ # https://bugs.gentoo.org/936757
+ # https://github.com/mesonbuild/meson/issues/11234
+ rm -r "test cases/cuda"/* || die
# The 1.4.2 tarball accidentally contains some untracked files from git master:
# - subprojects/bar-0.1/Cargo.toml
diff --git a/dev-build/meson/meson-1.5.0.ebuild b/dev-build/meson/meson-1.5.0.ebuild
index 762876dc5e40..9cddc1a7a32d 100644
--- a/dev-build/meson/meson-1.5.0.ebuild
+++ b/dev-build/meson/meson-1.5.0.ebuild
@@ -94,6 +94,10 @@ python_prepare_all() {
# Broken due to python2 script created by python_wrapper_setup
rm -r "test cases/frameworks/1 boost" || die
+ # nvcc breaks on essentially any LDFLAGS
+ # https://bugs.gentoo.org/936757
+ # https://github.com/mesonbuild/meson/issues/11234
+ rm -r "test cases/cuda"/* || die
distutils-r1_python_prepare_all
}
diff --git a/dev-build/meson/meson-9999.ebuild b/dev-build/meson/meson-9999.ebuild
index 762876dc5e40..9cddc1a7a32d 100644
--- a/dev-build/meson/meson-9999.ebuild
+++ b/dev-build/meson/meson-9999.ebuild
@@ -94,6 +94,10 @@ python_prepare_all() {
# Broken due to python2 script created by python_wrapper_setup
rm -r "test cases/frameworks/1 boost" || die
+ # nvcc breaks on essentially any LDFLAGS
+ # https://bugs.gentoo.org/936757
+ # https://github.com/mesonbuild/meson/issues/11234
+ rm -r "test cases/cuda"/* || die
distutils-r1_python_prepare_all
}
next reply other threads:[~2024-07-29 1:19 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 1:19 Eli Schwartz [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-27 7:45 [gentoo-commits] repo/gentoo:master commit in: dev-build/meson/ Eli Schwartz
2025-01-27 6:07 Eli Schwartz
2025-01-27 4:47 Eli Schwartz
2025-01-20 2:33 Sam James
2025-01-20 2:33 Sam James
2025-01-20 2:33 Sam James
2025-01-19 18:39 Arthur Zamarin
2025-01-19 18:39 Arthur Zamarin
2025-01-19 18:39 Arthur Zamarin
2025-01-10 13:28 Sam James
2024-12-17 0:13 Eli Schwartz
2024-12-06 21:19 Sam James
2024-11-24 11:02 Sam James
2024-11-02 6:18 Sam James
2024-10-21 6:34 Sam James
2024-10-21 6:34 Sam James
2024-10-21 5:48 Sam James
2024-10-21 2:55 Eli Schwartz
2024-10-14 5:28 Eli Schwartz
2024-10-06 22:26 Eli Schwartz
2024-09-20 21:23 Eli Schwartz
2024-08-29 14:32 Eli Schwartz
2024-08-29 14:28 Ionen Wolkens
2024-08-29 14:28 Ionen Wolkens
2024-08-21 9:40 Arthur Zamarin
2024-08-21 9:40 Arthur Zamarin
2024-08-21 9:40 Arthur Zamarin
2024-08-21 9:40 Arthur Zamarin
2024-08-21 9:40 Arthur Zamarin
2024-08-21 9:39 Arthur Zamarin
2024-08-21 7:16 Arthur Zamarin
2024-08-21 7:16 Arthur Zamarin
2024-08-21 7:16 Arthur Zamarin
2024-08-21 7:16 Arthur Zamarin
2024-08-20 22:22 Jakov Smolić
2024-08-20 18:05 Sam James
2024-08-16 1:16 Eli Schwartz
2024-08-14 23:29 Sam James
2024-08-14 23:29 Sam James
2024-07-29 1:19 Eli Schwartz
2024-07-11 16:29 Eli Schwartz
2024-07-11 3:15 Eli Schwartz
2024-07-11 0:34 Eli Schwartz
2024-07-11 0:34 Eli Schwartz
2024-07-08 19:25 Eli Schwartz
2024-07-03 21:25 Eli Schwartz
2024-06-25 4:48 Sam James
2024-06-25 3:35 Sam James
2024-06-25 3:35 Sam James
2024-06-25 3:35 Sam James
2024-06-25 3:35 Sam James
2024-06-25 3:35 Sam James
2024-06-25 3:35 Sam James
2024-06-25 3:11 Sam James
2024-06-25 1:32 Sam James
2024-06-25 1:32 Sam James
2024-06-25 1:32 Sam James
2024-05-31 20:10 Sam James
2024-05-13 19:41 Sam James
2024-05-13 18:45 Michał Górny
2024-05-05 20:07 Arthur Zamarin
2024-05-01 6:03 Sam James
2024-05-01 6:03 Sam James
2024-05-01 6:03 Sam James
2024-05-01 6:03 Sam James
2024-05-01 6:03 Sam James
2024-05-01 6:03 Sam James
2024-05-01 6:03 Sam James
2024-04-17 5:37 Arthur Zamarin
2024-03-22 6:14 Arthur Zamarin
2024-03-22 6:14 Arthur Zamarin
2024-03-22 4:03 Sam James
2024-03-22 4:03 Sam James
2024-03-22 4:03 Sam James
2024-03-22 4:03 Sam James
2024-03-22 4:03 Sam James
2024-03-19 7:21 Sam James
2024-03-19 6:09 Sam James
2024-03-19 5:50 Sam James
2024-03-19 5:50 Sam James
2024-03-19 5:50 Sam James
2024-03-19 3:42 Ionen Wolkens
2024-03-14 6:40 Sam James
2024-03-03 23:18 Sam James
2024-03-03 23:18 Sam James
2024-03-02 18:07 Arthur Zamarin
2024-02-28 15:27 Sam James
2024-02-26 22:27 Sam James
2024-02-19 5:08 Sam James
2024-02-19 5:08 Sam James
2024-02-19 5:08 Sam James
2024-02-19 5:08 Sam James
2024-02-19 5:08 Sam James
2024-02-19 4:04 Sam James
2024-02-14 0:27 Sam James
2024-01-14 3:18 Sam James
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=1722215947.bf408fd63c6aa6e9afd0546c4abdfc0990d9e6a2.eschwartz@gentoo \
--to=eschwartz@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