Back to Wasm Micro Runtime

build tutorial

gitbook/tutorial/build-tutorial/README.md

01-12-20201.9 KB
Original Source

build tutorial

In this chapter, we provide a detailed tutorial on how to build iwasm vmcore and wamrc.

Quick build matrix

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 modeCMake build optionsPros and Cons
AOTnone(default)
Classic Interpreter-DWAMR_BUILD_FAST_INTERP=0
Fast Interpreternone(default)
LLVM JIT-DWAMR_BUILD_JIT=1
Fast JIT-DWAMR_BUILD_FAST_JIT=1

Supported architectures and platforms

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.