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 |
3 changed files with 35 additions and 11 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -10,3 +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
|
||||
|
|
|
|||
5
sources
5
sources
|
|
@ -10,3 +10,8 @@ SHA512 (WasmEdge-0.13.3-src.tar.gz) = b8b2e1974fd2ca5bfa0b10311812b69a2a0d2b9864
|
|||
SHA512 (WasmEdge-0.13.4-src.tar.gz) = ec9b7d1d5eddeb263e4fd00b11e0cac8e11e73a00db0a53ef01ade13518841823274d5ad85be005a82cf8c58a5bec7a8ad6e54358abe4a784439692afbe43fcf
|
||||
SHA512 (WasmEdge-0.13.5-src.tar.gz) = 9d3ece45897d2c9bb3848662fc4ab36c2e0f178450b00f7ea7d183b7162d150d1306e1781b2542463993bab2ec6732def8d63be20ec192b18d93d98c537fb48a
|
||||
SHA512 (WasmEdge-0.14.0-src.tar.gz) = fa9ab14f1c477e1909efe88d760a2ab9212687328a885054f0830284bc71d559ab5263eefbbc564d88280b3907d5e3145ffeff87830eb13ad1f3fc4a599e4340
|
||||
SHA512 (WasmEdge-0.14.1-src.tar.gz) = cf708ad789c8d7cb8b5885d6b13dbb010fa433e93971fedb0c05dd2794ad69d79b08535c854ea8744243ff65c61f0de1b6e3fe2a981b69fc92701b4675cc80d4
|
||||
SHA512 (WasmEdge-0.15.0-src.tar.gz) = 3a41f362852dd04dc441ebe10fac266703bb146100cceec64df3fce76f57960ac7dacfc9c1243f4177899a5c4d50166158908b0ec4e88e3f226cad2fd350e6cd
|
||||
SHA512 (WasmEdge-0.16.1-src.tar.gz) = b09c8d83e3627085382109ea073ecc099b57e109b419171a29ab780ee36b371de9bd1864d478c15324f29baabd0c19dda8a32a37f46a738f39e47ef6d51a0770
|
||||
SHA512 (WasmEdge-0.17.0-src.tar.gz) = 3e0f9739c7cd5af4ad1e54ed009719c8e4d3d4bfc821103bd954f5bc662381278f97078b4d177f4fae599b3a199b55b6e1fd81ce75ab7711921779db2e89d567
|
||||
SHA512 (WasmEdge-0.17.1-src.tar.gz) = b5f1d7cde7fee8f43dff972135fb49489c0e752cd364aa13ecb15b7ccd0d81579ac2552d3e3a8f6f5a870313eda640010f833869a0089677a3c8d76476e0fbed
|
||||
|
|
|
|||
|
|
@ -1,28 +1,29 @@
|
|||
%global version 0.14.0
|
||||
%global version 0.17.1
|
||||
%global reponame WasmEdge
|
||||
%global capi_soname 0
|
||||
%global capi_version 0.1.0
|
||||
%global capi_version 0.1.1
|
||||
|
||||
Name: wasmedge
|
||||
Version: %{version}
|
||||
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: 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
|
||||
|
|
@ -54,15 +55,15 @@ Provides: %{reponame}-devel = %{version}-%{release}
|
|||
This package contains necessary header files for %{reponame} development.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}
|
||||
%autosetup -n %{name} -p1
|
||||
[ -f VERSION ] || echo -n %{version} > VERSION
|
||||
|
||||
%build
|
||||
%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
|
||||
|
|
@ -101,6 +102,19 @@ cd ..
|
|||
%{_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
|
||||
%{_includedir}/%{name}/wasmedge_configure.h
|
||||
%{_includedir}/%{name}/wasmedge_context.h
|
||||
%{_includedir}/%{name}/wasmedge_deprecated.h
|
||||
%{_includedir}/%{name}/wasmedge_execution.h
|
||||
%{_includedir}/%{name}/wasmedge_experimental.h
|
||||
%{_includedir}/%{name}/wasmedge_instance.h
|
||||
%{_includedir}/%{name}/wasmedge_plugin.h
|
||||
%{_includedir}/%{name}/wasmedge_tools.h
|
||||
%{_includedir}/%{name}/wasmedge_value.h
|
||||
%{_includedir}/%{name}/wasmedge_vm.h
|
||||
%{_libdir}/lib%{name}.so
|
||||
|
||||
%changelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue