mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-06-18 02:59:21 +00:00
Compare commits
18 Commits
a2c55b1410
...
cdf7ef30d6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
cdf7ef30d6 | ||
![]() |
a73e3366fc | ||
![]() |
d6f22dc062 | ||
![]() |
1cafd95143 | ||
![]() |
e114bcc9a6 | ||
![]() |
54a14af17b | ||
![]() |
d8bc4f4172 | ||
![]() |
56acae558b | ||
![]() |
721117a804 | ||
![]() |
7fd923eb42 | ||
![]() |
cb0ec6cb36 | ||
![]() |
cdd9485d4b | ||
![]() |
08b05d4796 | ||
![]() |
b0aeea6453 | ||
![]() |
7c4bd0c9a2 | ||
![]() |
cc9838be8b | ||
![]() |
f56eeb3fa4 | ||
![]() |
a329d2aa60 |
|
@ -424,7 +424,7 @@ jobs:
|
|||
VERBOSE=1
|
||||
cmake -S . -B build ${{ matrix.make_options }}
|
||||
cmake --build build --config Debug --parallel 4
|
||||
ctest --test-dir build --output-on-failure
|
||||
ctest -V --test-dir build --output-on-failure
|
||||
working-directory: samples/wasm-c-api
|
||||
|
||||
build_samples_others:
|
||||
|
|
|
@ -5711,7 +5711,6 @@ orcjit_thread_callback(void *arg)
|
|||
static void
|
||||
orcjit_stop_compile_threads(WASMModule *module)
|
||||
{
|
||||
#if WASM_ENABLE_LAZY_JIT != 0
|
||||
uint32 i, thread_num = (uint32)(sizeof(module->orcjit_thread_args)
|
||||
/ sizeof(OrcJitThreadArg));
|
||||
|
||||
|
@ -5720,7 +5719,6 @@ orcjit_stop_compile_threads(WASMModule *module)
|
|||
if (module->orcjit_threads[i])
|
||||
os_thread_join(module->orcjit_threads[i], NULL);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool
|
||||
|
@ -5743,7 +5741,7 @@ compile_jit_functions(WASMModule *module, char *error_buf,
|
|||
|
||||
if (os_thread_create(&module->orcjit_threads[i], orcjit_thread_callback,
|
||||
(void *)&module->orcjit_thread_args[i],
|
||||
APP_THREAD_STACK_SIZE_DEFAULT)
|
||||
APP_THREAD_STACK_SIZE_DEFAULT * 2)
|
||||
!= 0) {
|
||||
set_error_buf(error_buf, error_buf_size,
|
||||
"create orcjit compile thread failed");
|
||||
|
|
|
@ -2493,7 +2493,6 @@ orcjit_thread_callback(void *arg)
|
|||
static void
|
||||
orcjit_stop_compile_threads(WASMModule *module)
|
||||
{
|
||||
#if WASM_ENABLE_LAZY_JIT != 0
|
||||
uint32 i, thread_num = (uint32)(sizeof(module->orcjit_thread_args)
|
||||
/ sizeof(OrcJitThreadArg));
|
||||
|
||||
|
@ -2502,7 +2501,6 @@ orcjit_stop_compile_threads(WASMModule *module)
|
|||
if (module->orcjit_threads[i])
|
||||
os_thread_join(module->orcjit_threads[i], NULL);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
# WAMR API
|
||||
# WARM API
|
||||
|
||||
* **Notice**: The python package `wamr.wamrapi.wamr` requires a python version >= `3.10`.
|
||||
* **Notice**: The python package `wamr.wamrapi.wamr` need python >= `3.10`.
|
||||
|
||||
## Setup
|
||||
|
||||
### Pre-requisites
|
||||
#### Install requirements
|
||||
Before proceeding it is necessary to make sure your Python environment is correctly configured. To do ths open a terminal session in this directory and perfom the following:
|
||||
|
||||
Install requirements,
|
||||
|
||||
```shell
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user