OpenDB does not compile on macOS/clang right out of the box. This PR introduces changes to that enables compilation.
I was able to successfully build OpenROAD-flow and run the complete flow for the gcd example on mac.
The RP does not introduce any functional change; only header "include"s have been modified.
None of the changes are macOS specific. It should not affect build or run on Linux. I imagine at least some of the changes could also be necessary on some Linux platforms as well.
One of the changes was system "db.h" was being picked up instead of the local "db.h", even though include was using quotes and not angle brackets.
The PR probably needs some cleanup, as some of the changes were made through a trial and error process.
Tested on macOS 10.15.5 / Apple clang version 11.0.3 (clang-1103.0.32.59) (Xcode) / homebrew
OpenDB does not compile on macOS/clang right out of the box. This PR introduces changes to that enables compilation. I was able to successfully build
OpenROAD-flow
and run the complete flow for the gcd example on mac.The RP does not introduce any functional change; only header "include"s have been modified.
None of the changes are macOS specific. It should not affect build or run on Linux. I imagine at least some of the changes could also be necessary on some Linux platforms as well.
One of the changes was system "db.h" was being picked up instead of the local "db.h", even though include was using quotes and not angle brackets.
The PR probably needs some cleanup, as some of the changes were made through a trial and error process.
Tested on macOS 10.15.5 / Apple clang version 11.0.3 (clang-1103.0.32.59) (Xcode) / homebrew