mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-cpp/highway: drop 1.0.7-r1
Stable ppc is dropped per https://bugs.gentoo.org/963278#c6. Bug: https://bugs.gentoo.org/963278 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
a70471fc8e
commit
a60b92c968
@ -1,3 +1,2 @@
|
||||
DIST highway-1.0.7.tar.gz 2055819 BLAKE2B da10291124dfdb5d9fd2b661f4d7e594c1e80e4159c9d704e1b4203facf7a0603e7ba808ffb1d8f1aba13d992df24abdb0ae89807329fffb67dee78b58574c28 SHA512 6ee5007ec13ac20b5d816b38a1b31c31a06678ca6d2ea090dd75e364f04cb2cf7ad8a82d1bdfff51079efa54b9a95fb554d62e6cc1bbf7d7e794cb272032d8f5
|
||||
DIST highway-1.2.0.tar.gz 2234665 BLAKE2B b92f699c0f2f15fd9d223cf9546125b68a5c12ba9c84f8a3a990129f40bc56a266858e4f99eebe34e47c9904bd9164a138de1af8d405911d4b03bea67532489a SHA512 e94b9cc51c81157ccd6bf4d6163445b1acc1a2667dc2650d1c4aea0a5021989c08dafcb92564fcbecb9445ab2f1779051260be2f5b29c3932803b8a42ed2f824
|
||||
DIST highway-1.3.0.tar.gz 3634890 BLAKE2B c8db95b003c1d00e87b42f3d7bf06005873c225ef950f7cb32057f6f690f219a400dcf68220a0dbbb72cdb12f13afabcd9c1b8e9c7e5eb007734bfe4b617c347 SHA512 8b9f4fdc4fa60b6817417959853f5b55bf86aec9d35fc6664dda15179cc55e0a9940f3a46011a84b95263ba342dc47ca1cb93b04481ff4b63d724cce1815d7c6
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
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>())));
|
||||
@ -1,41 +0,0 @@
|
||||
# Copyright 2021-2025 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 ~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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user