commit: 4196775e76517fbadb6acfb15c286154dcda2493
Author: Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
AuthorDate: Mon Feb 13 15:41:19 2023 +0000
Commit: Kamal Abdellatif <gentoo.kamal <AT> tgf <DOT> pw>
CommitDate: Mon Feb 13 15:43:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4196775e
dev-cpp/xsimd: avoid unnecessary test compilation during src_install
Signed-off-by: Kamal Abdellatif <gentoo.kamal <AT> tgf.pw>
dev-cpp/xsimd/xsimd-10.0.0.ebuild | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/dev-cpp/xsimd/xsimd-10.0.0.ebuild
b/dev-cpp/xsimd/xsimd-10.0.0.ebuild
index 0c4a791b3..04d1cc82a 100644
--- a/dev-cpp/xsimd/xsimd-10.0.0.ebuild
+++ b/dev-cpp/xsimd/xsimd-10.0.0.ebuild
@@ -3,6 +3,9 @@
EAPI=8
+# required because of manual install in src_install
+CMAKE_MAKEFILE_GENERATOR="emake"
+
PYTHON_COMPAT=( python3_{9..11} )
inherit cmake python-any-r1
@@ -57,3 +60,11 @@ src_compile() {
src_test() {
cmake_src_compile xtest
}
+
+src_install() {
+ # Default install target depends on tests with USE=test enabled.
+ # However, this is a header-only library.
+ DESTDIR="${D}" cmake_build install/fast "$@"
+
+ einstalldocs
+}