j2kun/mlir-tutorial

Apple silicon requires an additional `_LLVM_TARGETS`

genos opened this issue · 2 comments

genos commented

Hi again! I hope that my issue raising comes across as intending to help rather than complain; please let me know if I get too noisy/annoying!

In order to get everything to build on my M1 Mac, I needed to add "AArch64" to the _LLVM_TARGETS list in bazel/setup_llvm.bzl. Perhaps this step is obvious to those more in the know, but I wasn't sure of the exact string to put in to get things to build at first ("darwin-arm64"?).

Thanks again for this tutorial!

j2kun commented

No worries, I'll go ahead and add this by default.

j2kun commented

Fixed by 5eb372e