Support muti-module for AOT mode (#2482)
Support muti-module for AOT mode, currently only implement the multi-module's function import feature for AOT, the memory/table/ global import are not implemented yet. And update wamr-test-suites scripts, multi-module sample and some CIs accordingly.
This commit is contained in:
committed by
GitHub
parent
fff0e2ad1c
commit
79b27c1934
20
samples/multi-module/README.md
Normal file
20
samples/multi-module/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# WAMR MULTI-MODUEL SAMPLE
|
||||
**WAMR supports *multi-module* in both *interpreter* mode and *aot* mode.**
|
||||
|
||||
Multi-modules will determine the running mode based on the type of the main module.
|
||||
|
||||
|
||||
``` shell
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
$ # It will build multi-module runtime and
|
||||
$ # wasm file under the ./build .
|
||||
$ # If you have built wamrc,
|
||||
$ # aot file will also genrate.
|
||||
$ ./multi-module mC.wasm
|
||||
$ ...
|
||||
$ ./multi-module mC.aot
|
||||
$ ...
|
||||
|
||||
Reference in New Issue
Block a user