Open aviteri opened 3 months ago
@eder-matheus have you seen this?
I think I installed lemon by hand a long time ago. I never had issues with it after that. I can try to add it to the dependency installer
Seen similar but different compiler errors due to older compilers or versions of libboost using constructs that were too new for the compiler to cope with.
typeName {.member1 = varVal1, .member2 = varVal2...}
This is something you can work around, just requires tackling down the header definitions and experimenting with each in isolation to A/B/C test.
The dependency installer works fine on M1 Sonoma. It uses homebrew to install boost 1.86.0, so boost headers should be at /opt/homebrew/opt/boost not /usr/local/include/boost
It is most definitely /usr/local/include/boost
on an Intel Mac.
Homebrew uses two separate install locations depending on whether it's an Intel Mac or M1 Mac. One location is for x86 packages which are run natively on x86 machines or translated on M1 machines. The other location is for ARM packages which are run natively on M1. Confusingly, both locations might exist if an x86 version and an ARM version of a package are both installed. I think the CMake already handles this by looking in the ARM install location first and then the x86 install second.
Describe the bug
Following the installation guide from https://openroad.readthedocs.io/en/latest/user/Build.html, when executing ./etc/DependencyInstaller.sh the intallation stops with the following error:
==> Fetching the-openroad-project/lemon-graph/lemon-graph ==> Downloading https://github.com/The-OpenROAD-Project/lemon-graph/archive/refs/tags/1.3.1.tar.gz Already downloaded: /Users/aviteri/Library/Caches/Homebrew/downloads/8cd49562d55d98cf2eee71a84193ad5d47cbb5285d6682f8252b3e921b1dec2e--lemon-graph-1.3.1.tar.gz ==> Installing lemon-graph from the-openroad-project/lemon-graph ==> cmake -B build . ==> cmake --build build -j --target install Last 15 lines from /Users/aviteri/Library/Logs/Homebrew/lemon-graph/02.cmake: In file included from /usr/local/include/boost/multiprecision/traits/is_variable_precision.hpp:9: In file included from /usr/local/include/boost/multiprecision/detail/number_base.hpp:29: In file included from /usr/local/include/boost/lexical_cast.hpp:30: /usr/local/include/boost/lexical_cast/detail/buffer_view.hpp:27:34: error: expected '(' for function-style cast or type construction return buffer_view{begin, end};