From 58d94f1c9cd85addcf914af265695a6fc3ac098a Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Wed, 2 Feb 2022 16:52:19 -0800 Subject: [PATCH] Export TVM_HOME env var for prebuilt tvm-sys --- examples/python/wasm_tvm_mnist_payload/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/python/wasm_tvm_mnist_payload/Makefile b/examples/python/wasm_tvm_mnist_payload/Makefile index ef1a3940e..bc2f0395a 100644 --- a/examples/python/wasm_tvm_mnist_payload/Makefile +++ b/examples/python/wasm_tvm_mnist_payload/Makefile @@ -15,7 +15,8 @@ # specific language governing permissions and limitations # under the License. -TVM_HOME ?= /tvm +# export TVM_HOME to prebuilt tvm-sys, don't change +export TVM_HOME = /tvm export PYTHONPATH = $(shell printenv PYTHONPATH):${TVM_HOME}/python all: