Skip to content

Commit

Permalink
[apps][bundle_deploy]Fix bundle build issue (#14315)
Browse files Browse the repository at this point in the history
This PR fixes #13996.

---------
Co-authored-by: driazati <[email protected]>
  • Loading branch information
mehrdadh authored Mar 17, 2023
1 parent 84e8f86 commit 4ae08d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/bundle_deploy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ test_dynamic: $(build_dir)/test_dynamic $(build_dir)/test_bundle.so $(build_dir)
demo_static: $(build_dir)/demo_static $(build_dir)/cat.bin
$(QUIET)TVM_NUM_THREADS=1 $(build_dir)/demo_static $(build_dir)/cat.bin

test_static: $(build_dir)/test_static $(build_dir)/test_data_c.bin $(build_dir)/test_output_c.bin
test_static: $(build_dir)/crt_config/crt_config.h $(build_dir)/test_static $(build_dir)/test_data_c.bin $(build_dir)/test_output_c.bin
$(QUIET)TVM_NUM_THREADS=1 $(build_dir)/test_static $(build_dir)/test_data_c.bin $(build_dir)/test_output_c.bin $(build_dir)/test_graph_c.json $(build_dir)/test_params_c.bin

$(build_dir)/crt_config/crt_config.h:
Expand Down
4 changes: 3 additions & 1 deletion tests/scripts/task_microtvm_cpp_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ export OMP_NUM_THREADS=1
# Test MISRA-C runtime. It requires USE_MICRO to be enabled.
pushd apps/bundle_deploy
rm -rf build
make test_dynamic test_static
make test_dynamic VERBOSE=1
make cleanall
make test_static VERBOSE=1
popd

0 comments on commit 4ae08d8

Please sign in to comment.