[ 
https://issues.apache.org/jira/browse/YUNIKORN-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495901#comment-17495901
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-725:
------------------------------------------------

We never release from github actions. Binary convenience releases are build 
from the release tar ball. They *must* be build on hardware the [release 
manager has control 
over|http://www.apache.org/legal/release-policy.html#owned-controlled-hardware].
 That means that unless we have something that any release manager can run, 
locally, as part of the release process we should not support it. It does not 
mean that quality testing needs to happen on the local machine.

I do not think building inside a docker image is the way to go. It adds a lot 
of overhead. We also do not use the native go cross compilation. The docker 
buildx option will use QEMU, an emulation. Support for cross compilation from 
go is first class so why rely on an emulation layer instead of just directly 
the compiler.
Docker desktop provides a simple way to do all this. However we cannot expect 
the developer to have docker desktop as that might clash with what the 
developer can or will install. On a linux machine it could become tricky unless 
you use a distro that has done all the hard work for you. Using go and plain 
docker works out of the box.

Building a manifest is a once of task. We figure out which command to run and 
we can generate it over and over from the release tool. This means we reuse the 
command with the correct flags every time we need to build a manifest.

The reason I prefer that option is that we will have changes in the near 
future. Apple MacBook Pro has already moved to an ARM processor. Lots of the 
developers in the community are on that platform. We need to be able to support 
a mixed developer community better. We will eventually have binary releases for 
AMD/Intel that have been cross compiled on a ARM based machine.

> Support arm64
> -------------
>
>                 Key: YUNIKORN-725
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-725
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: release
>            Reporter: Holden Karau
>            Priority: Major
>
> It would be good to support arm64, this is probably not too painful and can 
> be done by swapping docker build with docker buildx, but there's often edge 
> cases where some code changes are needed.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to