From 5da2725725221fde5dc0de38e708d65ad9ce10d9 Mon Sep 17 00:00:00 2001 From: Daniel Novomeský Date: Mon, 30 Jan 2023 13:28:03 +0100 Subject: dev-cpp/highway: add 1.0.3, drop 0.16.0-r1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Novomeský Closes: https://github.com/gentoo/gentoo/pull/29421 Signed-off-by: Joonas Niilola --- dev-cpp/highway/Manifest | 2 +- dev-cpp/highway/highway-0.16.0-r1.ebuild | 40 -------------------------------- dev-cpp/highway/highway-1.0.3.ebuild | 37 +++++++++++++++++++++++++++++ dev-cpp/highway/highway-9999.ebuild | 2 +- dev-cpp/highway/metadata.xml | 3 +++ 5 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 dev-cpp/highway/highway-0.16.0-r1.ebuild create mode 100644 dev-cpp/highway/highway-1.0.3.ebuild (limited to 'dev-cpp/highway') diff --git a/dev-cpp/highway/Manifest b/dev-cpp/highway/Manifest index 9c502bdc0c12..d858093c019a 100644 --- a/dev-cpp/highway/Manifest +++ b/dev-cpp/highway/Manifest @@ -1,2 +1,2 @@ -DIST highway-0.16.0.tar.gz 1639388 BLAKE2B 660b0079b25a12a2e982b4ba16147b923d167989a7dc1c0cb65ebe5219577f2f02c8774a554fd3fe9e1c10ef7b1cf5db747500bd8acf454e26952722f7b5ac9e SHA512 c08e66f43d9d0b307737b016cfa6c3d3a1df9bd528de435d193388104f34c264866c5ff0da633fc0a6f8c50f21df1ac653e9dd3f6fbfaf227d636411ac14cd47 DIST highway-1.0.1.tar.gz 1730746 BLAKE2B 1c6185af91afe32fbb35285d49101d381ade7ded262cbcd3b0a8bf28b1924a76ac5a11423a1613068f3435fbbdd2ab0119aa8a1aafe2c3467e0aff1987f40aad SHA512 35b6287579b6248966b0d36fda1522fd6338523934b079e94e857f9de08354f20b99739c99d53249a3a6c583519da0e0ac5e06dfbe6e3a89262f627c75b59dd8 +DIST highway-1.0.3.tar.gz 1770704 BLAKE2B 5454f7e661270f25d1439a2a3d649a0f9970d7e10e0cfe6818c470b00460cc77b044ca83e912c91a3582b4a60af5d8d0f7c0aba01762acd3c98b9692fa0b20c6 SHA512 fc419c862e1686b6278081e8e10da41dc2bdfbd386a29b59e21a57375a47d3eeb5c7297e3078c78007b212121d936640b192a26a16c941e73cf599f24e081021 diff --git a/dev-cpp/highway/highway-0.16.0-r1.ebuild b/dev-cpp/highway/highway-0.16.0-r1.ebuild deleted file mode 100644 index 12542df4d1cb..000000000000 --- a/dev-cpp/highway/highway-0.16.0-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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 arm arm64 ppc ppc64 ~riscv sparc x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="test" - -DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${P}-fix-AVX512-detection-on-IceLakeClient.patch -) - -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-1.0.3.ebuild b/dev-cpp/highway/highway-1.0.3.ebuild new file mode 100644 index 000000000000..9dcc7e3c3d20 --- /dev/null +++ b/dev-cpp/highway/highway-1.0.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="cpu_flags_arm_neon test" + +DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" + +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local mycmakeargs=( + -DHWY_CMAKE_ARM7=$(usex cpu_flags_arm_neon) + -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 index fa85ceaf4334..9dcc7e3c3d20 100644 --- a/dev-cpp/highway/highway-9999.ebuild +++ b/dev-cpp/highway/highway-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-cpp/highway/metadata.xml b/dev-cpp/highway/metadata.xml index 211c94e70a5c..d9573774549a 100644 --- a/dev-cpp/highway/metadata.xml +++ b/dev-cpp/highway/metadata.xml @@ -13,4 +13,7 @@ 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. + + google/highway + -- cgit v1.2.3-65-gdbad