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

Fix config=aarch64_sysroot build #857

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

JamesMBartlett
Copy link
Member

Summary: To get aarch64 images to work I added a select on cpu:x86_64 for the java agent. I put this select in the wrong place, because it causes test builds to fail.
This PR moves the select to where its only used for the image and not for the tests.

Type of change: /kind cleanup

Test Plan: Ran bazel test --config=aarch64_sysroot //... and saw only 7 failed tests as expected.

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
@JamesMBartlett JamesMBartlett merged commit cf9d343 into pixie-io:main Feb 13, 2023
@JamesMBartlett JamesMBartlett deleted the fix_aarch64_build branch February 13, 2023 19:11
RagalahariP pushed a commit to RagalahariP/pixie that referenced this pull request Feb 15, 2023
Summary: To get aarch64 images to work I added a select on cpu:x86_64
for the java agent. I put this select in the wrong place, because it
causes test builds to fail.
This PR moves the select to where its only used for the image and not
for the tests.

Type of change: /kind cleanup

Test Plan: Ran `bazel test --config=aarch64_sysroot //...` and saw only
7 failed tests as expected.

Signed-off-by: James Bartlett <jamesbartlett@pixielabs.ai>
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

Successfully merging this pull request may close these issues.

2 participants