summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/Manifest.gzbin14605 -> 14608 bytes
-rw-r--r--dev-cpp/highway/Manifest2
-rw-r--r--dev-cpp/highway/files/highway-1.0.7-Fix_UB_case_with_signed_overflow.patch29
-rw-r--r--dev-cpp/highway/highway-1.0.7-r1.ebuild41
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz
index 42dbf557c9de..717a1d8f56fb 100644
--- a/dev-cpp/Manifest.gz
+++ b/dev-cpp/Manifest.gz
Binary files differ
diff --git a/dev-cpp/highway/Manifest b/dev-cpp/highway/Manifest
index 0f36b8921000..53572a5a4a6b 100644
--- a/dev-cpp/highway/Manifest
+++ b/dev-cpp/highway/Manifest
@@ -1,5 +1,6 @@
AUX 0001-fix-compile-for-armv7-targets-with-vfp4-and-lower.patch 5987 BLAKE2B e6168befa010bbfe2cce3633c78c8d8c5005ecbe605a12c39e1004284f80d580c0c8a9a037638e414e57a989f63370b54a64db2de1c25a3188d0a3df4611687b SHA512 03f5d89ed1038f6eab451c11216ac75bfa7165a57b1f46a0b6fedb03620a355b30bd868d0da371e44d1ebe5f625e4e36777929de63762953e4e9fc0013c6f5bb
AUX 0002-fix-armv7-neon-detect-via-asm-hwcap.patch 913 BLAKE2B 6df3006c89b136a8df8db949ce2822b22780f1cd3aede7d468579ad179c0777464f467e6cf9000bf69e22f8ce9171c61ff1deeddb0646da4bebeca41a3f5d434 SHA512 5e71829b47eb75239e90189b2ce74efcdb055d6445f0b7d58610ea775969f8b223f1fdcc3b215259fa89d1f6b1ac0de0f184786db57235a429da37ddfbdaf519
+AUX highway-1.0.7-Fix_UB_case_with_signed_overflow.patch 1223 BLAKE2B 94e79af30567072c44761cff03aa167bde4cc2c674d54f104c3db54f26cbd3184bf42d0bb6374e380db639a7a384f05ff71c709670bcbea75eb241a95c6edf76 SHA512 480379575816e86ec0132f5714ab4035dd54a2d96ffbaed012aa00349774bed9a0c81a20a69b9a217378e59d5b8f8a971e6364f4bea9a031451dbee2a57bbdab
DIST highway-1.0.1.tar.gz 1730746 BLAKE2B 1c6185af91afe32fbb35285d49101d381ade7ded262cbcd3b0a8bf28b1924a76ac5a11423a1613068f3435fbbdd2ab0119aa8a1aafe2c3467e0aff1987f40aad SHA512 35b6287579b6248966b0d36fda1522fd6338523934b079e94e857f9de08354f20b99739c99d53249a3a6c583519da0e0ac5e06dfbe6e3a89262f627c75b59dd8
DIST highway-1.0.3.tar.gz 1770704 BLAKE2B 5454f7e661270f25d1439a2a3d649a0f9970d7e10e0cfe6818c470b00460cc77b044ca83e912c91a3582b4a60af5d8d0f7c0aba01762acd3c98b9692fa0b20c6 SHA512 fc419c862e1686b6278081e8e10da41dc2bdfbd386a29b59e21a57375a47d3eeb5c7297e3078c78007b212121d936640b192a26a16c941e73cf599f24e081021
DIST highway-1.0.5.tar.gz 2012129 BLAKE2B cd7673bc5e3a32551554c83c4e1beb31f9855d9ad9550f156be2fb9e93b20391bd98d4b3ed4d0edf0a2786e403dcca86f4a50d00c27f0e08242dc66e2e6b2262 SHA512 0886b60147b78807e40c4987438fe664b4fbc012c3c681a45f3043ee4077afa493cb75550bc18ae160d00e527bf15bcf1f14220ea8561a4baacb3317fc25e347
@@ -8,6 +9,7 @@ EBUILD highway-1.0.1-r1.ebuild 1000 BLAKE2B 785d94ce1c5bda32873bae32c693eeb56672
EBUILD highway-1.0.3-r1.ebuild 1088 BLAKE2B 2480c977a6917c8c73535266a3551ef429b3e983116b42da23b081dc37be39e11b63928c8ca74e174d4dc6155ca4209318d1ed17867085d6a6224d6960ab2918 SHA512 dfd974802114483b35fb21be722bcd7648819ea8a1277e956e22a1d1a998657998a779fb6fdf224a4e84a576c53088a08c6b891fc6b5e120ae301e4ff7721749
EBUILD highway-1.0.3.ebuild 1019 BLAKE2B 61447444b75bc7fdb09363992aeee6d454400f6d22288f972c0b48d18bf4eedb791bd1a5761ed7edc24f7f846926f3f34b290bec2c74abcb201d1e01282f4b4a SHA512 745b3be032f06e186791a758ca0d399327d9c4ee8b18c9e0ca87ebc862aee170aec0dd051a35502615b2df09894a66bfa9176ef4c4678410af00594121cd1e68
EBUILD highway-1.0.5.ebuild 937 BLAKE2B 5dc370af85a93d6864cdd01b113f7c6099b078e9488386e69c2c9e138983eb643c20dc2500df8cb7514b69445f2624a9498ede326b06c4b7948c7dfc01abc693 SHA512 100aa26a702801b0a56d39675b30f7a4fbb48184f1e392261362b688a25847e835ad4ffef65dc3b9c75e9c7718eafce26a712ad8c5b83df84e765b84ad65e3d2
+EBUILD highway-1.0.7-r1.ebuild 1016 BLAKE2B 9c0b8103afbd7a49e48c9868b2300692d10b83d664ce88b39f9e63e78b4460dd59cccbbcf9b7d39c5257b5d5e958ed09949842d2dfbc99323a4e6608e9996958 SHA512 007f8373a7fbbd6a93a85d9a22891c01977cc8858aba6b288d2ee0102c583f6d7276afa773dade2d6da63c84ec78468a452c887651dc275912d9a5dd7813c9f9
EBUILD highway-1.0.7.ebuild 931 BLAKE2B fa1630639e5b53bf696ed93bee6cf7bf2d117a76d7a0b7c44d68d974a026b26f2884ef62fe15410e8b0ae2f7ca4d8e6d24c928e3b37238c2defae188654a5979 SHA512 73185c0b76f4d6d489387c5c5cb6ac244bde6f60676c9e0f3354969ecfcbb0078e074ae849c404e0874daa88ea338aa5cb523b801662286594d2d8deb8662d3d
EBUILD highway-9999.ebuild 930 BLAKE2B ae08b4b970402c4afa31b7add6d6201dc1e10d8d7b52019de21b13903fa4d9ee48d541a936be6baf2d9d766f78b4c9358d3ae879c5ff16c8034d04c37ed01b6f SHA512 325ecb955be3deb5592ed0a176a67517920e3321929b444e1e0b683a3e336fa9107607cabf6cc8a93a466124348d6c3a94c30528a343f0a9a8a19511b565e9ab
MISC metadata.xml 700 BLAKE2B 23fb803289745f094f19cb7dc6b296f56a3bf712b39f87ee563872496edb5798fe9f36ec1d8a9d9af52d26b589bca354bc58a3c039753156e09a154de27cb960 SHA512 b47da71c110bb91b523dd970a1ed8f4d40c1cc067c170d10ef0ad412850967682303e610c352d7c6425d7bad33d58f90a6d3a34a333a38e427c65a8341c3ec21
diff --git a/dev-cpp/highway/files/highway-1.0.7-Fix_UB_case_with_signed_overflow.patch b/dev-cpp/highway/files/highway-1.0.7-Fix_UB_case_with_signed_overflow.patch
new file mode 100644
index 000000000000..814d584e8b3a
--- /dev/null
+++ b/dev-cpp/highway/files/highway-1.0.7-Fix_UB_case_with_signed_overflow.patch
@@ -0,0 +1,29 @@
+https://github.com/google/highway/issues/1549
+https://github.com/google/highway/commit/45eea15b5488f3e7a15c2c94ac77bd9e99703203
+
+From 45eea15b5488f3e7a15c2c94ac77bd9e99703203 Mon Sep 17 00:00:00 2001
+From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
+Date: Thu, 5 Oct 2023 08:00:38 +0200
+Subject: [PATCH] Fix UB case with signed overflow, prefer unsigned
+
+Fixes #1549
+
+Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110643
+Suggested-by: Andrew Pinski <pinskia@gcc.gnu.org>
+---
+ hwy/ops/arm_neon-inl.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/hwy/ops/arm_neon-inl.h b/hwy/ops/arm_neon-inl.h
+index 7ac7a10c62..97de46be2e 100644
+--- a/hwy/ops/arm_neon-inl.h
++++ b/hwy/ops/arm_neon-inl.h
+@@ -4592,7 +4592,7 @@ HWY_API Mask128<T, N> IsNaN(const Vec128<T, N> v) {
+ template <typename T, size_t N, HWY_IF_FLOAT(T)>
+ HWY_API Mask128<T, N> IsInf(const Vec128<T, N> v) {
+ const DFromV<decltype(v)> d;
+- const RebindToSigned<decltype(d)> di;
++ const RebindToUnsigned<decltype(d)> di;
+ const VFromD<decltype(di)> vi = BitCast(di, v);
+ // 'Shift left' to clear the sign bit, check for exponent=max and mantissa=0.
+ return RebindMask(d, Eq(Add(vi, vi), Set(di, hwy::MaxExponentTimes2<T>())));
diff --git a/dev-cpp/highway/highway-1.0.7-r1.ebuild b/dev-cpp/highway/highway-1.0.7-r1.ebuild
new file mode 100644
index 000000000000..98f940b6570c
--- /dev/null
+++ b/dev-cpp/highway/highway-1.0.7-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2021-2024 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.0.7-Fix_UB_case_with_signed_overflow.patch"
+)
+
+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
+}