From 1f42811845e9b4463ba5cbdb7d54aedce02989ee Mon Sep 17 00:00:00 2001 From: Jammy Zhou Date: Wed, 4 Dec 2019 02:18:52 +0800 Subject: [PATCH] Fix the Makefile for howto_deploy (#4457) --- apps/howto_deploy/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/howto_deploy/Makefile b/apps/howto_deploy/Makefile index 3ab4fb2b45e6..5c4a6d6e89da 100644 --- a/apps/howto_deploy/Makefile +++ b/apps/howto_deploy/Makefile @@ -38,6 +38,7 @@ lib/libtvm_runtime_pack.o: tvm_runtime_pack.cc # The code library built by TVM lib/test_addone_sys.o: prepare_test_libs.py + @mkdir -p $(@D) python prepare_test_libs.py # Deploy using the all in one TVM package library @@ -50,4 +51,4 @@ lib/cpp_deploy_normal: cpp_deploy.cc lib/test_addone_sys.o @mkdir -p $(@D) $(CXX) $(PKG_CFLAGS) -o $@ $^ -ltvm_runtime $(PKG_LDFLAGS) clean: - rm lib/libtvm_runtime_pack.o lib/test_addone_sys.o lib/cpp_deploy_pack lib/cpp_deploy_normal + rm -rf lib