The straightforward way I already mentioned in my original post:
As @Tamas_Papp correctly stated, I also detailed in the OP when this might be an option, and when it’s not:
And, of course, if there even isn’t any Linux OS around, this route is not option. What’s the status, activity, roadmap of llvm-cbe? Could this be a viable option for bringing Julia to embedded devices?
I feel like this could be a an expedient way to go:
Just replace GPU by anything else;
reconfiguring the existing compiler to emit [ANYTARGET]-compatible LLVM IR
which should become easier by said clean, isolated “demo package”. @maleadt, do you plan to keep non-GPU-specific parts of this package separated to allow others to reuse them to reconfigure the compiler for their specific targets?