openark / orchestrator

MySQL replication topology management and HA
Apache License 2.0
5.64k stars 931 forks source link

arm64 and aarch64 packages #1460

Open renecannao opened 2 years ago

renecannao commented 2 years ago

In https://github.com/openark/orchestrator/releases/tag/v3.2.6 (and any older release) only packages for amd64 and x86 are available, and no packages are available for arm64 and aarch64 . Because I needed packages for arm64 I cloned and compiled Orchestrator locally and it seems to compile on arm64 and aarch64 without the need for any change, that is a great news. I created a fork just to make a new release where to store the packages for arm64 and aarch64 , so it will be easier to find the packages later on without recompiling: https://github.com/ProxySQL/orchestrator/releases/tag/v3.2.6

If packages for arm64 and aarch64 are included in the official release of the official repository I think many users will be happy 😃 and I can delete our fork.

For security reasons you shouldn't simply copy the packages I compiled. @shlomi-noach : do you have available an instance with arm64? Please let me know if I can help in any way.

Thanks, René

anatolek commented 1 year ago

But unfortunately, the compiled packages contain a binary with the wrong architecture

# file orchestrator
orchestrator: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) ...
renecannao commented 1 year ago

@anatolek : hmm , I double checked and you are right. Let me check what happened.

renecannao commented 1 year ago

@anatolek : new files uploaded, I regenerated them all. I am not sure what happened, maybe I had some file left over froma. previous build. For your reference: it is enough to run ./build.sh -a arm64 from the original repo.