leandron commented on issue #9362:
URL: https://github.com/apache/tvm/issues/9362#issuecomment-956351859


   >     * Turn on static linking of LLVM, this will directly link llvm code 
into libtvm without relying on dynamic library (that creates global symbols)
   >       * `set(USE_LLVM "/path/to/llvm-config --link-static")`
   >     * Turn on `set(HIDE_PRIVATE_SYMBOLS ON)`. This will effectively hide 
the LLVM related symbols when we load globally from pytorch.
   
   Thanks for letting us know. It seems that currently, `--link-static` is 
already there in tlcpack. I added https://github.com/tlc-pack/tlcpack/pull/81 
for the workaround discussed here.
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to