On 03/15/2017 03:32 PM, Michal Babej wrote:
> On Wed, 15 Mar 2017 10:09:36 -0700
> Martin Kelly <[email protected]> wrote:
>
>> Is there any deep reason why the bitcode could not be cross-compiled
>> for the target arch as well?
>
> Not really.
>
> Did you try running cmake with -DLLC_TRIPLE=<triple>
> -DLLC_HOST_CPU=<cpu>  ? triple & cpu should be from `llc -mcpu=help`
>
> Looking at sources, this could do the trick.
>

I did, and I hit some compile issues related to include paths. At that 
point, I wanted to make sure this was really a doable thing before 
proceeding too much further. It sounds like there's no deep reason why 
this should not work, which is good to know. If I get some time, I'll 
see if I can make it work.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to