facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.44k stars 990 forks source link

Ubuntu aarch64 builds #1094

Open thoughtpolice opened 1 year ago

thoughtpolice commented 1 year ago

I'm using the watchman x86_64 binaries in a project with Sapling and Buck, and having success. But using it on my Asahi Linux laptop, I need to patch out use of watchman, due to the lack of aarch64 binaries.

So, I'd like to request aarch64 release builds of watchman if possible. Ideally, Ubuntu 22.04 builds, since that will be built with a more recent glibc; plus, aarch64 is relatively new so that will likely be the most well supported toolchain, I suspect.

I think the current builds are created with GitHub Actions, which complicates things I suspect...

fanzeyi commented 1 year ago

Thanks for the suggestion. Watchman itself should be buildable on aarch64. We do run aarch64 builds on macOS M1s internally.

As of aarch64 Linux builds in open source. I don't think we will be able to support it in the current situation since like you said. GitHub Action does not have support for aarch64 Linux yet.

We probably can revisit this decision when that has changed, but I will leave this as blocked.

Cross-compile may work here, but we probably don't have the capacity to get it working though.