You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Hao Cheng via Apache TVM Discuss <no...@discuss.tvm.ai> on 2022/02/24 12:35:15 UTC

[Apache TVM Discuss] [Questions] Export so file with safety complie options


Following the tutorial, I built the so file with tvm stack. But the so file seems to be a debug version, as following 
```
 file updated.so 
updated.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, with debug_info, not stripped
```

is there any solution to add extra complie option to export so file?





---
[Visit Topic](https://discuss.tvm.apache.org/t/export-so-file-with-safety-complie-options/12162/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/b9bf0ab96149d3dd4492b18d235b80b9aef92e8c95e2fd4d18904222ca823539).

[Apache TVM Discuss] [Questions] Export so file with safety complie options

Posted by leeexyz via Apache TVM Discuss <no...@discuss.tvm.ai>.

Ref: `python/tvm/runtime/module.py:export_library`

You can specify the extra `options` when exporting the library, like: `mod.export_library(file_name, options=["opt1", "opt2"])`





---
[Visit Topic](https://discuss.tvm.apache.org/t/export-so-file-with-safety-complie-options/12162/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/311c01802185c74ab59df89c6c2d2f90d9234992213ffabc848e792d49478ef6).