From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72283158010 for ; Tue, 14 Feb 2023 12:02:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF52DE0831; Tue, 14 Feb 2023 12:02:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5317E0831 for ; Tue, 14 Feb 2023 12:02:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D2C4C340B63 for ; Tue, 14 Feb 2023 12:02:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 015BB8B5 for ; Tue, 14 Feb 2023 12:02:45 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1676302986.4196775e76517fbadb6acfb15c286154dcda2493.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/xsimd/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/xsimd/xsimd-10.0.0.ebuild X-VCS-Directories: dev-cpp/xsimd/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 4196775e76517fbadb6acfb15c286154dcda2493 X-VCS-Branch: master Date: Tue, 14 Feb 2023 12:02:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5b819823-c210-44f0-9c9c-f9dc16a5911c X-Archives-Hash: c552a166302f2d10dbc69fb007cd43da commit: 4196775e76517fbadb6acfb15c286154dcda2493 Author: Kamal Abdellatif tgf pw> AuthorDate: Mon Feb 13 15:41:19 2023 +0000 Commit: Florian Schmaus gentoo org> 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 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 +}