Compiling llvm and mlir as shared objects linked to xla #19331
Unanswered
Guillermo-Callaghan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to compile the
mlir
andllvm
part of the project as sharedobjects instead of having a binary that is mostly static. However, I am new to
bazel and I couldn't find a way to do it.
Setting the attribute
linkstatic = False,
to themlir-hlo-opt
rule targetcreates a binary with many dynamic libraries (around
315
).I am looking to end with something like this, with
libLLVM.so
andlibMLIR.so
dynamically link:
Can this be done?
Beta Was this translation helpful? Give feedback.
All reactions