commit:     5da2725725221fde5dc0de38e708d65ad9ce10d9
Author:     Daniel Novomeský <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Mon Jan 30 12:28:03 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 15:08:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da27257

dev-cpp/highway: add 1.0.3, drop 0.16.0-r1

Signed-off-by: Daniel Novomeský <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29421
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-cpp/highway/Manifest                                      |  2 +-
 .../{highway-0.16.0-r1.ebuild => highway-1.0.3.ebuild}        | 11 ++++-------
 dev-cpp/highway/highway-9999.ebuild                           |  2 +-
 dev-cpp/highway/metadata.xml                                  |  3 +++
 4 files changed, 9 insertions(+), 9 deletions(-)

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-1.0.3.ebuild
similarity index 80%
rename from dev-cpp/highway/highway-0.16.0-r1.ebuild
rename to dev-cpp/highway/highway-1.0.3.ebuild
index 12542df4d1cb..9dcc7e3c3d20 100644
--- a/dev-cpp/highway/highway-0.16.0-r1.ebuild
+++ b/dev-cpp/highway/highway-1.0.3.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
@@ -13,23 +13,20 @@ 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 arm arm64 ppc ppc64 ~riscv sparc x86"
+       KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="cpu_flags_arm_neon 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=(
+               -DHWY_CMAKE_ARM7=$(usex cpu_flags_arm_neon)
                -DBUILD_TESTING=$(usex test)
                -DHWY_WARNINGS_ARE_ERRORS=OFF
        )

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.
   </longdescription>
+  <upstream>
+    <remote-id type="github">google/highway</remote-id>
+  </upstream>
 </pkgmetadata>

Reply via email to