Support aarch64 Linux with page size >= 16k (#41229)
Fixes https://github.com/vercel/next.js/issues/39311 Backport of upstream patch https://github.com/swc-project/swc/pull/6075 More details are described in https://github.com/swc-project/swc/issues/5967 I confirm that the swc plugin, when compiled with this patch, works on my Linux aarch64 machine. This will work on all aarch64 Linux systems, the patch is configuring jemalloc to use largest possible page size, instead of taking the value from the machine where you are compiling it. And here's the compiled binary, if you want to give it a go! [next-swc.linux-arm64-gnu.node.zip](https://github.com/vercel/next.js/files/9728262/next-swc.linux-arm64-gnu.node.zip) Let me know if that makes sense!🙂
Showing
Please
register
or
sign in
to comment