Skip to content

abc@0.64-yosyshq.bcr.2#9021

Merged
UebelAndre merged 4 commits into
bazelbuild:mainfrom
maliberty:abc-0.64-yosyshq.bcr.2
May 27, 2026
Merged

abc@0.64-yosyshq.bcr.2#9021
UebelAndre merged 4 commits into
bazelbuild:mainfrom
maliberty:abc-0.64-yosyshq.bcr.2

Conversation

@maliberty
Copy link
Copy Markdown
Contributor

@maliberty maliberty commented May 27, 2026

Add an opt-in flag to skip the readline dependency. Default behavior is unchanged: @readline is still linked and ABC_USE_READLINE is still set. Consumers that drive abc programmatically (and do not need the interactive line editor) can opt out by adding to .bazelrc:

common --@abc//:use_readline=false

This drops both the @readline build edge and the ABC_USE_READLINE define from the abc cc_library.

Add an opt-in flag to skip the readline dependency. Default behavior is
unchanged: @readline is still linked and ABC_USE_READLINE is still set.
Consumers that drive abc programmatically (and do not need the
interactive line editor) can opt out by adding to .bazelrc:

  common --@abc//:use_readline=false

This drops both the @readline build edge and the ABC_USE_READLINE
define from the abc cc_library.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
@bazel-io
Copy link
Copy Markdown
Member

Hello @UebelAndre, modules you maintain (abc) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@maliberty
Copy link
Copy Markdown
Contributor Author

@bazel-io skip_check unstable_url

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label May 27, 2026
Copy link
Copy Markdown
Contributor

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

One request for you! Also, what is the error you see? Does this result in duplicate symbols somehow? Should there be a regression test with this off?

Comment thread modules/abc/0.64-yosyshq.bcr.2/overlay/BUILD.bazel
Co-authored-by: UebelAndre <github@uebelandre.com>
@maliberty
Copy link
Copy Markdown
Contributor Author

It is not an error, I don't want a GPL dependency in my program and don't need the abc CLI as I'm just using it as a library.

…y fix

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
Comment thread modules/abc/0.64-yosyshq.bcr.2/presubmit.yml
Co-authored-by: UebelAndre <github@uebelandre.com>
@UebelAndre UebelAndre added the presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval label May 27, 2026
Copy link
Copy Markdown
Contributor

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

Thank you!

@UebelAndre UebelAndre merged commit f2196b5 into bazelbuild:main May 27, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants