From b5cbbb68af85a1996cf5242baa436c1668fbf5f2 Mon Sep 17 00:00:00 2001 From: Kamal Abdellatif Date: Mon, 13 Feb 2023 10:27:08 +0000 Subject: [PATCH] dev-cpp/xsimd: move tests out of src_compile Signed-off-by: Kamal Abdellatif --- dev-cpp/xsimd/xsimd-10.0.0.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-cpp/xsimd/xsimd-10.0.0.ebuild b/dev-cpp/xsimd/xsimd-10.0.0.ebuild index 0398f664b8..0c4a791b3e 100644 --- a/dev-cpp/xsimd/xsimd-10.0.0.ebuild +++ b/dev-cpp/xsimd/xsimd-10.0.0.ebuild @@ -47,11 +47,13 @@ src_configure() { } src_compile() { - use test && cmake_src_compile xtest - if use doc; then cd "${WORKDIR}/${P}/docs" || die emake html BUILDDIR="${BUILD_DIR}" HTML_DOCS=( "${BUILD_DIR}/html/." ) fi } + +src_test() { + cmake_src_compile xtest +}