This is an automated email from the ASF dual-hosted git repository.
mehrdadh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 9cf5021385 [microTVM][zephyr] Increase stack size for zephyr
host-driven AoT tests (#11777)
9cf5021385 is described below
commit 9cf50213859d9e4ea18b6789f8e2d0de72f34d37
Author: Alan MacDonald <[email protected]>
AuthorDate: Mon Jun 27 14:00:28 2022 -0700
[microTVM][zephyr] Increase stack size for zephyr host-driven AoT tests
(#11777)
* set zephyr stack size to 4096 for qemu_* and zephyr_board targets
* use smaller stack size for HW targets
---
tests/micro/zephyr/test_zephyr_aot_exec.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/micro/zephyr/test_zephyr_aot_exec.py
b/tests/micro/zephyr/test_zephyr_aot_exec.py
index 2d89968460..9bf1a7fc06 100644
--- a/tests/micro/zephyr/test_zephyr_aot_exec.py
+++ b/tests/micro/zephyr/test_zephyr_aot_exec.py
@@ -43,6 +43,9 @@ def _make_session(temp_dir, zephyr_board, west_cmd, mod,
build_config):
if test_utils.qemu_boards(zephyr_board):
# fyi: qemu_riscv64 seems to be the greediest stack user
config_main_stack_size = 4096
+ else:
+ # increase stack size for HW platforms
+ config_main_stack_size = 2048
project_options = {
"project_type": "host_driven",