wasmedge: Bump to 0.12.0

This commit is contained in:
Tee KOBAYASHI 2023-04-28 17:47:32 +09:00 committed by xtkoba
parent 4e4922092a
commit fb3debc50b
2 changed files with 2 additions and 36 deletions

View File

@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="A lightweight, high-performance, and extensible WebAssem
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_LICENSE_FILE="LICENSE, LICENSE.spdx"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.11.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=0.12.0
TERMUX_PKG_SRCURL=https://github.com/WasmEdge/WasmEdge/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=aa1d484707aecd66833cf75f8428372203f4f470f47c44ff174d7ef1706ffe76
TERMUX_PKG_SHA256=5135ad5332b8321bc0a3f0911140f1246aec5498049cdda1f70512456d791425
TERMUX_PKG_DEPENDS="libc++, libllvm, zlib, zstd"
TERMUX_PKG_BUILD_DEPENDS="boost-headers, boost-static, libllvm-static, libpolly, lld, llvm"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="

View File

@ -1,33 +0,0 @@
https://github.com/WasmEdge/WasmEdge/commit/ee2f9ec0c3765d3978ebd0e911bc68c7566ba567
From ee2f9ec0c3765d3978ebd0e911bc68c7566ba567 Mon Sep 17 00:00:00 2001
From: Shen-Ta Hsieh <beststeve@secondstate.io>
Date: Mon, 10 Apr 2023 16:41:08 +0800
Subject: [PATCH] [AOT] Add support for LLVM 15
Signed-off-by: Shen-Ta Hsieh <beststeve@secondstate.io>
---
lib/aot/compiler.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/aot/compiler.cpp b/lib/aot/compiler.cpp
index af6ce842b01..07b30d5c46e 100644
--- a/lib/aot/compiler.cpp
+++ b/lib/aot/compiler.cpp
@@ -42,6 +42,7 @@
#endif
#if LLVM_VERSION_MAJOR >= 14
+#include <lld/Common/CommonLinkerContext.h>
#include <llvm/MC/TargetRegistry.h>
#else
#include <llvm/Support/TargetRegistry.h>
@@ -5155,7 +5156,7 @@ Expect<void> Compiler::compile(Span<const Byte> Data, const AST::Module &Module,
#endif
std::unique_ptr<llvm::TargetMachine> TM(TheTarget->createTargetMachine(
Triple.str(), CPUName, Context->SubtargetFeatures.getString(), Options,
- RM, llvm::None, llvm::CodeGenOpt::Level::Aggressive));
+ RM, {}, llvm::CodeGenOpt::Level::Aggressive));
LLModule.setDataLayout(TM->createDataLayout());
llvm::TargetLibraryInfoImpl TLII(Triple);