Closed innovara closed 1 year ago
Thanks for the contribution, @innovara!
@innovara published a new release 0.12.6.1-3, the aarch64
build is still ongoing due to hitting the 6-hour cutoff.
@ashkulz I used native aarch64 to build it (Raspberry Pi 4) and my recollection is that it took a while but it completed much sooner than that. I'm doing it again to provide a more precise benchmark. Obviously it's a totally different story using emulating aarch64 on x86_64 with qemu. I see that Alma Linux 8 and 9 complete under 5 hours for aarch64 but I don't think there's much you can do in this situation apart from dropping aarch64 for Fedora. Maybe unrelated, but have you thought of using ubuntu-22.04 for the build instead of ubuntu-20.04? I reckon a newer (but stable) version of qemu will bring performance gains on emulated architectures. It's highly speculative and maybe not worth the risk of potentially causing issues with other targets.
From what I recall, there was a regression in performance when I checked it a few months ago but I could be wrong.
This is an amended version of my previous PR https://github.com/wkhtmltopdf/packaging/pull/135
With these changes, it is possible to build wkhtmltopdf for Fedora 37. There are no extra dependencies required compared to CentOS 7 so it uses the the existing Dockerfile.centos