forked from pixie-io/pixie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix config=aarch64_sysroot build (pixie-io#857)
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>
- Loading branch information
1 parent
1670180
commit cf9d343
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,5 @@ cc_binary( | |
"-msan", | ||
], | ||
linkstatic = True, | ||
target_compatible_with = ["@platforms//cpu:x86_64"], | ||
) |
This file contains 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
This file contains 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