mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-physics/bullet: improve USE=test by masking it
It is broken such that src_compile itself fails when enabled, due to cmake's charming habit of treating "FooLib" as a dependency, to mean either "the library target aliased as FooLib", or "assume at compile time that -lFooLib works". In this case the latter is triggered due to conditionally disabled subdirs the tests depend on. Yay stringly-typed DSLs. :/ We can go one step further and add a vital REQUIRED_USE. It is neecssary but insufficient; "BussIK does not work out of the box" was always wrong, it is rather built by what `-DBUILD_BULLET2_DEMOS=OFF` in the ebuild is disabling. However, the demos themselves don't seem to compile, so, ¯\_(ツ)_/¯. Bug: https://bugs.gentoo.org/968510 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -6,6 +6,12 @@
|
||||
|
||||
# New entries go on top.
|
||||
|
||||
# Eli Schwartz <eschwartz@gentoo.org> (2026-01-09)
|
||||
# tests fail to build during src_compile:
|
||||
# - needs demos to be built
|
||||
# - OpenGLExampleBrowser.cpp:928:17: error: ‘simpleApp’ was not declared in this scope
|
||||
sci-physics/bullet test
|
||||
|
||||
# Andreas K. Hüttel <dilfridge@gentoo.org> (2026-01-07)
|
||||
# Building glibc with clang is highly experimental and only possible and
|
||||
# tested in few configurations. Enabling the useflag clang allows free
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -16,6 +16,7 @@ IUSE="doc double-precision examples extras openmp tbb test +threads"
|
||||
|
||||
REQUIRED_USE="
|
||||
openmp? ( threads )
|
||||
test? ( extras )
|
||||
tbb? ( threads )
|
||||
"
|
||||
|
||||
@@ -31,7 +32,9 @@ PATCHES=( "${FILESDIR}"/${PN}-2.85-soversion.patch )
|
||||
|
||||
DOCS=( AUTHORS.txt LICENSE.txt README.md )
|
||||
|
||||
# Building / linking of third Party library BussIK does not work out of the box
|
||||
# Building / linking of third Party library BussIK depends on demos being built,
|
||||
# which in turn fails due to
|
||||
# OpenGLExampleBrowser.cpp:928:17: error: 'simpleApp' was not declared in this scope
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}3-${PV}"
|
||||
|
||||
Reference in New Issue
Block a user