commit: 91081952a58c013d9594663503e4147933a9c8cd Author: Daniel Novomesky <dnovomesky <AT> gmail <DOT> com> AuthorDate: Fri Mar 18 14:58:39 2022 +0000 Commit: Daniel Novomesky <dnovomesky <AT> gmail <DOT> com> CommitDate: Fri Mar 18 14:58:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91081952
dev-cpp/highway: multilib support in live ebuild Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com> dev-cpp/highway/highway-9999.ebuild | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/dev-cpp/highway/highway-9999.ebuild b/dev-cpp/highway/highway-9999.ebuild index 9c990e08c..4371d5e0b 100644 --- a/dev-cpp/highway/highway-9999.ebuild +++ b/dev-cpp/highway/highway-9999.ebuild @@ -3,7 +3,8 @@ EAPI=8 -inherit cmake +CMAKE_ECLASS=cmake +inherit cmake-multilib DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch" HOMEPAGE="https://github.com/google/highway" @@ -13,18 +14,18 @@ if [[ "${PV}" == *9999* ]]; then EGIT_REPO_URI="https://github.com/google/highway.git" else SRC_URI="https://github.com/google/highway/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~x86" fi LICENSE="Apache-2.0" SLOT="0" IUSE="test" -DEPEND="test? ( dev-cpp/gtest )" +DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" RESTRICT="!test? ( test )" -src_configure() { +multilib_src_configure() { local mycmakeargs=( -DBUILD_TESTING=$(usex test) -DHWY_WARNINGS_ARE_ERRORS=OFF @@ -34,8 +35,3 @@ src_configure() { cmake_src_configure } - -src_install() { - dodoc g3doc/* - cmake_src_install -}
