Skip to content

bazel: drop readline dependency from abc#10530

Closed
maliberty wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:bazel/abc-drop-readline
Closed

bazel: drop readline dependency from abc#10530
maliberty wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:bazel/abc-drop-readline

Conversation

@maliberty
Copy link
Copy Markdown
Member

The abc BCR overlay BUILD unconditionally wires @readline into the abc cc_library and sets ABC_USE_READLINE. OpenROAD drives abc programmatically and does not need the interactive line editor, so add a single_version_override that patches both out.

Temporary until bazelbuild/bazel-central-registry#9021 is merged.

The abc BCR overlay BUILD unconditionally wires @readline into the abc
cc_library and sets ABC_USE_READLINE. OpenROAD drives abc
programmatically and does not need the interactive line editor, so add
a single_version_override that patches both out.

Temporary until bazelbuild/bazel-central-registry#9021 is merged.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
@maliberty maliberty requested a review from a team as a code owner May 27, 2026 18:57
@maliberty maliberty requested a review from osamahammad21 May 27, 2026 18:57
@maliberty maliberty self-assigned this May 27, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the dependency on readline from the abc module. It introduces a new patch file bazel/abc_no_readline.patch that removes the ABC_USE_READLINE definition and the @readline dependency from the abc build configuration, and configures a single_version_override in MODULE.bazel to apply this patch. The MODULE.bazel.lock file has been updated accordingly. There are no review comments, so I have no feedback to provide.

@maliberty
Copy link
Copy Markdown
Member Author

already moot

@maliberty maliberty closed this May 27, 2026
@maliberty maliberty deleted the bazel/abc-drop-readline branch May 27, 2026 20:11
@oharboe
Copy link
Copy Markdown
Collaborator

oharboe commented May 29, 2026

@maliberty How did this get resolved? (since it is moot)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants