Try to be even more aggressive in disabled llvm build targets.#325
Try to be even more aggressive in disabled llvm build targets.#325
Conversation
|
@fruffy This still takes cached LLVM build... |
I am a little confused why, isn't this hashed based on the script |
build_tools/build_mlir.sh
Outdated
| fi | ||
| CMAKE_FLAGS+=" -DLLVM_CCACHE_BUILD=ON" | ||
| # Disable all LLVM machine-code backends | ||
| CMAKE_FLAGS+=" -DLLVM_TARGETS_TO_BUILD=\"\"" |
There was a problem hiding this comment.
you cannot disable all backends. Can use host or native here.
There was a problem hiding this comment.
Yeah was worth a shot, I see lots of unrelated stuff being built and was hoping to get rid of that
There was a problem hiding this comment.
Any reason we want host or native?
There was a problem hiding this comment.
well, this seems to be a sensible default for a single target to build. I doubt you'd want to stick to, say, x86 or aarch64.
There was a problem hiding this comment.
We can add a shell option to pass any additional targets, if downstream back ends need those?
Signed-off-by: fruffy <fruffy@nyu.edu>
Signed-off-by: fruffy <fruffy@nyu.edu>
Just checking what can be done.