Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling usage of readline header when only C++ API to avoid depending on libreadline-dev package #174

Open
titan73 opened this issue Jul 5, 2022 · 1 comment

Comments

@titan73
Copy link

titan73 commented Jul 5, 2022

CMakeLists.txt reads READLINE_FOUND and sets ABC_USE_xxxx variables depending on TRUE & FALSE values.
I don't know how READLINE_FOUND is supposed to be set but if it is not, we are in a incoherent situation where the header is used but the librarie is not set.
In the case of OpenROAD where only the C++ API and readline is not used, the only way to prevent including the header is to set READLINE_FOUND to FALSE. There is maybe a better way to handle that.

@sarnold
Copy link
Contributor

sarnold commented Nov 1, 2022

The workflows PR has updated cmake build bits and should set -DABC_USE_NO_READLINE appropriately. You can give that a try and see if it resolves your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants