FrozenGene opened a new pull request #4749: [AutoTVM] Support to pass additional compiler options URL: https://github.com/apache/incubator-tvm/pull/4749 Currently, AutoTVM doesn't support to pass additional compiler options to builder. It works fine on most cases. However, if we use NDK CC, some times we want to specify additional compiler options. For example, another `sysroot`. After this PR, the user could do like this: ```python os.environ['TVM_NDK_CC'] = /path/to/ndk_cc options=['--sysroot=/path/to/sysroot', '-shared', '-fPIC'] tuning_option = { // ... 'measure_option': autotvm.measure_option( builder=autotvm.LocalBuilder( build_func='ndk' if use_android else 'default', options=options), ... ), } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
