Compare commits

..

26 commits

Author SHA1 Message Date
hydai
c458425a15 Update to 0.17.1
Signed-off-by: hydai <hydai@hyd.ai>
2026-07-06 16:20:33 +00:00
hydai
6b8e25c33f Update to 0.17.0
Add fmt 6 / spdlog 1.5 compatibility patch (Patch0) for EPEL 8. RHEL 8 ships fmt 6.2.1 and spdlog
1.5.0, older than upstream expects; the patch uses conditional guards only (FMT_VERSION /
__has_include) with no behavior change on newer fmt. Drops the previous revert-fmt and LLVM 19/20
backport patches, which 0.17.0 no longer needs.

Signed-off-by: hydai <hydai@hyd.ai>
2026-06-02 10:29:15 +00:00
dm4
19e3585e90 Add support for LLVM20
Signed-off-by: dm4 <dm4@secondstate.io>
2026-01-05 08:22:35 +00:00
dm4
a88242f029 Backport fix for CVE-2025-22921
Resolves: rhbz#2426610

Signed-off-by: dm4 <dm4@secondstate.io>
2026-01-05 07:54:55 +00:00
70c97ec34a Rebuild for LLVM 19
In order to build wasmedge against LLVM 19 (now the default in RHEL 8),
we must add a patch from upstream to remove some unused and deprecated
functions.

Resolves: rhbz#2381863
2025-07-18 01:43:11 -05:00
e6f0b5ab0d Rebuilt for LLVM 18 2024-11-26 17:09:12 -06:00
dm4
2f2c064b93 Update the fmt revert patch
Signed-off-by: dm4 <dm4@secondstate.io>
2024-06-07 07:53:24 +00:00
dm4
c03b54af3c Revert "Use newer version of spdlog and apply patch to disable fmt installation for 0.14.0"
This reverts commit cf25d43f24.
2024-06-07 05:05:13 +00:00
dm4
cf25d43f24 Use newer version of spdlog and apply patch to disable fmt installation for 0.14.0
Signed-off-by: dm4 <dm4@secondstate.io>
2024-06-06 08:31:41 +00:00
dm4
af83fcfbb9 Merge branch 'rawhide' into epel8 2024-05-30 12:35:59 +00:00
dm4
fd823d2ab6 Update wasmedge-revert-fmt.patch
Signed-off-by: dm4 <dm4@secondstate.io>
2023-11-14 09:24:00 +00:00
dm4
726150f1bb Merge branch 'rawhide' into epel8 2023-11-14 09:04:21 +00:00
dm4
834adbbaba Use llvm instead of llvm16 for epel8
Signed-off-by: dm4 <dm4@secondstate.io>
2023-10-02 07:54:39 +00:00
dm4
d6aba6f47d Merge branch 'rawhide' into epel8 2023-10-02 07:46:40 +00:00
dm4
bc1374552e Merge branch 'rawhide' into epel8 2023-07-27 09:40:25 +00:00
dm4
c40f34f03b Update changelog
Signed-off-by: dm4 <dm4@secondstate.io>
2023-07-21 09:26:51 +00:00
dm4
bc2e3e9bd1 Merge branch 'rawhide' into epel8 2023-07-21 09:25:50 +00:00
dm4
d2e6748673 Revert fmt fix for old fmt version
Ref: https://github.com/WasmEdge/WasmEdge/pull/2511

Signed-off-by: dm4 <dm4@secondstate.io>
2023-07-12 07:35:47 +00:00
dm4
d361fdf493 Merge branch 'rawhide' into epel8
Signed-off-by: dm4 <dm4@secondstate.io>
2023-07-10 05:19:50 +00:00
dm4
fefe14a549 Merge branch 'rawhide' into epel8 2023-05-12 10:58:23 +00:00
dm4
daec546d72 Disable annotated build
Signed-off-by: dm4 <dm4@secondstate.io>
2023-05-03 09:23:59 +00:00
dm4
9eb6ebd60a Update gcc toolset toolchain
Signed-off-by: dm4 <dm4@secondstate.io>
2023-05-02 15:28:40 +00:00
dm4
80d7caa07e Update release and changelog
Signed-off-by: dm4 <dm4@secondstate.io>
2023-04-28 02:47:20 +00:00
dm4
1f64ab02e2 Release 0.12.0
Signed-off-by: dm4 <dm4@secondstate.io>
2023-04-27 16:22:36 +00:00
dm4
36b0f7ef97 Merge branch 'rawhide' into epel8 2023-04-27 16:16:22 +00:00
dm4
eb671c83e5 Fix epel8 build
Signed-off-by: dm4 <dm4@secondstate.io>
2022-11-16 03:57:53 +00:00
2 changed files with 41 additions and 16 deletions

4
.gitignore vendored
View file

@ -10,8 +10,4 @@
/WasmEdge-0.13.4-src.tar.gz
/WasmEdge-0.13.5-src.tar.gz
/WasmEdge-0.14.0-src.tar.gz
/WasmEdge-0.14.1-src.tar.gz
/WasmEdge-0.15.0-src.tar.gz
/WasmEdge-0.16.1-src.tar.gz
/WasmEdge-0.17.0-src.tar.gz
/WasmEdge-0.17.1-src.tar.gz

View file

@ -2,28 +2,29 @@
%global reponame WasmEdge
%global capi_soname 0
%global capi_version 0.1.1
%undefine _annotated_build
Name: wasmedge
Version: %{version}
Release: %autorelease
Release: 1%{?dist}
Summary: High performance WebAssembly Virtual Machine
# The entire source code is ASL 2.0 except LICENSE.spdx which is CC0
# Automatically converted from old format: ASL 2.0 and CC0 - review is highly recommended.
License: Apache-2.0 AND CC0-1.0
License: ASL 2.0 and CC0
URL: https://github.com/%{reponame}/%{reponame}
Source0: %{url}/releases/download/%{version}/%{reponame}-%{version}-src.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gcc-toolset-11-toolchain
BuildRequires: git
BuildRequires: lld18-devel
BuildRequires: llvm18-devel
BuildRequires: lld-devel
BuildRequires: llvm-devel
BuildRequires: ninja-build
BuildRequires: spdlog-devel
Requires: lld18
Requires: llvm18
Requires: lld
Requires: llvm
Requires: spdlog
# Currently wasmedge could only be built on specific arches
ExclusiveArch: x86_64 aarch64 riscv64
ExclusiveArch: x86_64 aarch64
Provides: %{reponame} = %{version}-%{release}
Provides: bundled(blake3) = 1.2.0
Provides: bundled(wasi-cpp-header) = 0.0.1
@ -59,11 +60,12 @@ This package contains necessary header files for %{reponame} development.
[ -f VERSION ] || echo -n %{version} > VERSION
%build
%cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DWASMEDGE_BUILD_TESTS=OFF -DLLVM_DIR=/usr/lib64/llvm18/lib/cmake/llvm
source /opt/rh/gcc-toolset-11/enable
%cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DWASMEDGE_BUILD_TESTS=OFF
%cmake_build
mkdir rt
cd rt
%cmake -S .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DWASMEDGE_BUILD_TESTS=OFF -DWASMEDGE_BUILD_AOT_RUNTIME=OFF -DLLVM_DIR=/usr/lib64/llvm18/lib/cmake/llvm
%cmake -S .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DWASMEDGE_BUILD_TESTS=OFF -DWASMEDGE_BUILD_AOT_RUNTIME=OFF
%cmake_build
%install
@ -101,7 +103,6 @@ cd ..
%{_includedir}/%{name}/enum_types.h
%{_includedir}/%{name}/int128.h
%{_includedir}/%{name}/version.h
%{_includedir}/%{name}/wasmedge.h
%{_includedir}/%{name}/wasmedge_ast.h
%{_includedir}/%{name}/wasmedge_basic.h
%{_includedir}/%{name}/wasmedge_compiler.h
@ -115,7 +116,35 @@ cd ..
%{_includedir}/%{name}/wasmedge_tools.h
%{_includedir}/%{name}/wasmedge_value.h
%{_includedir}/%{name}/wasmedge_vm.h
%{_includedir}/%{name}/wasmedge.h
%{_libdir}/lib%{name}.so
%changelog
%autochangelog
* Mon Jul 06 2026 hydai <hydai@hyd.ai> - 0.17.1-1
- Update to 0.17.1
- Drop 0001-fmt6-compat.patch; fmt/spdlog compat upstreamed
* Tue Jun 02 2026 hydai <z54981220@gmail.com> - 0.17.0-1
- Update to 0.17.0
- Add fmt 6 / spdlog 1.5 compatibility patch for EPEL 8 (Patch0)
* Mon Jan 05 2026 dm4 <dm4@secondstate.io> - 0.14.0-4
- Backport fix for CVE-2025-22921
* Fri Jul 18 2025 Carl George <carlwgeorge@fedoraproject.org> - 0.14.0-3
- Add upstream patch for LLVM 19 support
- Rebuild for LLVM 19 rhbz#2381863
* Tue Nov 26 2024 Carl George <carlwgeorge@fedoraproject.org> - 0.14.0-2
- Rebuilt for LLVM 18
* Thu May 30 2024 dm4 <dm4@secondstate.io> - 0.14.0
- Release 0.14.0
* Mon Oct 2 2023 dm4 <dm4@secondstate.io> - 0.13.4
- Release 0.13.4
* Fri Jul 21 2023 dm4 <dm4@secondstate.io> - 0.13.2
- Release 0.13.2
* Mon Jul 10 2023 dm4 <dm4@secondstate.io> - 0.13.1
- Release 0.13.1
* Thu Apr 27 2023 dm4 <dm4@secondstate.io> - 0.12.0-1
- Release 0.12.0