summaryrefslogtreecommitdiff
path: root/sci-physics
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2025-09-09 15:29:50 -0400
committerEli Schwartz <eschwartz@gentoo.org>2025-09-09 16:52:40 -0400
commit3cb8cca70e5cdb8a072b695e885423c36d5c7ede (patch)
treeb98b8649c0e78a4e8b001d7a9f83d39c59283dea /sci-physics
parent3ae01f5b433dddcd664aad1f715d420cfe0ce9ed (diff)
downloadgentoo-3cb8cca70e5cdb8a072b695e885423c36d5c7ede.tar.gz
gentoo-3cb8cca70e5cdb8a072b695e885423c36d5c7ede.tar.bz2
gentoo-3cb8cca70e5cdb8a072b695e885423c36d5c7ede.zip
sci-physics/espresso: rm unused CMakeList.txt false positive for cmake4
The h5xx project is header-only C++ wrappers for hdf5. It is included as a submodule in order to pass the submodule via target_include_directories() in the main project; the submodule's own CMakeLists.txt is never processed at all. Closes: https://bugs.gentoo.org/962537 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/espresso/espresso-4.2.2.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/sci-physics/espresso/espresso-4.2.2.ebuild b/sci-physics/espresso/espresso-4.2.2.ebuild
index 29083159233b..2cf9fe0854aa 100644
--- a/sci-physics/espresso/espresso-4.2.2.ebuild
+++ b/sci-physics/espresso/espresso-4.2.2.ebuild
@@ -63,6 +63,14 @@ PATCHES=(
"${FILESDIR}"/${P}-numpy-2.x.patch
)
+src_unpack() {
+ default
+
+ # vendored, cmake4 false positive. Used solely as a directory of *.hpp
+ rm "${S}"/libs/h5xx/CMakeLists.txt || die
+ rm -r "${S}"/libs/h5xx/example || die
+}
+
src_prepare() {
use cuda && cuda_src_prepare
cmake_src_prepare