Building OpenROAD on a MacBook M1 macOS Tahoe using homebrew. #9033
stefanottili
started this conversation in
General
Replies: 2 comments 3 replies
-
|
Are those the only deltas required? It wouldn't be hard to add them to cmake. Have you tried bazel? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
How does removing system from dst work? It is used throughout the code. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been building OR with using homebrew ever since I got a MacBook M1 in Dec 2021.
Over the last four years I've only heard of a couple other users to attempt to use a Mac and I believe they gave up.
brew upgradefrequently updated packages to versions that broke the build for periods of time.Issues with other packages, notably fmt/spdlog/or-tools/lemon, disappeared over the years.
Here's the Dec 2025 list of changes that allow me to build OR on MacBook M1/homebrew.
These might not be the "right way of doing things", but they "work for me".
The etc/DependenyInstaller.sh doesn't install everything, a couple of packages have to be installed manually.
[email protected] doesn't work for OR, I had to find/install swig using a 4.2.1 formula and pin it.
OR doesn't compile with the default tcl-tk@9, use
brew install tcl-tk@8.You also need qt@5
~/.zshrc
let cmake find tcl-tk@8 lib
brew install xxxthese three packages manually and add cmake link_directories.-D_GNU_SOURCE is needed, it's also set somewhere, but doesn't take on Mac M1.
[email protected] doens't have Boost::system any more, but it's also not needed for dst.
Beta Was this translation helpful? Give feedback.
All reactions