Build Tutorial
This page is under construction/refinement. p.s. wanna hear a construction joke? we are still working on it
Last updated
This page is under construction/refinement. p.s. wanna hear a construction joke? we are still working on it
Last updated
In this chapter, we provide a detailed tutorial on how to build iwasm vmcore and wamrc.
Our powerful iwasm vmcore provide various running mode you could choose using the compile CMake option. Here is the matrix for different running mode and their attributes:
Running mode | CMake build options | Pros and Cons |
---|---|---|
Here is a list of architectures and platforms WAMR support. You could click on the link for quick reference.
The iwasm supports the following architectures:
X86-64, X86-32
ARM, THUMB (ARMV7 Cortex-M7 and Cortex-A15 are tested)
AArch64 (Cortex-A57 and Cortex-A53 are tested)
RISCV64, RISCV32 (RISC-V LP64 and RISC-V LP64D are tested)
XTENSA, MIPS, ARC
The following platforms are supported. Click each link below for how to build iwasm on that platform. Refer to WAMR porting guide for how to port WAMR to a new platform.
AOT
none(default)
Classic Interpreter
-DWAMR_BUILD_FAST_INTERP=0
Fast Interpreter
none(default)
LLVM JIT
-DWAMR_BUILD_JIT=1
Fast JIT
-DWAMR_BUILD_FAST_JIT=1