public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/binaryen] rawhide: update to 130 (resolves rhbz#2483852)
@ 2026-07-12 20:18 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-07-12 20:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/binaryen
            Branch : rawhide
            Commit : 09b610b24ee17407747648894fb26e8498155237
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2026-07-12T21:55:13+02:00
            Stats  : +8/-50 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/binaryen/c/09b610b24ee17407747648894fb26e8498155237?branch=rawhide

            Log:
            update to 130 (resolves rhbz#2483852)

- drop merged patch

---
diff --git a/.gitignore b/.gitignore
index c5756bf..d2eff82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@
 /testsuite-4b24564.tar.gz
 /binaryen-version_126.tar.gz
 /binaryen-version_129.tar.gz
+/binaryen-version_130.tar.gz

diff --git a/binaryen-fix-test-spec.patch b/binaryen-fix-test-spec.patch
deleted file mode 100644
index c22293d..0000000
--- a/binaryen-fix-test-spec.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 0fbda677d28b14da1ea57ee602719b60ffe71b17 Mon Sep 17 00:00:00 2001
-From: stevenfontanella <stevenfont@chromium.org>
-Date: Thu, 23 Apr 2026 20:20:38 +0000
-Subject: [PATCH] Canonicalize NaNs when casting between float and double
-
----
- src/wasm/literal.cpp | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/src/wasm/literal.cpp b/src/wasm/literal.cpp
-index b3156fab0b3..8dcc82743f3 100644
---- a/src/wasm/literal.cpp
-+++ b/src/wasm/literal.cpp
-@@ -864,7 +864,7 @@ Literal Literal::extendToUI64() const {
- 
- Literal Literal::extendToF64() const {
-   assert(type == Type::f32);
--  return Literal(double(getf32()));
-+  return standardizeNaN(Literal(static_cast<double>(getf32())));
- }
- 
- Literal Literal::extendS8() const {
-@@ -1164,7 +1164,7 @@ Literal Literal::sqrt() const {
- Literal Literal::demote() const {
-   auto f64 = getf64();
-   if (std::isnan(f64)) {
--    return Literal(float(f64));
-+    return standardizeNaN(Literal(static_cast<float>(f64)));
-   }
-   if (std::isinf(f64)) {
-     return Literal(float(f64));
-@@ -2786,7 +2786,8 @@ template<LaneOrder Side> Literal extendF32(const Literal& vec) {
-   LaneArray<2> result;
-   for (size_t i = 0; i < 2; ++i) {
-     size_t idx = (Side == LaneOrder::Low) ? i : i + 2;
--    result[i] = Literal((double)lanes[idx].getf32());
-+    result[i] = Literal::standardizeNaN(
-+      Literal(static_cast<double>(lanes[idx].getf32())));
-   }
-   return Literal(result);
- }

diff --git a/binaryen.spec b/binaryen.spec
index a5e3887..f5d42c0 100644
--- a/binaryen.spec
+++ b/binaryen.spec
@@ -4,16 +4,13 @@
 
 Summary:       Compiler and toolchain infrastructure library for WebAssembly
 Name:          binaryen
-Version:       129
-Release:       2%{?dist}
+Version:       130
+Release:       1%{?dist}
 
 URL:           https://github.com/WebAssembly/binaryen
 Source0:       %{url}/archive/version_%{version}/%{name}-version_%{version}.tar.gz
 Source1:       https://github.com/WebAssembly/testsuite/archive/%{wats_commit}/testsuite-%{wats_shortcommit}.tar.gz
 Patch0:        %{name}-use-system-gtest.patch
-# some tests fail on ppc64le
-# https://github.com/WebAssembly/binaryen/issues/8626
-Patch1:        https://github.com/WebAssembly/binaryen/pull/8645.patch#/%{name}-fix-test-spec.patch
 Patch2:        %{name}-fix-filecheck-empty.patch
 # third_party/llvm-project/MD5.cpp: bcrypt-Solar-Designer
 # third_party/llvm-project/include/llvm/Support/MD5.h: bcrypt-Solar-Designer
@@ -68,9 +65,6 @@ effective:
 rmdir test/spec/testsuite
 tar xzf %{S:1} -C test/spec
 mv test/spec/testsuite{-%{wats_commit},}
-%ifarch ppc64le
-%patch -P1 -p1 -b .orig
-%endif
 # v8 tests cannot be executed because we don't have v8 in Fedora
 rm -rv test/lit/d8
 # lit/help tests fail with python-filecheck-1.0.3
@@ -121,6 +115,10 @@ rm -v %{buildroot}%{_bindir}/binaryen-unittests
 %{_libdir}/%{name}/libbinaryen.so
 
 %changelog
+* Sun Jul 12 2026 Dominik Mierzejewski <dominik@greysector.net> - 130-1
+- update to 130 (resolves rhbz#2483852)
+- drop merged patch
+
 * Sun Apr 26 2026 Dominik Mierzejewski <dominik@greysector.net> - 129-2
 - apply upstream fix for failing tests on ppc64le
 

diff --git a/sources b/sources
index f75254c..a57bf20 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (binaryen-version_129.tar.gz) = 7a668e4a50f82d01cf10c5f654ff446e2bdc691cfe8bc16e3889033c7c3450c50fb2d16bd33b11fe7938fbbc8a77f855281179f14a2e297ff3b3cb81afe995cd
+SHA512 (binaryen-version_130.tar.gz) = 8b419225ac060dd727c88d30e4422bc631ea08d2e70b69bf7ed3757d797666eaa462d0a0e17c02195a9b799304959b16bff8b10bbcecc9afd65c9cb99e6f048c
 SHA512 (testsuite-4b24564.tar.gz) = c6647d2afcd28f0f42e2a50e26362f60f7234abd6421aea832c267e5c62ac6e8dc77c5d3c26803ebc2eb878a18c3856ab2bcee277884d5d410a566d2c0b855e2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-12 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-12 20:18 [rpms/binaryen] rawhide: update to 130 (resolves rhbz#2483852) Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox