commit: 6b59ebad8cde801478b8e0bfc0dd431bd23ee828 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Tue Sep 9 18:15:35 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Tue Sep 9 20:52:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b59ebad
sci-physics/espresso: update EAPI 7 -> 8 The upstream project does a wonky. Our buildtype "Gentoo" (eapi 7) is ignored, and results in RelWithDebInfo using stock cmake flags as the eclass doesn't erase "foreign" buildtype flags, namely -O3 -DNDEBUG, which in turn masks a boost assert in a single unittest. The -9999 ebuild somehow passes this test. Today is not my day for bisecting this. Bug: https://bugs.gentoo.org/962537 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> sci-physics/espresso/espresso-4.2.2.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sci-physics/espresso/espresso-4.2.2.ebuild b/sci-physics/espresso/espresso-4.2.2.ebuild index 392c61bed0bf..750ce49e0798 100644 --- a/sci-physics/espresso/espresso-4.2.2.ebuild +++ b/sci-physics/espresso/espresso-4.2.2.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{9..12} ) -inherit cmake cuda python-single-r1 savedconfig +inherit cmake cuda flag-o-matic python-single-r1 savedconfig DESCRIPTION="Extensible Simulation Package for Research on Soft matter" HOMEPAGE="https://espressomd.org" @@ -74,6 +74,10 @@ src_prepare() { } src_configure() { + # cmake.eclass for EAPI 8 finally, correctly, wipes out -DNDEBUG, leading + # to test fails. Fixed in git. + append-cppflags -DBOOST_DISABLE_ASSERTS + local mycmakeargs=( -DWITH_CUDA=$(usex cuda) -DPYTHON_EXECUTABLE="${PYTHON}"
