hi

I wrote a CMakeLists.txt to automate building PoCL from scratch, you might
find some hints there also:

https://github.com/maedoc/pocl-build/blob/master/CMakeLists.txt

You didn't mention your Clang config, and I've three extra options for
Clang specifically:

https://github.com/maedoc/pocl-build/blob/master/CMakeLists.txt#L62


Hope that helps,
Marmaduke

On Sun, Nov 6, 2016 at 5:04 PM, Benson Muite <[email protected]> wrote:

> Hi,
>
> Am trying to build clang and llvm version 3.8 to be able to build
> pocl-0.13 on a system running scientific linux. When trying build POCL
> using the resulting clang and llvm binaries, I get the following message:
>
> CMake Error at cmake/LLVM.cmake:634 (message):
>    LLVM link test FAILED.  This mostly happens when your LLVM installation
>    does not have all dependencies installed.
> Call Stack (most recent call first):
>    CMakeLists.txt:215 (include)
>
> Configuration for LLVM was:
> $HOME/$POCL/cmakeinstall/bin/cmake -G "Unix Makefiles"
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc
> -DCMAKE_CXX_COMPILER=g++ -DLLVM_ENABLE_EH:BOOL
> S=ON -DLLVM_ENABLE_RTTI:BOOL=ON
> -DCMAKE_INSTALL_PREFIX=${HOME}/${POCL}/clanginstall ../llvm/
> make REQUIRES_RTTI=1
> make install
>
> Are the LLVM requirements listed somewhere?
>
> Thanks,
> Benson
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> pocl-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pocl-devel
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to