Skip to content

Commit

Permalink
Fix the Makefile for howto_deploy (apache#4457)
Browse files Browse the repository at this point in the history
  • Loading branch information
JammyZhou authored and Xingyu Zhou committed Dec 13, 2019
1 parent 3ff6755 commit 1f42811
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/howto_deploy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 1f42811

Please sign in to comment.