diff options
author | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-28 20:32:45 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-28 21:19:07 -0400 |
commit | bf408fd63c6aa6e9afd0546c4abdfc0990d9e6a2 (patch) | |
tree | 95ea57440864003a222d443f454ba3fbad3df358 /dev-build/meson | |
parent | app-crypt/tpm2-tools: Stabilize 5.7 ppc64, #936854 (diff) | |
download | gentoo-bf408fd63c6aa6e9afd0546c4abdfc0990d9e6a2.tar.gz gentoo-bf408fd63c6aa6e9afd0546c4abdfc0990d9e6a2.tar.bz2 gentoo-bf408fd63c6aa6e9afd0546c4abdfc0990d9e6a2.zip |
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@gentoo.org>
Diffstat (limited to 'dev-build/meson')
-rw-r--r-- | dev-build/meson/meson-1.4.1.ebuild | 10 | ||||
-rw-r--r-- | dev-build/meson/meson-1.4.2.ebuild | 4 | ||||
-rw-r--r-- | dev-build/meson/meson-1.5.0.ebuild | 4 | ||||
-rw-r--r-- | dev-build/meson/meson-9999.ebuild | 4 |
4 files changed, 22 insertions, 0 deletions
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 } |