So we can provide a specific llvm-config on installing from alr?
ah, no that would require a custom build of the gnat-llvm, but with my patch it becomes a matter of invoking make like LLVM_PREFIX=$HOME/.local/opt/llvm-19.1.7/bin make for example, to get a build made with custom llvm
Is it possible to have a binary pre-build and a crate to build it from source using a custom llvm?
You mean besides the option in alire toolchain, publishing gnat-llvm as a crate on alire? I guess it would be doable but I would go that route only if my patch gets rejected I think, since with the patch it would be as easy as cloning the repo and building like I mentioned before, however when thinking about it, a crate might be a good idea for the sake of easy “canned” builds since some combos of llvm and gcc sources don’t quite work.
No, I mean as a custom toolchain, they’re just custom crates aren’t they?
Nice patch
But I meant the python-e3 Alire one x)
I posted a different thread about this, but GNAT-LLVM has been updated to LLVM v21, just fyi.