I am sharing some notes on building HEIR on my M3 ARM64x Mac OS X.
- I have homebrew installed
- Bazel from Bazelisk worked for me after experimenting with various (too many) alternatives including build from source
- Bazel for HEIR build is at version 6.4.0; whereas source build of Bazel is at v8 and doesn't support WORKSPACE files smoothly.
- Bazelisk can be installed with homebrew.
- Install latest clang compiler since Mac OSX comes with clang-16 which is kind of old; (see section on LLVM/CLANG below)