Skip to content
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

Linux arm64 build plz #90

Open
feeeei opened this issue Jan 7, 2022 · 3 comments
Open

Linux arm64 build plz #90

feeeei opened this issue Jan 7, 2022 · 3 comments

Comments

@feeeei
Copy link

feeeei commented Jan 7, 2022

Does github-action have an arm version of the build environment available?

Want support for the linux arm version~

@HighVoltage557
Copy link

HighVoltage557 commented Jan 9, 2022

Compiling yourself on GNU/Linux is very easy, you just have to follow the instructions here:
https://xmrig.com/docs/miner/build
Binaries are actually only needed for windows, where compiling is a bit difficult compared to GNU/Linux. Compiling for your device might give you a bit of extra performance too depending on which compiler you use, like github actions use GCC 9.3 which works, but is a bit old compared to GCC 11 for example. Also, try LLVM clang, it works better on some devices.

@feeeei
Copy link
Author

feeeei commented Jan 11, 2022

@HighVoltage557

I know this, I just prefer to have the official binary package

That way, I could write a shell to automatically check for updates on a regular basis, without having to think about compiling

@HighVoltage557
Copy link

That way, I could write a shell to automatically check for updates on a regular basis, without having to think about compiling

Updates don't come very often and compiling is easy, takes only around 1-2 minutes if you don't want to change anything to the source code. Having binaries would be nice too, but currently it is not possible on Github actions unless you use a self-hosted runner.

A similar question was asked over here and you can read it: actions/runner-images#2552

In short, ARM/ARM64 support in Github actions will probably be added when azure has ARM CPUs available, Currently, (unless I am missing something) Github actions does support ARM and ARM64 build but only on self-hosted runners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants