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 4ae08d8710 [apps][bundle_deploy]Fix bundle build issue (#14315)
4ae08d8710 is described below

commit 4ae08d87105afa663ac1c0392a30058912093eb4
Author: Mehrdad Hessar <[email protected]>
AuthorDate: Fri Mar 17 10:28:14 2023 -0700

    [apps][bundle_deploy]Fix bundle build issue (#14315)
    
    This PR fixes #13996.
    
    ---------
    Co-authored-by: driazati <[email protected]>
---
 apps/bundle_deploy/Makefile              | 2 +-
 tests/scripts/task_microtvm_cpp_tests.sh | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/apps/bundle_deploy/Makefile b/apps/bundle_deploy/Makefile
index b81df55852..bea2269d75 100644
--- a/apps/bundle_deploy/Makefile
+++ b/apps/bundle_deploy/Makefile
@@ -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:
diff --git a/tests/scripts/task_microtvm_cpp_tests.sh 
b/tests/scripts/task_microtvm_cpp_tests.sh
index cc36963afa..03628c1d0d 100755
--- a/tests/scripts/task_microtvm_cpp_tests.sh
+++ b/tests/scripts/task_microtvm_cpp_tests.sh
@@ -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

Reply via email to