Compare commits

...
Sign in to create a new pull request.

44 commits

Author SHA1 Message Date
Fedora Release Engineering
a84dfd7eb1 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:40:18 +00:00
Yaakov Selkowitz
3ca84fcaf7 Rebuilt for openssl 4.0 2026-06-12 20:04:12 -04:00
Dominik 'Rathann' Mierzejewski
af59173ac7 update to 1.0.41 (resolves rhbz#2467788) 2026-05-21 18:01:11 +02:00
Dominik 'Rathann' Mierzejewski
bd51f1b693 update to 1.0.40 (resolves rhbz#2446432)
- stop using obsolete cmake3 macros
2026-04-16 13:22:45 +02:00
Fedora Release Engineering
22610acf6e Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:06:01 +00:00
Dominik 'Rathann' Mierzejewski
96471733b7 update to 1.0.39 (resolves rhbz#2401391) 2025-11-17 12:52:27 +01:00
Fedora Release Engineering
5dcbcb4364 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:16:11 +00:00
Dominik Mierzejewski
b0be39b23f update to 1.0.37 (resolves rhbz#2349655)
- skip new failing tests on i686 and ppc64le
- re-enable wasm2c/spec/float_exprs.txt test, now that GCC 15 is fixed
2025-03-04 22:28:01 +01:00
Dominik 'Rathann' Mierzejewski
55833e1d94 use upstream way of running tests
- run unit tests
- re-enable most tests on s390x now that they pass
- skip failing test on ppc64le and s390x with GCC 15
2025-02-21 14:33:08 +01:00
Dominik 'Rathann' Mierzejewski
c35b4e5e61 skip failing test on ppc64le with GCC 15 2025-02-18 10:08:15 +01:00
Fedora Release Engineering
9fb6f15d26 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:42:41 +00:00
Dominik 'Rathann' Mierzejewski
531ee93cb6 review skipped tests on i686, ppc64le and s390x 2024-09-14 00:30:56 +02:00
Dominik 'Rathann' Mierzejewski
78e3e318a4 run all tests on aarch64, all issues resolved 2024-09-13 23:12:21 +02:00
Dominik Mierzejewski
4ab4a07976 update to 1.0.36 (#2246227)
- drop obsolete patches
- fix some tests in i686
- simde-0.8.2 is now required
2024-09-13 20:13:27 +02:00
Miroslav Suchý
5479c17e0b convert ASL 2.0 license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-24 18:09:15 +02:00
Fedora Release Engineering
e7ff9f14e0 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:05:13 +00:00
Fedora Release Engineering
110bfe3ee1 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:19:44 +00:00
Fedora Release Engineering
914597eda3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:56:17 +00:00
Dominik Mierzejewski
f9fd08a323 fix deprecated patchN macro usage 2023-06-17 09:32:27 +02:00
Dominik Mierzejewski
fc83b50175 update to 1.0.33 (#2203483)
drop obsolete patch
disable failing tests on aarch64 and ppc64le (reported upstream)
fix running tests on i686
disable failing wasm2c tests on s390x (big endian not supported upstream)
2023-06-16 17:33:11 +02:00
Fedora Release Engineering
47dbcd451e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:33:59 +00:00
Dominik 'Rathann' Mierzejewski
f6736b56f6 Merge branch 'f36' into f37 2023-01-03 19:31:28 +01:00
Dominik 'Rathann' Mierzejewski
c88b647928 skip one new failing test on aarch64, ppc64le and s390x for now 2023-01-03 19:28:28 +01:00
Dominik 'Rathann' Mierzejewski
47f9c61bb4 update to 1.0.32 (#2156897) 2023-01-03 18:53:29 +01:00
Dominik 'Rathann' Mierzejewski
daac4c0e5e Merge branch 'f36' into f37 2022-12-11 23:37:55 +01:00
Dominik 'Rathann' Mierzejewski
77e4a04f5d re-enable one test on i686
This passes successfully now.
2022-12-11 23:36:33 +01:00
Dominik 'Rathann' Mierzejewski
14cde60035 fix build --without check 2022-12-11 23:16:52 +01:00
Dominik 'Rathann' Mierzejewski
02041136a9 update to 1.0.31 (#2143772)
fix build on 32-bit
2022-12-11 23:16:31 +01:00
Dominik Mierzejewski
6ef75c6c04 Merge branch 'f36' into f37 2022-11-16 14:39:02 +01:00
Dominik Mierzejewski
56b222fb7a skip some new failing tests on i686 and s390x for now 2022-11-16 13:32:58 +01:00
Dominik Mierzejewski
078c7573a2 increase timeout to fix tests on ARM 2022-11-16 00:39:29 +01:00
Dominik 'Rathann' Mierzejewski
c48c1c9b20 update to 1.0.30 (#2132095) 2022-11-05 00:01:55 +01:00
Fedora Release Engineering
164657a2c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:10:23 +00:00
Dominik 'Rathann' Mierzejewski
4e97c8360b Merge branch 'f36' into rawhide 2022-05-25 12:32:06 +02:00
Dominik 'Rathann' Mierzejewski
5fd52cc6e6 update tests patch 2022-05-25 12:27:57 +02:00
Dominik 'Rathann' Mierzejewski
154424f6f2 Merge branch 'f35' into f36 2022-05-25 12:10:33 +02:00
Dominik 'Rathann' Mierzejewski
23b038dba3 Merge branch 'f36' into rawhide 2022-04-04 23:05:05 +02:00
Dominik 'Rathann' Mierzejewski
72c7d3d071 work around test failures due to new gcc-12 warnings 2022-04-04 22:48:46 +02:00
Dominik 'Rathann' Mierzejewski
05c580b37c Merge branch 'f35' into f36 2022-04-04 22:48:05 +02:00
Dominik 'Rathann' Mierzejewski
f94bf81ce1 drop armv7hl 2022-03-16 08:35:33 +01:00
Dominik 'Rathann' Mierzejewski
44bc948d96 update to 1.0.27 (#2055947) 2022-03-15 15:50:17 +01:00
Dominik 'Rathann' Mierzejewski
34e7eaea85 skip two more failing tests on i686 2022-02-08 00:38:03 +01:00
Dominik 'Rathann' Mierzejewski
8412f6e878 Merge branch 'f35' into rawhide 2022-02-08 00:14:44 +01:00
Fedora Release Engineering
91a57707f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:14:24 +00:00
4 changed files with 173 additions and 26 deletions

19
.gitignore vendored
View file

@ -22,7 +22,26 @@
/wabt-testsuite-01efde8.tar.gz
/wabt-1.0.25.tar.gz
/wabt-testsuite-6241ce9.tar.gz
/wabt-1.0.27.tar.gz
/wabt-1.0.28.tar.gz
/wabt-testsuite-2c235ce.tar.gz
/wabt-1.0.29.tar.gz
/wabt-testsuite-d42da01.tar.gz
/wabt-1.0.30.tar.gz
/wabt-testsuite-4f77306.tar.gz
/wabt-1.0.31.tar.gz
/wabt-testsuite-3a04b2c.tar.gz
/wabt-1.0.32.tar.gz
/wabt-1.0.33.tar.gz
/wabt-testsuite-7ef86dd.tar.gz
/wabt-wasm-c-api-b6dd1fb.tar.gz
/wabt-1.0.35.tar.gz
/wabt-testsuite-0a394e3.tar.gz
/wabt-1.0.36.tar.gz
/wabt-testsuite-f3f0486.tar.gz
/wabt-1.0.37.tar.gz
/wabt-testsuite-cbc54d7.tar.gz
/wabt-1.0.39.tar.gz
/wabt-testsuite-d76759e.tar.gz
/wabt-1.0.40.tar.gz
/wabt-1.0.41.tar.gz

View file

@ -1,3 +1,3 @@
SHA512 (wabt-1.0.29.tar.gz) = 7783e16c848da76392cd9f35aa1d205872d3d42e6aea1a815b28df3373cd547d2f139df4899de495bb6ee753c7c0bd608adc35538c2d3eb7325498457d6b3e08
SHA512 (wabt-testsuite-d42da01.tar.gz) = 58fb712e2de398d471de3ef31560331f8f61e77012eca42ccd140589e9284071ee475e35516af1c12985dddf32ecc7ffa3727dfb855da87bb6ec7c1f78e7b944
SHA512 (wabt-wasm-c-api-d9a8009.tar.gz) = b6ee7d2d83a3ca7b3cb3ee110282f7d32eada1d9020cadd3fdec58f40478879fd9ac9fada526021d8f6e8a26e1df7353df313d4149be2ffe4aea3a28f856fd89
SHA512 (wabt-1.0.41.tar.gz) = afa21608c20e42b009ef4685b04a42bdaf087ffec7e5e6bc2d91a8ffd801cb54f5c67a06ad2ec4398dd190543146c79d41a444b0aa21112685d81fd192d8ffd5
SHA512 (wabt-testsuite-d76759e.tar.gz) = fa5a6315098d2764e7170feeefaa8161ea5577769b98f4a4301e594e555dccb59395212a33585970509912ae08bb40478119e989894e60e0103acd52378837ea
SHA512 (wabt-wasm-c-api-b6dd1fb.tar.gz) = 5d3eec2184f8b66e2358b85f416afaea172f24155a61c9412a9d9374aa50347cf0ebe940f35727bc8c0ffe287033b967cc97a857feab6aa9e5098458e72b4fd0

12
wabt-test-timeout.patch Normal file
View file

@ -0,0 +1,12 @@
diff -up wabt-1.0.36/CMakeLists.txt.orig wabt-1.0.36/CMakeLists.txt
--- wabt-1.0.36/CMakeLists.txt.orig 2024-07-31 19:40:07.000000000 +0200
+++ wabt-1.0.36/CMakeLists.txt 2025-02-21 09:56:15.768904412 +0100
@@ -726,7 +726,7 @@ if (BUILD_TESTS)
set(RUN_TESTS_PY ${WABT_SOURCE_DIR}/test/run-tests.py)
add_custom_target(run-tests
- COMMAND ${CMAKE_COMMAND} -E env WASM2C_CC=${CMAKE_C_COMPILER} WASM2C_CFLAGS=${WASM2C_CFLAGS} ${Python3_EXECUTABLE} ${RUN_TESTS_PY} --bindir $<TARGET_FILE_DIR:wat2wasm>
+ COMMAND ${CMAKE_COMMAND} -E env WASM2C_CC=${CMAKE_C_COMPILER} WASM2C_CFLAGS=${WASM2C_CFLAGS} ${Python3_EXECUTABLE} ${RUN_TESTS_PY} --bindir $<TARGET_FILE_DIR:wat2wasm> --timeout=1200
DEPENDS ${WABT_EXECUTABLES}
WORKING_DIRECTORY ${WABT_SOURCE_DIR}
USES_TERMINAL

164
wabt.spec
View file

@ -1,26 +1,30 @@
%undefine __cmake_in_source_build
%bcond_without check
%global commit b3f1efb261b059d40a4d103c803ccbe3c32df7ae
%global commit ad75c5edcdff96d73c245b57fbc07607aaca9f95
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ts_commit d42da0117f7a93c6a9127e2b9eec64749152c4c1
%global ts_commit d76759e746f3564a03f6106ae19679742f2a1831
%global ts_shortcommit %(c=%{ts_commit}; echo ${c:0:7})
%global wc_commit d9a80099d496b5cdba6f3fe8fc77586e0e505ddc
%global wc_commit b6dd1fb658a282c64b029867845bc50ae59e1497
%global wc_shortcommit %(c=%{wc_commit}; echo ${c:0:7})
Summary: The WebAssembly Binary Toolkit
Name: wabt
Version: 1.0.29
Release: 1%{?dist}
Version: 1.0.41
Release: 3%{?dist}
URL: https://github.com/WebAssembly/wabt
Source0: https://github.com/WebAssembly/wabt/archive/%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/WebAssembly/testsuite/archive/%{ts_commit}/%{name}-testsuite-%{ts_shortcommit}.tar.gz
Source2: https://github.com/WebAssembly/wasm-c-api/archive/%{wc_commit}/%{name}-wasm-c-api-%{wc_shortcommit}.tar.gz
License: ASL 2.0
BuildRequires: cmake3
# increase test timeout to avoid failures
Patch0: %{name}-test-timeout.patch
License: Apache-2.0
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: openssl-devel
%if %{with check}
BuildRequires: gtest-devel
BuildRequires: python%{python3_pkgversion}-ply
BuildRequires: simde-devel >= 0.8.2
%endif
# wasm.h from https://github.com/WebAssembly/wasm-c-api/ is used for build
Provides: bundled(wasm-c-api) = %{wc_commit}
@ -37,49 +41,64 @@ with the spec (e.g. 1:1 round-trips with no changes to instructions).
%prep
%setup -q
%if %{with check}
rmdir third_party/{testsuite,wasm-c-api}
tar xzf %{S:1} -C third_party
mv third_party/testsuite{-%{ts_commit},}
rmdir third_party/wasm-c-api
tar xzf %{S:2} -C third_party
mv third_party/wasm-c-api{-%{wc_commit},}
%if %{with check}
rmdir third_party/testsuite
tar xzf %{S:1} -C third_party
mv third_party/testsuite{-%{ts_commit},}
%patch 0 -p1 -b .timeout
pushd test
# https://github.com/WebAssembly/wabt/issues/1365
%ifarch armv7hl
rm wasm2c/spec/skip-stack-guard-page.txt
%endif
# https://github.com/WebAssembly/wabt/issues/1044
%ifarch i686
rm regress/empty-quoted-module.txt
rm spec/float_exprs.txt
rm spec/float_misc.txt
rm spec/local_tee.txt
rm spec/simd_f32x4_arith.txt
rm spec/simd_f32x4_pmin_pmax.txt
rm spec/simd_f64x2_arith.txt
rm spec/simd_f64x2_pmin_pmax.txt
rm wasm2c/spec/conversions.txt
rm wasm2c/spec/float_literals.txt
rm wasm2c/spec/float_memory.txt
rm wasm2c/spec/float_misc.txt
rm wasm2c/spec/float_exprs.txt
rm wasm2c/spec/local_tee.txt
rm wasm2c/spec/memory64/float_memory64.txt
rm wasm2c/spec/multi-memory/float_memory0.txt
rm wasm2c/spec/select.txt
rm wast2json/test-invalid-quoted-modules.txt
%endif
# https://github.com/WebAssembly/wabt/issues/1045
# https://github.com/WebAssembly/wabt/issues/2240
%ifarch ppc64le
rm spec/conversions.txt
rm spec/simd_conversions.txt
rm wasm2c/spec/conversions.txt
rm wasm2c/spec/memory64/simd_address.txt
rm wasm2c/spec/simd_address.txt
rm wasm2c/spec/simd_f32x4_arith.txt
rm wasm2c/spec/simd_f32x4_pmin_pmax.txt
rm wasm2c/spec/simd_splat.txt
%endif
popd
%endif
%build
%cmake3 -DUSE_SYSTEM_GTEST=ON
%cmake3_build
%cmake -DUSE_SYSTEM_GTEST=ON \
%ifarch i686
-DWASM2C_CFLAGS="-msse2 -mfpmath=sse"
%endif
%cmake_build
%install
%cmake3_install
%cmake_install
%if %{with check}
%check
test/run-tests.py -v --bindir %{_vpath_builddir} --timeout=80 %{?_smp_mflags}
# See https://github.com/WebAssembly/wabt/blob/main/.github/workflows/build.yml#L261
cmake --build redhat-linux-build --verbose --target run-unittests %{?_smp_mflags}
cmake --build redhat-linux-build --verbose --target run-tests %{?_smp_mflags}
%endif
%files
@ -89,7 +108,7 @@ test/run-tests.py -v --bindir %{_vpath_builddir} --timeout=80 %{?_smp_mflags}
%{_bindir}/wasm-decompile
%{_bindir}/wasm-interp
%{_bindir}/wasm-objdump
%{_bindir}/wasm-opcodecnt
%{_bindir}/wasm-stats
%{_bindir}/wasm-strip
%{_bindir}/wasm-validate
%{_bindir}/wasm2c
@ -97,14 +116,18 @@ test/run-tests.py -v --bindir %{_vpath_builddir} --timeout=80 %{?_smp_mflags}
%{_bindir}/wast2json
%{_bindir}/wat-desugar
%{_bindir}/wat2wasm
%{_includedir}/wasm-rt-impl.h
%{_datadir}/wabt
%{_includedir}/wabt
%{_includedir}/wasm-rt.h
%{_includedir}/wasm-rt-exceptions.h
%{_libdir}/cmake/wabt
%{_libdir}/libwabt.a
%{_libdir}/libwasm-rt-impl.a
%{_mandir}/man1/spectest-interp.1*
%{_mandir}/man1/wasm-decompile.1*
%{_mandir}/man1/wasm-interp.1*
%{_mandir}/man1/wasm-objdump.1*
%{_mandir}/man1/wasm-opcodecnt.1*
%{_mandir}/man1/wasm-stats.1*
%{_mandir}/man1/wasm-strip.1*
%{_mandir}/man1/wasm-validate.1*
%{_mandir}/man1/wasm2c.1*
@ -114,16 +137,109 @@ test/run-tests.py -v --bindir %{_vpath_builddir} --timeout=80 %{?_smp_mflags}
%{_mandir}/man1/wat2wasm.1*
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.41-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0.41-2
- Rebuilt for openssl 4.0
* Thu May 21 2026 Dominik Mierzejewski <dominik@greysector.net> - 1.0.41-1
- update to 1.0.41 (resolves rhbz#2467788)
* Thu Apr 16 2026 Dominik Mierzejewski <dominik@greysector.net> 1.0.40-1
- update to 1.0.40 (resolves rhbz#2446432)
- stop using obsolete cmake3 macros
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Mon Nov 17 2025 Dominik Mierzejewski <dominik@greysector.net> 1.0.39-1
- update to 1.0.39 (resolves rhbz#2401391)
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.37-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Mar 04 2025 Dominik Mierzejewski <dominik@greysector.net> 1.0.37-1
- update to 1.0.37 (resolves rhbz#2349655)
- skip new failing tests on i686 and ppc64le
- re-enable wasm2c/spec/float_exprs.txt test, now that GCC 15 is fixed
* Fri Feb 21 2025 Dominik Mierzejewski <dominik@greysector.net> 1.0.36-3
- use upstream way of running tests
- run unit tests
- re-enable most tests on s390x now that they pass
- skip failing test on ppc64le and s390x with GCC 15
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.36-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Sep 09 2024 Dominik Mierzejewski <dominik@greysector.net> 1.0.36-1
- update to 1.0.36 (#2246227)
- drop obsolete patches
- fix some tests in i686
- simde-0.8.2 is now required
- run all tests on aarch64, all issues resolved
- review skipped tests on i686, ppc64le and s390x
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 1.0.33-5
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.33-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.33-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.33-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu May 25 2023 Dominik Mierzejewski <dominik@greysector.net> 1.0.33-1
- update to 1.0.33 (#2203483)
- drop obsolete patch
- disable failing tests on aarch64 and ppc64le (reported upstream)
- fix running tests on i686
- disable failing wasm2c tests on s390x (big endian not supported upstream)
- fix deprecated patchN macro usage
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.32-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Jan 03 2023 Dominik Mierzejewski <dominik@greysector.net> 1.0.32-1
- update to 1.0.32 (#2156897)
- skip one new failing test on aarch64, ppc64le and s390x for now
* Fri Dec 09 2022 Dominik Mierzejewski <dominik@greysector.net> 1.0.31-1
- update to 1.0.31 (#2143772)
- fix build on 32-bit
- fix build --without check
* Sat Oct 15 2022 Dominik Mierzejewski <dominik@greysector.net> 1.0.30-1
- update to 1.0.30 (#2132095)
- increase timeout to fix tests on ARM
- skip some new failing tests on i686 and s390x for now
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 25 2022 Dominik Mierzejewski <dominik@greysector.net> 1.0.29-1
- update to 1.0.29
* Fri Apr 01 2022 Dominik Mierzejewski <dominik@greysector.net> 1.0.28-1
- update to 1.0.28 (#2065997)
- run fixed tests on 32-bit again
- work around test failures due to new gcc-12 warnings
* Tue Mar 15 2022 Dominik Mierzejewski <dominik@greysector.net> 1.0.27-1
- update to 1.0.27 (#2055947)
- drop armv7hl
* Mon Feb 07 2022 Dominik Mierzejewski <rpm@greysector.net> 1.0.25-1
- update to 1.0.25 (#2047107)
- skip some new failing tests on 32-bit
- skip two more failing tests on i686
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Aug 20 2021 Dominik Mierzejewski <rpm@greysector.net> 1.0.24-1
- update to 1.0.24 (#1993479)