I think what you're aiming to do is superb! Have you considered tweaking how it works so Inline::C (etc) can do all the compiling bits, and this thing just provides C compiler flags and so on, like https://metacpan.org/pod/Alien::OpenMP#Inline:
use Alien::CUDA; use Inline C => 'DATA', with => q/Alien::CUDA/;
If you'd like to discuss on IRC, then #native (or #pdl) on irc.perl.org would be great places to try. Or, the code in Alien::OpenMP itself is in a pretty good state to start from.
I think what you're aiming to do is superb! Have you considered tweaking how it works so Inline::C (etc) can do all the compiling bits, and this thing just provides C compiler flags and so on, like https://metacpan.org/pod/Alien::OpenMP#Inline:
If you'd like to discuss on IRC, then #native (or #pdl) on irc.perl.org would be great places to try. Or, the code in Alien::OpenMP itself is in a pretty good state to start from.