dev-cpp/xsimd: move tests out of src_compile

Signed-off-by: Kamal Abdellatif <gentoo.kamal@tgf.pw>
This commit is contained in:
Kamal Abdellatif
2023-02-13 10:27:08 +00:00
parent 31ba3a34b8
commit b5cbbb68af

View File

@@ -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
}