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

arm64 #641

Open
2 tasks done
simonSlamka opened this issue Jul 18, 2021 · 17 comments
Open
2 tasks done

arm64 #641

simonSlamka opened this issue Jul 18, 2021 · 17 comments

Comments

@simonSlamka
Copy link

are you planning on releasing arm64 builds? would be very useful since that's where computers are headed (at least laptops) and some don't have anything else available

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Issue

same as above

@github-actions
Copy link

Hi there!
As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct.
Thanks a bunch for opening your first issue! 🙏

@johan-bjareholt
Copy link
Member

I have compiled aw-server-rust and aw-watcher-window-wayland for my Librem 5 Linux phone and have also tried it on a PinePhone, so at least it partially works.

The issue I think is rather to know which platforms are worth supporting ARM for, as it means more maintenance. It's also a question about which platforms our CI works well with (GitHub Actions).

@simonSlamka
Copy link
Author

The issue I think is rather to know which platforms are worth supporting ARM for

imo, Linux, for sure. Then definitely Darwin since Silicons will be gradually more and more popular and widespread. Additionally, it's likely that more manufacturers will decide to put arm64's into their laptops because of its many upsides

@stale
Copy link

stale bot commented Aug 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 13, 2022
@lacamar
Copy link

lacamar commented Aug 16, 2022

With Asahi linux bringing linux to ARM, we are at an inflection point for ARM64 adoption. It's going to be increasingly important for software to work on ARM64 hardware.

@simonSlamka
Copy link
Author

With Asahi linux bringing linux to ARM, we are at an inflection point for ARM64 adoption. It's going to be increasingly important for software to work on ARM64 hardware.

Exactly this! +1

@cyugao
Copy link

cyugao commented Oct 19, 2022

Any progress on this? It should work for Apple Silicon Macs. I compiled it on my Mac and it's good for use so far.

@ErikBjare
Copy link
Member

ErikBjare commented Oct 20, 2022 via email

@yeradis
Copy link

yeradis commented Dec 15, 2022

Haven't tested it yet but found this info actions/runner-images#2187 (comment)
regarding a service with on-demand Apple Silicon runners for GitHub Actions.

@BelKed BelKed mentioned this issue Jan 19, 2023
2 tasks
@jbg
Copy link

jbg commented Mar 16, 2023

Arrived here after checking out the website, deciding to install, then realising there is no arm64 macOS build.

Which languages are used here? Cross-compiling Rust is very easy (rustup target add aarch64-apple-darwin && cargo build --target aarch64-apple-darwin) and Python usually doesn't require anything special either. There's no need to build on Apple Silicon just to target Apple Silicon. I can submit a PR to add Apple Silicon support, just need to look over the repo (or get some pointers) to understand which languages are used other than the Rust and Python that I've already seen in server-rust and watcher-window.

@johan-bjareholt
Copy link
Member

@jbg Cross-compiling Rust to ARM64 is easy, so that's not a big issue. While running python on ARM64 is easy, using pyinstaller to bundle everything is not as easy. It seems like pyinstaller has gotten decent ARM64 the past few years, but since GitHub Actions don't support macOS ARM runners we also need to be able to cross-compile ARM64 with pyinstaller which I'm sure is a bit more tricky. An option to cross-compiling would be to build in a virtualized ARM64 environment which @yeradis mentioned which might work.

Feel free to dig further, the short answer is really that no one has given this an attempt.

@jlumbroso
Copy link

It seems https://cirrus-ci.org/pricing/ indicates free service for public open source projects.

I am willing to sponsor whoever implements the Apple Silicon build of ActivityWatch. ActivityWatch is a killer app and it would be great to have it available natively, given it runs in the background.

@allywilson
Copy link

+1 for aarch64 (using Fedora Asahi).

@imadnyc
Copy link

imadnyc commented Sep 4, 2023

+1 for aarch64 (on mobian)

@thomasjonas
Copy link

It seems Github has Apple Silicon runners in beta. That should make it possible to build for Apple Silicon for sure, not sure if that means it would also work for Fedora Asahi or other arm builds though...

Would it be possible to use the Apple Silicon beta runner? Would that mean the workflow/build has to be adjusted?

@wojnilowicz
Copy link

+1 for aarch64 (using Fedora Asahi).

You can test it from https://copr.fedorainfracloud.org/coprs/wojnilowicz/activitywatch/

@FloLecoeuche
Copy link

Are there any sticking points today?

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

No branches or pull requests