From 7b362cb555478debdd79353ee15c74ec3cf3a0ac Mon Sep 17 00:00:00 2001 From: Zhigao Date: Wed, 15 Jan 2020 14:26:09 +0800 Subject: [PATCH] link the math library by default (#4713) --- python/tvm/contrib/ndk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tvm/contrib/ndk.py b/python/tvm/contrib/ndk.py index bada95ff0cdd..66facae4e894 100644 --- a/python/tvm/contrib/ndk.py +++ b/python/tvm/contrib/ndk.py @@ -51,7 +51,7 @@ def create_shared(output, else: cmd += objects - options = options if options else ["-shared", "-fPIC"] + options = options if options else ["-shared", "-fPIC", "-lm"] cmd += options proc = subprocess.Popen(