Skip to content

community/{moarvm,nqp,rakudo}: upgrade to 2022.04, community/zef: upgrade to 0.13.8

rubicon requested to merge rubicon/aports:rubicon-rakudo into master

I've managed to build these packages with system libuv but with mimalloc disabled (as I couldn't find an option for using system mimalloc in the configure script, and mimalloc is also in testing/ anyway).

This solves the problem of mimalloc and libuv headers being included in moarvm-dev. However, libtommath headers still have to be included, probably due to libtommath being in testing/, while these packages are in community/.

Perhaps libtommath can be added to the community repo?

I did some modifications to the APKBUILDs to remove the separate doc() functions, but left the dev() functions as they were...don't know if the maintainer will approve of the changes.

I also enabled more architectures. They pass the bundled tests, but for rakudo, there is 1 subtest failing on x86 and armhf (the same one, I've made a comment about it in the APKBUILD for rakudo).

I suspect the failing subtest has something to do with those 2 archs taking a long time to build (note to self: perhaps setting ROAST_TIMING_SCALE to a larger value will fix the problem).

For the time being, I have disabled tests for rakudo on those archs. They take about half an hour to build anyway (as opposed to about 10 minutes for x86_64, armv7, aarch64, and 20 minutes for ppc64le), and adding rakudo's tests will just make it take even longer.

Edit: now x86 has exceeded maximum execution time, the tests for nqp on x86 and armhf will have to go as well! (Raku's module installer, zef, uses rakudo, which in turn uses nqp, so in case rakudo is badly broken, the tests in zef should catch that.)

Edited by rubicon

Merge request reports