I’m trying to figure out a pipeline to build gnat-llvm reliably and I was wondering if there is interest for these binaries made public, and maybe added to alire (I would be willing to work to make the builds reproducible to help establish trust), I mainly want to make it easier to experiment with ada in wasm.
ah, I see someone already did the work on this, I will have a look see if I can contribute anything to that thread then for now.
edit:
But also looking at the timeline for that the pr is all the way from February and there has been no update really to it, is it still active? And I like the suggestion that was given to build it not only for wasm but for other targets too.
The groundwork has been basically done already as you can see. We now need to test it with the newer GNAT-LLVM v19. And LLVM, unlike GCC, can be compiled in order to support a ton of different architectures! So the “WASM” target can be turned into a “whatever is supported by LLVM” without further changes. The WASM part is that GNAT-LLVM needs to be built in a more specific way so that the WASM RTS (Runtime System) is built as part of the GNAT-LLVM process. You can find more information here: GitHub - godunko/adawebpack: Ada WASM Runtime and Bindings for Web API
Best regards and do not hesitate to ask questions!
Fer
Quick update, due to personal issues I didn’t have the time to look at anything in the weekend, if anyone is following this, I will look into it this this week hopefully
I guess, there could be additional interest of this in context of Windows ARM support, where gcc is not available (yet?). It looks like GitHub has corresponding runners. Worth to try?
I’m working on getting the llvm build working with llvm 19 on linux rn, I don’t personally use windows much if at all day to day, but I guess it’s worth to investigate that path if anything to help promote ada as a viable lang for that use case