-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support ARM operating systems #37
Comments
We don't, mainly because Github Actions doesn't support these operating systems
It's beyond my expertise to figure out how to build TinyTeX binaries for ARM operating systems on x84 platforms. If anyone can help, I'll be eager to work on it. |
Nice, thanks! actions/runner-images#2187 suggested that buildjet.com may have an option, and we also do have some self-hosted runners internally that could potentially help (although I believe it is mostly used for private repos at present). I'm definitely hopeful we can make progress on this as we add ARM support for our R, Python, and product builds 😄 I'll do some poking internally |
Thanks! If we have self-hosted runners and I can use them, I'd definitely love to build more types of TinyTeX binaries! |
you can do that directly on any x86 host! Using Docker and https://github.com/multiarch/qemu-user-static you can easily buid & run on any architecture without the need of native host (or cross compiling) |
@vk496 That sounds like exactly what we need! Thanks a lot for the tip! |
Sorry, I was not able to find a example that I did before. But essentially, you can do a basic I think I did that with Travis, but can be done easily anywhere (maybe someone already did the work in the github workflows). If I found it, I will post it here Salu2 |
Yep, found it! https://github.com/nfc-tools/mfoc-hardnested/blob/master/.github/workflows/build.yml Hope it's useful :) |
Really interesting ! thanks for sharing ! |
I have seen update on Github where M1 is now available: |
The M1 macOS runner won't help, since TeX Live only has the
What we need is ARM Linux runners, which I don't know if Github Action will ever support. The emulator mentioned by @vk496 is probably the best way to go. |
It seems Linux ARM64 environment are available now (per actions/runner-images#5631) Not sure it is deployed yet, but probably soon to be available. It was in private beta in January: https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/ |
I just took a look at this repo's settings and it seems we can indeed enable arm-based runners (which are available to our rstudio org), but it involves with some manual download/config. Perhaps we can just wait for them to become publicly available by the end of the year. As we are thinking about TinyTeX releases for different architectures, I think we also need to think more about our naming scheme for the release assets. In retrospect, I regret using filename extensions |
@heath-r and I are having trouble getting
TinyTeX
installed on an ARM jammy (22.04) instance. It looks like the install script tries to install from source. Do we ship ARM binaries?The text was updated successfully, but these errors were encountered: