Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d1b9c04fe |
1 changed files with 6 additions and 6 deletions
|
|
@ -15,12 +15,12 @@ Source0: %{url}/releases/download/%{version}/%{reponame}-%{version}-src.tar.gz
|
|||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
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
|
||||
|
|
@ -59,11 +59,11 @@ 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
|
||||
%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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue