cartesi / machine-emulator

The off-chain implementation of the Cartesi Machine
GNU Lesser General Public License v3.0
64 stars 33 forks source link

Build on macos with homebrew #146

Closed tuler closed 11 months ago

tuler commented 11 months ago

CI build using homebrew on macOS.

closes #145

tuler commented 11 months ago

Error linking absl::lts_20230802 Maybe related to https://github.com/protocolbuffers/protobuf/issues/12292

tuler commented 11 months ago

This way of deciding whether it's homebrew does not work well.

Homebrew when installed in Apple Silicon even uses a different directory, /opt/homebrew instead of /usr/local https://docs.brew.sh/FAQ#why-is-the-default-installation-prefix-opthomebrew-on-apple-silicon So none of the includes and libs work on Apple Silicon. Maybe we should use brew --prefix

vfusco commented 11 months ago

PR #149 fixed this. Closing.