On Tue, Jan 17, 2023 at 2:21 PM 'Sam Clegg' via emscripten-discuss < emscripten-discuss@googlegroups.com> wrote:
> The main builder run on chromium infrastructure here: > https://ci.chromium.org/p/emscripten-releases/g/main/console. > > There are not currently any arm64 builders there. We just have manOS, > linux, and windows builders that run on x86_64. > That makes sense! > We could look into cross building in the same way we do for macOS arm64? > Yes, this ought to work fairly well. I know arm linux is still kinda niche, but I think it's only getting bigger -- and because Linux is big in tooling like Docker, there's speed benefits to avoiding x86_64 emulation on Linux even on arm64 Macs. :) I'd be happy to put in the work to modify the builder so an x86_64 Linux host can produce an arm64 and armv7 build -- that's a one-time cost and then we can get automated builds from there on. Unlike macOS we don't get a cross-arch system image "for free" with the system compiler, so this means: * grab suitable linux system images with headers and libraries to link against * make sure builder can pass the appropriate cross-compile setup * if it's necessary to run tests on the resulting binaries, set up to run them in emulation via qemu-aarch64 Emulated tests would be relatively slow, but the building will be the bulk of time and will run native. I'm uncertain which overarchiving build scripts are in use for building the main binaries, if that's in emsdk or over in binaryen or a bit of both? -- brion > > > > >> >> -- brion >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to emscripten-discuss+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/CAFnWYTm7BmeMocruQSo0SNFwo_WQ7ibTSo7xQs_N%3Dva782B_4Q%40mail.gmail.com >> <https://groups.google.com/d/msgid/emscripten-discuss/CAFnWYTm7BmeMocruQSo0SNFwo_WQ7ibTSo7xQs_N%3Dva782B_4Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to emscripten-discuss+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2_D%3DX1Lye7xWTz50QH%2BVE3UpfNuKGkj3SW5-AnF93p4mg%40mail.gmail.com > <https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2_D%3DX1Lye7xWTz50QH%2BVE3UpfNuKGkj3SW5-AnF93p4mg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAFnWYTkeEns3QUUF%2BpxvDp9nzc78rdUNwbUXMd6dOEZy%2Bx0iMQ%40mail.gmail.com.