Hi,

On Sat, 23 Jan 2016 01:05:18 +0000
Zheng Wang <[email protected]> wrote:

> 1. I had to patch
> "lib/Target/HSAIL/BRIGAsmPrinter/BRIGAsmPrinter.cpp" at LLVM HSAIL
> Stable 3.7. The patch file provided by POCL is incomplete;
If you create a bug (or just post your patch here) we can update it.

> 4. I had to add libhsail.a and libncurses.a into libpocl_la_LIBADD at
> build/lib/CL/Makefile (I don't know why the pocl configuration tool
> does not add them to the makefile).
It does not add them because neither of those are used/required by
pocl (as i said in my previous email..) 

libncurses is required by llvm (not pocl), and you should NOT EVER need
libhsail.a when using pocl+llvm.

If i'm reading llvm/lib/Target/HSAIL/CMakeLists.txt correctly,
both LIBHSAIL_LIBRARIES and HSAIL_USE_LIBHSAIL default to OFF,
so somehow you must have turned these on when compiling LLVM.
Perhaps i'll update the documentation, add these to the LLVM cmake
cmdline and explicitly turn them OFF.


Regards,
  -- mb

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to