-
Notifications
You must be signed in to change notification settings - Fork 184
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
hack: fix broken build for ARM64-arch #1904
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me, Were these changes tested well? CI does not test it on arm ENV so we need to make sure they work well.
@@ -5,9 +5,9 @@ | |||
|
|||
GO111MODULE="on" | |||
GOPROXY="https://proxy.golang.org" | |||
GOROOT="${GOROOT:-go env GOROOT}" | |||
GOROOT="${GOROOT:-$(go env GOROOT)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from the failure in the CI it looks like we don't have go in the openshift CI. We also need to figure this out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a chicken-and-egg problem: you first need to be able to build ocs-operator over ARM64 before you may test it via CI.
Currently, I am testing the build process over ARM64 using RH's beaker machines. This is just the first step in a more comprehensive cycle of adjusting ocs-operator to ARM64 environment (specifically, AWS Graviton). See #1906 for more details. |
f0b1d38
to
7d3573b
Compare
7d3573b
to
709268f
Compare
709268f
to
36f1264
Compare
When building over AWS-Graviton, need to use ARM64 (aarch64) protoc binaries. Upstream project does not provides proper ARM64 binaries for protoc-gen-go and protoc-gen-go-grpc so we need to build it from source within temporary directory. Refs RHSTOR-2044 Signed-off-by: Shachar Sharon <[email protected]>
36f1264
to
7983897
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: synarete The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@synarete: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
When building over AWS-Graviton, need to use ARM64 (aarch64) protoc binaries. Upstream project does not provides proper ARM64 binaries for protoc-gen-go and protoc-gen-go-grpc so we need to build it from source within temporary directory.
Refs RHSTOR-2044
Signed-off-by: Shachar Sharon [email protected]