Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf32f63a71 | ||
|
|
413625c189 | ||
|
|
bc89d47d1c | ||
|
|
cf2bc7a492 | ||
|
|
2deb44698f | ||
|
|
77d3cb82a2 | ||
|
|
03061a817a | ||
|
|
77dbafb03f | ||
|
|
07fa8c1127 | ||
|
|
59ca94a3ed | ||
|
|
3af298da15 | ||
|
|
930412cde4 | ||
|
|
e0d670ba29 | ||
|
|
0ef2e38044 | ||
|
|
f2e7034a8d | ||
|
|
ba35a54773 | ||
|
|
4306cab708 | ||
|
|
454c01e6db |
2 changed files with 16 additions and 41 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -10,4 +10,8 @@
|
|||
/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,29 +2,28 @@
|
|||
%global reponame WasmEdge
|
||||
%global capi_soname 0
|
||||
%global capi_version 0.1.1
|
||||
%undefine _annotated_build
|
||||
|
||||
Name: wasmedge
|
||||
Version: %{version}
|
||||
Release: 1%{?dist}
|
||||
Release: %autorelease
|
||||
Summary: High performance WebAssembly Virtual Machine
|
||||
# The entire source code is ASL 2.0 except LICENSE.spdx which is CC0
|
||||
License: ASL 2.0 and CC0
|
||||
# Automatically converted from old format: ASL 2.0 and CC0 - review is highly recommended.
|
||||
License: Apache-2.0 AND CC0-1.0
|
||||
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: lld-devel
|
||||
BuildRequires: llvm-devel
|
||||
BuildRequires: lld18-devel
|
||||
BuildRequires: llvm18-devel
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: spdlog-devel
|
||||
Requires: lld
|
||||
Requires: llvm
|
||||
Requires: lld18
|
||||
Requires: llvm18
|
||||
Requires: spdlog
|
||||
# Currently wasmedge could only be built on specific arches
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
ExclusiveArch: x86_64 aarch64 riscv64
|
||||
Provides: %{reponame} = %{version}-%{release}
|
||||
Provides: bundled(blake3) = 1.2.0
|
||||
Provides: bundled(wasi-cpp-header) = 0.0.1
|
||||
|
|
@ -60,12 +59,11 @@ This package contains necessary header files for %{reponame} development.
|
|||
[ -f VERSION ] || echo -n %{version} > VERSION
|
||||
|
||||
%build
|
||||
source /opt/rh/gcc-toolset-11/enable
|
||||
%cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DWASMEDGE_BUILD_TESTS=OFF
|
||||
%cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DWASMEDGE_BUILD_TESTS=OFF -DLLVM_DIR=/usr/lib64/llvm18/lib/cmake/llvm
|
||||
%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
|
||||
%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_build
|
||||
|
||||
%install
|
||||
|
|
@ -103,6 +101,7 @@ 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
|
||||
|
|
@ -116,35 +115,7 @@ 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
|
||||
* 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
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue