Difficulties building OpenROAD locally on M1 Pro Mac #6474
-
|
Hello guys, was trying to build OpenROAD locally on my M1 (Pro, not sure if it makes a difference) Mac, but was running into some difficulties in installing dependencies. Was doing the following commands: (base) [my_userid] OpenROAD % ./etc/DependencyInstaller.sh: ./etc/DependencyInstaller.sh The output was really weird, specifically indicating how there were syntax inssues within my soplex module (output attached) I have tried reinstalling soplex module but it did not work either, also the lemon-graph module installation is kinda funky (cannot be installed ude to the same error). Plus here is an attachement for outptu from my brew doctor command. Any help is appreciated, thanks a lot! Update: Tried the commands below: Ended up with the following output by reinstalling lemon-graph: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 35 replies
-
|
DependencyInstaller worked just a couple of days ago for me (M1 MacBook). In case you get that to work, here are the three things I needed to get OR to compile:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
These four workarounds work for me on macOS Tahoe using a MacBook M1 Manually linking tcl-tk@8 is clearly just a "hack", there has to be a better way to deal with both tcl-tk@8 and @9 installed. Add the following lines around the "add_compile_options" in src/CMakeList.txt:165 to be able to compile/link run cmake with the option to disable the tests, they don't link against gtest. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for all the help. I tried the workarounds and was able to resolve the Boost and TCl library issues, but got new errors with |
Beta Was this translation helpful? Give feedback.
The formula to install lemon-graph with brew has been updated.
The DependencyInstaller.sh works on apple silicon macOS for me.
Please give it a try.
https://github.com/The-OpenROAD-Project/homebrew-lemon-graph