diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-03 17:49:56 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-03 23:18:16 +0000 |
commit | 7e548173a7b8ae7d75ad48f0ba6db52545fc91e8 (patch) | |
tree | 63db50be918d7b91d0eaa660db3f7a7d43912503 /dev-build/meson | |
parent | dev-build/meson: add 1.4.0_rc2 (diff) | |
download | gentoo-7e548173a7b8ae7d75ad48f0ba6db52545fc91e8.tar.gz gentoo-7e548173a7b8ae7d75ad48f0ba6db52545fc91e8.tar.bz2 gentoo-7e548173a7b8ae7d75ad48f0ba6db52545fc91e8.zip |
dev-build/meson: add additional test quirks
A couple tests fail with LTO enabled in make.conf. This is because they
do things like try to link C <-> rust and cannot handle incompatible
bytecode formats.
It's really irrelevant to the tests, since these are end-to-end project
tests for a build system and there's no actual value in testing meson
w.r.t. -flto. Meson already has some tests covering meson's own support
of LTO, and that's all that really matters.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-build/meson')
-rw-r--r-- | dev-build/meson/meson-1.4.0_rc2.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-build/meson/meson-1.4.0_rc2.ebuild b/dev-build/meson/meson-1.4.0_rc2.ebuild index aaa0403ac9dc..f089b6a869b1 100644 --- a/dev-build/meson/meson-1.4.0_rc2.ebuild +++ b/dev-build/meson/meson-1.4.0_rc2.ebuild @@ -28,7 +28,7 @@ else fi fi -inherit bash-completion-r1 distutils-r1 toolchain-funcs +inherit bash-completion-r1 flag-o-matic distutils-r1 toolchain-funcs DESCRIPTION="Open source build system" HOMEPAGE="https://mesonbuild.com/" @@ -86,6 +86,11 @@ src_test() { python_test() { ( + # meson has its own tests for LTO support. We don't need to verify that + # all tests work when they happen to use it. And in particular, this + # breaks rust. + filter-lto + # remove unwanted python_wrapper_setup contents # We actually do want to non-error if python2 is installed and tested. remove="${T}/${EPYTHON}/bin:" |