public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: drop unneeded patches
@ 2026-08-07 16:06 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 6d35301532dbf01b49f02dfdfb7dea4dc13908d9
Author : Than Ngo <than@redhat.com>
Date : 2024-05-01T13:34:07+02:00
Stats : +0/-127 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/6d35301532dbf01b49f02dfdfb7dea4dc13908d9?branch=epel9-next
Log:
drop unneeded patches
---
diff --git a/0001-Fix-highway-ppc-hwcap.patch b/0001-Fix-highway-ppc-hwcap.patch
deleted file mode 100644
index 74c6892..0000000
--- a/0001-Fix-highway-ppc-hwcap.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: chromium-120.0.6099.71/third_party/highway/BUILD.gn
-===================================================================
---- chromium-120.0.6099.71.orig/third_party/highway/BUILD.gn
-+++ chromium-120.0.6099.71/third_party/highway/BUILD.gn
-@@ -13,6 +13,9 @@ config("libhwy_external_config") {
- # explicitly disabling AVX2 and AVX3 targets.
- defines += [ "HWY_BROKEN_TARGETS=(HWY_AVX2|HWY_AVX3)" ]
- }
-+ if (target_cpu == "ppc64") {
-+ defines += [ "TOOLCHAIN_MISS_ASM_HWCAP_H" ]
-+ }
- }
-
- source_set("libhwy") {
diff --git a/0002-Highway-disable-128-bit-vsx.patch b/0002-Highway-disable-128-bit-vsx.patch
deleted file mode 100644
index 3b1e7e7..0000000
--- a/0002-Highway-disable-128-bit-vsx.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-Index: chromium-120.0.6099.71/third_party/highway/src/hwy/ops/ppc_vsx-inl.h
-===================================================================
---- chromium-120.0.6099.71.orig/third_party/highway/src/hwy/ops/ppc_vsx-inl.h
-+++ chromium-120.0.6099.71/third_party/highway/src/hwy/ops/ppc_vsx-inl.h
-@@ -36,6 +36,8 @@
-
- #include "hwy/ops/shared-inl.h"
-
-+#undef __SIZEOF_INT128__
-+
- HWY_BEFORE_NAMESPACE();
- namespace hwy {
- namespace HWY_NAMESPACE {
-@@ -2844,7 +2846,6 @@ struct CompressIsPartition {
-
- namespace detail {
-
--#if HWY_TARGET > HWY_PPC10 || __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__
- // fallback for missing vec_extractm
- template <size_t N>
- HWY_INLINE uint64_t ExtractSignBits(Vec128<uint8_t, N> sign_bits,
-@@ -2857,22 +2858,16 @@ HWY_INLINE uint64_t ExtractSignBits(Vec1
- return extracted.raw[__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__];
- }
-
--#endif // HWY_TARGET > HWY_PPC10
--
- template <typename T, size_t N>
- HWY_INLINE uint64_t BitsFromMask(hwy::SizeTag<1> /*tag*/,
- Mask128<T, N> mask) {
- const DFromM<decltype(mask)> d;
- const Repartition<uint8_t, decltype(d)> du8;
- const VFromD<decltype(du8)> sign_bits = BitCast(du8, VecFromMask(d, mask));
--#if HWY_TARGET <= HWY_PPC10 && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
-- return static_cast<uint64_t>(vec_extractm(sign_bits.raw));
--#else
- const __vector unsigned char kBitShuffle = {
- 120, 112, 104, 96, 88, 80, 72, 64, 56, 48, 40, 32, 24, 16, 8, 0
- };
- return ExtractSignBits(sign_bits, kBitShuffle);
--#endif // HWY_TARGET <= HWY_PPC10
- }
-
- template <typename T, size_t N>
-@@ -2882,10 +2877,6 @@ HWY_INLINE uint64_t BitsFromMask(hwy::Si
- const Repartition<uint8_t, decltype(d)> du8;
- const VFromD<decltype(du8)> sign_bits = BitCast(du8, VecFromMask(d, mask));
-
--#if HWY_TARGET <= HWY_PPC10 && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
-- const RebindToUnsigned<decltype(d)> du;
-- return static_cast<uint64_t>(vec_extractm(BitCast(du, sign_bits).raw));
--#else
- #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
- const __vector unsigned char kBitShuffle = {
- 112, 96, 80, 64, 48, 32, 16, 0, 128, 128, 128, 128, 128, 128, 128, 128};
-@@ -2894,7 +2885,6 @@ HWY_INLINE uint64_t BitsFromMask(hwy::Si
- 128, 128, 128, 128, 128, 128, 128, 128, 112, 96, 80, 64, 48, 32, 16, 0};
- #endif
- return ExtractSignBits(sign_bits, kBitShuffle);
--#endif // HWY_TARGET <= HWY_PPC10
- }
-
- template <typename T, size_t N>
-@@ -2903,10 +2893,6 @@ HWY_INLINE uint64_t BitsFromMask(hwy::Si
- const DFromM<decltype(mask)> d;
- const Repartition<uint8_t, decltype(d)> du8;
- const VFromD<decltype(du8)> sign_bits = BitCast(du8, VecFromMask(d, mask));
--#if HWY_TARGET <= HWY_PPC10 && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
-- const RebindToUnsigned<decltype(d)> du;
-- return static_cast<uint64_t>(vec_extractm(BitCast(du, sign_bits).raw));
--#else
- #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
- const __vector unsigned char kBitShuffle = {
- 96, 64, 32, 0, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128};
-@@ -2915,7 +2901,6 @@ HWY_INLINE uint64_t BitsFromMask(hwy::Si
- 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 96, 64, 32, 0};
- #endif
- return ExtractSignBits(sign_bits, kBitShuffle);
--#endif // HWY_TARGET <= HWY_PPC10
- }
-
- template <typename T, size_t N>
-@@ -2924,10 +2909,6 @@ HWY_INLINE uint64_t BitsFromMask(hwy::Si
- const DFromM<decltype(mask)> d;
- const Repartition<uint8_t, decltype(d)> du8;
- const VFromD<decltype(du8)> sign_bits = BitCast(du8, VecFromMask(d, mask));
--#if HWY_TARGET <= HWY_PPC10 && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
-- const RebindToUnsigned<decltype(d)> du;
-- return static_cast<uint64_t>(vec_extractm(BitCast(du, sign_bits).raw));
--#else
- #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
- const __vector unsigned char kBitShuffle = {64, 0, 128, 128, 128, 128,
- 128, 128, 128, 128, 128, 128,
-@@ -2938,7 +2919,6 @@ HWY_INLINE uint64_t BitsFromMask(hwy::Si
- 128, 128, 64, 0};
- #endif
- return ExtractSignBits(sign_bits, kBitShuffle);
--#endif // HWY_TARGET <= HWY_PPC10
- }
-
- // Returns the lowest N of the mask bits.
diff --git a/chromium.spec b/chromium.spec
index 27bbb08..eddf0c1 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -542,7 +542,6 @@ Patch400: fix-rust-linking.patch
Patch401: fix-breakpad-compile.patch
Patch402: fix-partition-alloc-compile.patch
Patch403: 0002-Add-ppc64-trap-instructions.patch
-Patch404: 0001-Fix-highway-ppc-hwcap.patch
Patch407: fix-ppc64-linux-syscalls-headers.patch
Patch409: use-sysconf-page-size-on-ppc64.patch
@@ -555,11 +554,6 @@ Patch412: fix-swiftshader-compile.patch
# Suppress harmless compiler warning messages that appear on ppc64 due to arch-specific warning flags being passed
Patch413: fix-unknown-warning-option-messages.diff
-# Needed on Debian while POWER8 remains the build target
-# POWER9 enables hardware 128 bit vector support (ISA 3.0),
-# and Highway gets confused when building in POWER8 mode
-# (POWER8 compiler flags) on POWER9 hosts.
-Patch414: 0002-Highway-disable-128-bit-vsx.patch
Patch415: fix-clang-selection.patch
# upstream patches
@@ -1289,8 +1283,6 @@ udev.
%patch -P389 -p1 -b .0002-third_party-libvpx-Remove-bad-ppc64-config
%patch -P390 -p1 -b .0002-third-party-boringssl-add-generated-files
%patch -P391 -p1 -b .0003-third_party-libvpx-Add-ppc64-generated-config
-#patch -P392 -p1 -b .0003-third_party-libvpx-Add-ppc64-vsx-files
-#patch -P393 -p1 -b .0003-third_party-ffmpeg-Add-ppc64-generated-config
%patch -P394 -p1 -b .0004-third_party-libvpx-work-around-ambiguous-vsx
%patch -P395 -p1 -b .skia-vsx-instructions
@@ -1303,12 +1295,8 @@ udev.
%patch -P401 -p1 -b .fix-breakpad-compile
%patch -P402 -p1 -b .fix-partition-alloc-compile
%patch -P403 -p1 -b .0002-Add-ppc64-trap-instructions
-%patch -P404 -p1 -b .0001-Fix-highway-ppc-hwcap
-#patch -P405 -p1 -b .0001-Add-PPC64-support-for-libdav1d
-#patch -P406 -p1 -b .0001-Fix-libdav1d-compilation-on-clang-ppc
%patch -P407 -p1 -b .fix-ppc64-linux-syscalls-headers
-#patch -P408 -p1 -b .0003-thirdparty-fix-dav1d-gn
%patch -P409 -p1 -b .use-sysconf-page-size-on-ppc64
%patch -P410 -p1 -b .dawn-fix-typos
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:06 [rpms/chromium] epel9-next: drop unneeded patches Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox