Skip to content

Add required_for_abi_source_only = True to extension/android:executorch_llama #12093

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

xuhdev
Copy link

@xuhdev xuhdev commented Jun 28, 2025

Summary:
Buck's document on Java source ABI recommends adding required_for_source_abi = True to targets that export annotations:

... All annotations and compile-time constants (including enum values) used in the interface of a rule must be present during source-only ABI generation.
The error will suggest adding required_for_source_abi = True to any rule that defines an annotation type or a compile-time constant that is used from another rule, ...

Differential Revision: D77479748

…orch_llama

Summary:
[Buck's document on Java source ABI](https://buck.build/concept/java_abis.html) recommends adding `required_for_source_abi = True` to targets that export annotations:

> ... All annotations and compile-time constants (including enum values) used in the interface of a rule must be present during source-only ABI generation.
> The error will suggest adding required_for_source_abi = True to any rule that defines an annotation type or a compile-time constant that is used from another rule, ...

Differential Revision: D77479748
@xuhdev xuhdev requested a review from kirklandsign as a code owner June 28, 2025 05:22
Copy link

pytorch-bot bot commented Jun 28, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12093

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 967ea2f with merge base db8ef6b (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 28, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77479748

@xuhdev
Copy link
Author

xuhdev commented Jun 28, 2025

@pytorchbot label "release notes: build"

@pytorch-bot pytorch-bot bot added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants