mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 06:55:07 +00:00
Upgrade llvm version from 10.x to 11.x for wamrc and iwasm JIT (#564)
Upgrade it as the latest version of wasi-sdk and emsdk are based on llvm-11, align to it to use the same compiler version. And this also fixes compilation error when building wamrc with llvm-10 in Windows platform. Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
This commit is contained in:
parent
e9e75a6b09
commit
9327f20ae2
|
@ -240,6 +240,8 @@ Make sure `MSVC` and `cmake` are installed and available in the command line env
|
|||
|
||||
Then build the source codes:
|
||||
``` Bash
|
||||
cd core/deps/
|
||||
git clone https://github.com/nodejs/uvwasi.git
|
||||
cd product-mini/platforms/windows/
|
||||
mkdir build
|
||||
cd build
|
||||
|
|
|
@ -8,7 +8,7 @@ DEPS_DIR=${PWD}/../../../core/deps
|
|||
cd ${DEPS_DIR}
|
||||
if [ ! -d "llvm" ]; then
|
||||
echo "Clone llvm to core/deps/ .."
|
||||
git clone --depth 1 --branch release/10.x https://github.com/llvm/llvm-project.git llvm
|
||||
git clone --depth 1 --branch release/11.x https://github.com/llvm/llvm-project.git llvm
|
||||
fi
|
||||
|
||||
cd llvm
|
||||
|
|
|
@ -12,7 +12,7 @@ def clone_llvm():
|
|||
llvm_dir = Path("llvm")
|
||||
if(llvm_dir.exists() == False):
|
||||
print("Clone llvm to core/deps/ ..")
|
||||
for line in os.popen("git clone --branch release/10.x https://github.com/llvm/llvm-project.git llvm"):
|
||||
for line in os.popen("git clone --branch release/11.x https://github.com/llvm/llvm-project.git llvm"):
|
||||
print(line)
|
||||
else:
|
||||
print("llvm source codes already existed")
|
||||
|
|
|
@ -8,7 +8,7 @@ DEPS_DIR=${PWD}/../core/deps
|
|||
cd ${DEPS_DIR}
|
||||
if [ ! -d "llvm" ]; then
|
||||
echo "Clone llvm to core/deps/ .."
|
||||
git clone --depth 1 --branch release/10.x https://github.com/llvm/llvm-project.git llvm
|
||||
git clone --depth 1 --branch release/11.x https://github.com/llvm/llvm-project.git llvm
|
||||
fi
|
||||
|
||||
cd llvm
|
||||
|
|
Loading…
Reference in New Issue
Block a user