|
@@ -216,7 +216,7 @@ To run an AOT file, firstly please refer to [Build wamrc AOT compiler](../README
|
|
|
wamrc -o <AOT file> <WASM file>
|
|
wamrc -o <AOT file> <WASM file>
|
|
|
iwasm <AOT file>
|
|
iwasm <AOT file>
|
|
|
```
|
|
```
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
To enable the `JIT` mode, firstly we should build LLVM:
|
|
To enable the `JIT` mode, firstly we should build LLVM:
|
|
|
|
|
|
|
|
``` Bash
|
|
``` Bash
|
|
@@ -246,7 +246,7 @@ cd build
|
|
|
cmake .. -DWAMR_BUILD_FAST_INTERP=0
|
|
cmake .. -DWAMR_BUILD_FAST_INTERP=0
|
|
|
make
|
|
make
|
|
|
```
|
|
```
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
Linux SGX (Intel Software Guard Extension)
|
|
Linux SGX (Intel Software Guard Extension)
|
|
|
-------------------------
|
|
-------------------------
|
|
|
|
|
|
|
@@ -553,7 +553,7 @@ If you don't have it installed, follow the instructions [here](https://docs.espr
|
|
|
ESP-IDF also installs the toolchains needed for compiling WAMR and ESP-IDF.
|
|
ESP-IDF also installs the toolchains needed for compiling WAMR and ESP-IDF.
|
|
|
A small demonstration of how to use WAMR and ESP-IDF can be found under [product_mini](/product-mini/platforms/esp-idf).
|
|
A small demonstration of how to use WAMR and ESP-IDF can be found under [product_mini](/product-mini/platforms/esp-idf).
|
|
|
The demo builds WAMR for ESP-IDF and runs a small wasm program.
|
|
The demo builds WAMR for ESP-IDF and runs a small wasm program.
|
|
|
-In order to run it for your specific Espressif chip, edit the ['build.sh'](/product-mini/platforms/esp-idf/build.sh) file and put the correct toolchain file (see #Cross-compilation) and `IDF_TARGET`.
|
|
|
|
|
|
|
+In order to run it for your specific Espressif chip, edit the ['build_and_run.sh'](/product-mini/platforms/esp-idf/build_and_run.sh) file and put the correct toolchain file (see #Cross-compilation) and `IDF_TARGET`.
|
|
|
Before compiling it is also necessary to call ESP-IDF's `export.sh` script to bring all compile time relevant information in scope.
|
|
Before compiling it is also necessary to call ESP-IDF's `export.sh` script to bring all compile time relevant information in scope.
|
|
|
|
|
|
|
|
Docker
|
|
Docker
|