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 B8E1715808B for ; Wed, 23 Mar 2022 16:15:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A36FE08F1; Wed, 23 Mar 2022 16:15:03 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1A471E08CE for ; Wed, 23 Mar 2022 16:15:03 +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 E7F78343285 for ; Wed, 23 Mar 2022 16:15:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 557BB342 for ; Wed, 23 Mar 2022 16:14:59 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1647615519.91081952a58c013d9594663503e4147933a9c8cd.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/highway/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/highway/highway-9999.ebuild X-VCS-Directories: dev-cpp/highway/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 91081952a58c013d9594663503e4147933a9c8cd X-VCS-Branch: master Date: Wed, 23 Mar 2022 16:14:59 +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: b3fae6d7-b084-446f-982e-822cd8bb1d67 X-Archives-Hash: f4a05e58e3598119229e95cfaf59c6a8 commit: 91081952a58c013d9594663503e4147933a9c8cd Author: Daniel Novomesky gmail com> AuthorDate: Fri Mar 18 14:58:39 2022 +0000 Commit: Ronny Gutbrod tastytea de> 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 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 -}