-
Notifications
You must be signed in to change notification settings - Fork 38
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
Provide build version for linux_aarch64 #425
Comments
Greetings, and thank you for the offer. I'll gladly accept any offers to provide builds for platforms that don't have one yet. In the first instance, please see here, which should give you all the information you need about CTAN and the build/release process but feel free to ask for clarification here as the process is relatively new. |
Simon, I provide the linux-musl_x86_64 build. See also https://github.com/krumeich/biber-alpine. If you're interested in an exchange of experiences with building biber in Docker for the linux-musl metaplatform, get in touch. |
Hi together, thanks for the nice answers, and the offer from @krumeich. A quick write up how I built the aarch64 executable using Docker, Perl 5.36.0, and Debian Buster (to have an old enough glibc to handle a broader spectrum of OS):
Next, I prepare the build and build biber (c.f. my pull request for the build script):
I run the test from BUILDERS.README on an EC2 instance with Ubuntu 20.04 / Focal and on a Raspberry 4 with Debian Buster. Next, I would orientate myself at Alexander's repository and prepare the whole build process in it. |
This looks good, Simon! When you look at my Dockerfile you'll see that I prepare the build environment with all its Perl modules beforehand and pack it into an image. This saves a lot of time (ca. 15-20 minutes per build), because only the actual biber compile is done in the container. |
Hey, @sbrass, any progress on the arm64 build? Do you need a hand? |
Thanks @krumeich for remembering me! Let me put everything together once, and see what went wrong. |
Hey everybody, I replicated the setup from @krumeich to provide a consistent build environment, c.f. https://github.com/sbrass/biber-linux-aarch64. If everything seems correct, I would upload it to ctan. |
Excellent, Simon! I'm very glad that I can finally get my linux-aarch64 based Docker image to work. This was the only missing piece. BTW, now that you are the second person on the planet to use this build workflow: if you have any suggestions on improvement, do let me know. |
I would like to help provide a
linux_aarch64
build version of biber for the latest release 2.18.I already built it (as I needed it myself) and would like to provide it back, however, I would ask for some guidence.
The build process uses one of the official Docker images for Perl, https://hub.docker.com/_/perl, version 5.36.0 (on top of Debian Buster).
Following the instruction of the documentation, I adopted the
linux_aarch64-musl
build script and run it in Docker and tested the binary on a seperate machine with the two testfiles test.{bib,bcf}.I'm a bit puzzled with the upload process on CTAN as a
biber-linux
package already exists (obviously).What would be the best next step? Does it make sense, at all?
For example, also adding other ARM versions (armhf; armel has already a build script).
The text was updated successfully, but these errors were encountered: