Code Monkey home page Code Monkey logo

Comments (8)

plk avatar plk commented on August 24, 2024 1

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.

https://github.com/plk/biber/blob/dev/BUILDERS.README

from biber.

krumeich avatar krumeich commented on August 24, 2024 1

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 at [email protected].

from biber.

sbrass avatar sbrass commented on August 24, 2024 1

Hey everybody,

I replicated the setup from @krumeich to provide a consistent build environment, c.f. https://github.com/sbrass/biber-linux-aarch64.
You can find a compressed archive under https://nextcloud.phibra.de/s/RqZQxZe9nojitiQ for inspection.

If everything seems correct, I would upload it to ctan.
Cheers!

from biber.

sbrass avatar sbrass commented on August 24, 2024

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):

   docker run -it --rm -v "$PWD":/usr/src/biber -w /usr/src/biber perl:5.36.0-buster /bin/bash

Next, I prepare the build and build biber (c.f. my pull request for the build script):

  cpan Module::Build PAR::Packer CPAN::DistnameInfo &&
         # We need to force the installation, else we will not have all files correctly in their respective places.
         cpan -f Unicode::Collate::Locale && \
     perl Build installdeps && \
         # Needs be run *after* installdeps
     echo "/usr/local/lib" > /etc/ld.so.conf.d/biber.conf && ldconfig && \
     perl Build test && \
     perl Build install && \
     cd dist/linux_aarch64 && bash ./build.sh

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.

from biber.

krumeich avatar krumeich commented on August 24, 2024

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.

from biber.

krumeich avatar krumeich commented on August 24, 2024

Hey, @sbrass, any progress on the arm64 build? Do you need a hand?

from biber.

sbrass avatar sbrass commented on August 24, 2024

Thanks @krumeich for remembering me!
I've already started to adapt your Docker setup in late September, but got stuck somewhere in-between.

Let me put everything together once, and see what went wrong.

from biber.

krumeich avatar krumeich commented on August 24, 2024

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.

from biber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.