On 22.01.2016 14:59, EXT Zheng Wang wrote: > Hi Michal, > > For pocl: > > ../configure --with-hsa-runtime-dir=/opt/hsa > LLVM_CONFIG=/home/zwang3/workspace/dividend2/build/llvmhsail/bin/llvm-config > HSAILASM=/usr/local/bin/HSAILasm --disable-icd > > > for LLVM: > > cmake .. -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=HSAIL -DBUILD_SHARED_LIBS=off > -DCMAKE_INSTALL_PREFIX=/home/zwang3/workspace/dividend2/build/llvmhsail > -DLLVM_ENABLE_RTTI=on -DLLVM_BUILD_LLVM_DYLIB=on -DLLVM_ENABLE_EH=ON > -DWITH_TARGET="AMDGPU;X86_64;HSAIL"
Are you sure you run pocl against this exact libLLVM? 'ldd libpocl.so' should point to it and not to a LLVM that comes with your system? If you have no particular reason to use a shared libLLVM, try building pocl with LLVM statically linked in: ./confitgure --enable-static-llvm kalle ------------------------------------------------------------------------------ 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
