-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add build support for arm64-linux #1055
base: main
Are you sure you want to change the base?
Conversation
Adds support for arm64-linux. Uses buildx to build multi-platform image. Spawned by: googleforgames#611
/gcbrun |
1 similar comment
/gcbrun |
Was |
Yeah, it works on my machine ™️ . I build on an apple m2 pro with docker-desktop. I noticed that the error messages complains about building
|
…lation issue with Ring
/gcbrun |
Added setting CC explicitly, as suggested by briansmith/ring#2127. |
I'm new to the Rust eco-system so I'm mainly searching the internet to find people who's had similar issues. |
/gcbrun |
Ah fun, so you would be building on ARM, and Cloud Build is building on Intel. My suggestion would be to add the package quilkin/build/build-image/Dockerfile Lines 28 to 31 in 00345be
Which should give the system what it needs, when it says:
|
Gotcha. Let's test this version then! |
/gcbrun |
|
Updated PR to use docker-container as build driver. However, according to docs,
Docs for
=> does not seem to work for multi-arch images. So we perhaps need to restructure a bit to push directly, or configure some other reasonable output. Any thoughts on this? |
In my experience the multi arch image is stored temporarily in the build cache, so a subsequent |
/gcbrun |
Well it built! But the image could not be found after the fact. |
Well, it's progress at least! And I see in the logs that it build for both architectures, so that's nice. |
/gcbrun |
Build Failed 😭 Build Id: b7934c3b-ffa0-49d8-82c1-2019af4fbe27 Status: FAILURE To get permission to view the Cloud Build view, join the quilkin-discuss Google Group. Filter with the Git Commit Development images are retained for at least 30 days. |
Adds support for arm64-linux.
Uses buildx to build multi-platform image.
Spawned by: #611
What type of PR is this?
/kind feature
What this PR does / Why we need it:
Adds support for arm64/linux. Builds multi-platform using buildx.
Which issue(s) this PR fixes:
Closes #611
Special notes for your reviewer: