From: Zhigao Date: Wed, 15 Jan 2020 06:26:09 +0000 (+0800) Subject: link the math library by default (#4713) X-Git-Tag: upstream/0.7.0~1380 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4eecd2a78b22896bc4970dfbea5f1de94be2c1f3;p=platform%2Fupstream%2Ftvm.git link the math library by default (#4713) --- diff --git a/python/tvm/contrib/ndk.py b/python/tvm/contrib/ndk.py index bada95f..66facae 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(