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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5597415808B for ; Thu, 24 Mar 2022 12:46:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EEEAE0829; Thu, 24 Mar 2022 12:46:47 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1FC4E0829 for ; Thu, 24 Mar 2022 12:46:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A93AA342BDC for ; Thu, 24 Mar 2022 12:46:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F145342 for ; Thu, 24 Mar 2022 12:46:44 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1648125999.fb8fa4aa1e945ec66a7588b6a89f091cadfd788e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/highway/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/highway/Manifest dev-cpp/highway/highway-0.16.0.ebuild dev-cpp/highway/highway-9999.ebuild dev-cpp/highway/metadata.xml X-VCS-Directories: dev-cpp/highway/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: fb8fa4aa1e945ec66a7588b6a89f091cadfd788e X-VCS-Branch: master Date: Thu, 24 Mar 2022 12:46:44 +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: 343e4892-ba94-4cbb-a120-34ad379e479d X-Archives-Hash: a1dcc4f0dd4a858617769133dee153f5 commit: fb8fa4aa1e945ec66a7588b6a89f091cadfd788e Author: Daniel Novomesky gmail com> AuthorDate: Thu Mar 10 11:37:39 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Mar 24 12:46:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb8fa4aa dev-cpp/highway: new package, moved from ::guru Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Daniel Novomesky gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/highway/Manifest | 1 + dev-cpp/highway/highway-0.16.0.ebuild | 37 +++++++++++++++++++++++++++++++++++ dev-cpp/highway/highway-9999.ebuild | 37 +++++++++++++++++++++++++++++++++++ dev-cpp/highway/metadata.xml | 16 +++++++++++++++ 4 files changed, 91 insertions(+) diff --git a/dev-cpp/highway/Manifest b/dev-cpp/highway/Manifest new file mode 100644 index 000000000000..7510c7106e76 --- /dev/null +++ b/dev-cpp/highway/Manifest @@ -0,0 +1 @@ +DIST highway-0.16.0.tar.gz 1639388 BLAKE2B 660b0079b25a12a2e982b4ba16147b923d167989a7dc1c0cb65ebe5219577f2f02c8774a554fd3fe9e1c10ef7b1cf5db747500bd8acf454e26952722f7b5ac9e SHA512 c08e66f43d9d0b307737b016cfa6c3d3a1df9bd528de435d193388104f34c264866c5ff0da633fc0a6f8c50f21df1ac653e9dd3f6fbfaf227d636411ac14cd47 diff --git a/dev-cpp/highway/highway-0.16.0.ebuild b/dev-cpp/highway/highway-0.16.0.ebuild new file mode 100644 index 000000000000..4371d5e0bc03 --- /dev/null +++ b/dev-cpp/highway/highway-0.16.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch" +HOMEPAGE="https://github.com/google/highway" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + 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 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" + +DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" + +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DHWY_WARNINGS_ARE_ERRORS=OFF + ) + + use test && mycmakeargs+=( "-DHWY_SYSTEM_GTEST=ON" ) + + cmake_src_configure +} diff --git a/dev-cpp/highway/highway-9999.ebuild b/dev-cpp/highway/highway-9999.ebuild new file mode 100644 index 000000000000..4371d5e0bc03 --- /dev/null +++ b/dev-cpp/highway/highway-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch" +HOMEPAGE="https://github.com/google/highway" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + 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 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="test" + +DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" + +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DHWY_WARNINGS_ARE_ERRORS=OFF + ) + + use test && mycmakeargs+=( "-DHWY_SYSTEM_GTEST=ON" ) + + cmake_src_configure +} diff --git a/dev-cpp/highway/metadata.xml b/dev-cpp/highway/metadata.xml new file mode 100644 index 000000000000..717dcaf45afe --- /dev/null +++ b/dev-cpp/highway/metadata.xml @@ -0,0 +1,16 @@ + + + + + dnovomesky@gmail.com + Daniel Novomesky + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Highway is a C++ library for SIMD (Single Instruction, Multiple Data), + i.e. applying the same operation to multiple 'lanes' using a single CPU instruction. + +