Commit 8a61313e by Jammy Zhou Committed by Tianqi Chen

Fix the Makefile for howto_deploy (#4457)

parent 239d4371
...@@ -38,6 +38,7 @@ lib/libtvm_runtime_pack.o: tvm_runtime_pack.cc ...@@ -38,6 +38,7 @@ lib/libtvm_runtime_pack.o: tvm_runtime_pack.cc
# The code library built by TVM # The code library built by TVM
lib/test_addone_sys.o: prepare_test_libs.py lib/test_addone_sys.o: prepare_test_libs.py
@mkdir -p $(@D)
python prepare_test_libs.py python prepare_test_libs.py
# Deploy using the all in one TVM package library # 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 ...@@ -50,4 +51,4 @@ lib/cpp_deploy_normal: cpp_deploy.cc lib/test_addone_sys.o
@mkdir -p $(@D) @mkdir -p $(@D)
$(CXX) $(PKG_CFLAGS) -o $@ $^ -ltvm_runtime $(PKG_LDFLAGS) $(CXX) $(PKG_CFLAGS) -o $@ $^ -ltvm_runtime $(PKG_LDFLAGS)
clean: clean:
rm lib/libtvm_runtime_pack.o lib/test_addone_sys.o lib/cpp_deploy_pack lib/cpp_deploy_normal rm -rf lib
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment