Compare commits
26 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c458425a15 | ||
|
|
6b8e25c33f | ||
|
|
19e3585e90 | ||
|
|
a88242f029 | ||
| 70c97ec34a | |||
| e6f0b5ab0d | |||
|
|
2f2c064b93 | ||
|
|
c03b54af3c | ||
|
|
cf25d43f24 | ||
|
|
af83fcfbb9 | ||
|
|
fd823d2ab6 | ||
|
|
726150f1bb | ||
|
|
834adbbaba | ||
|
|
d6aba6f47d | ||
|
|
bc1374552e | ||
|
|
c40f34f03b | ||
|
|
bc2e3e9bd1 | ||
|
|
d2e6748673 | ||
|
|
d361fdf493 | ||
|
|
fefe14a549 | ||
|
|
daec546d72 | ||
|
|
9eb6ebd60a | ||
|
|
80d7caa07e | ||
|
|
1f64ab02e2 | ||
|
|
36b0f7ef97 | ||
|
|
eb671c83e5 |
2 changed files with 41 additions and 16 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue