Repository navigation
Conversation
Use LiteRT's elinux_aarch64 Bazel config for non-native AArch64 builds instead of bare --cpu=aarch64. Bare --cpu=aarch64 resolves against @local_config_cc on x86_64 hosts, which does not provide an AArch64 toolchain. Signed-off-by: Pablo Marquez Tello <[email protected]> Change-Id: I2483450ad07cc81f4c071978ee46207dde2905b0
gunes-arm
previously approved these changes
Sep 22, 2026
Author
|
TRIGGER BUILD |
gunes-arm
reviewed
Nov 10, 2026
| if [ "$NATIVE_BUILD" -eq 0 ]; then | ||
| # Bare --cpu=aarch64 resolves against @local_config_cc on x86_64 hosts, | ||
| # which has no aarch64 toolchain. Use LiteRT's embedded Linux config for | ||
| # cross builds so Bazel selects the ARM cross toolchain and native host |
Contributor
There was a problem hiding this comment.
Can you change
cross builds so Bazel selects the ARM cross toolchain
to
cross-builds so Bazel selects the cross-toolchain
Use the reviewer-requested wording for the Bazel cross-build comment. Signed-off-by: Pablo Marquez Tello <[email protected]>
gunes-arm
approved these changes
Nov 10, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use LiteRT's elinux_aarch64 Bazel config for non-native AArch64 builds instead of bare --cpu=aarch64.
Bare --cpu=aarch64 resolves against @local_config_cc on x86_64 hosts, which does not provide an AArch64 toolchain.
Signed-off-by: Pablo Marquez Tello [email protected]
Change-Id: I2483450ad07cc81f4c071978ee46207dde2905b0