I try to compile pocl-0.9.0 on FreeBSD 11.-CURRENT (most recent) with LLVM 3.3. Compilation works so far. But using Khronos opencl-icd requires etc/OpenCL/vendors/pocl.icd and here comes a kind of confusion into play.
pocl.icd.in has content @libdir@/libpocl.so.VER VER gets obviously substituted via this chain of commands during compilation: [...] gmake[4]: Entering directory `/usr/ports/devel/pocl/work/pocl-0.9' sed -e 's,[@]libdir[@],/usr/local/lib,g' -e 's,so.VER,so.2,g' < ./pocl.icd.in > ./pocl.icd gmake[5]: Entering directory > `/usr/ports/devel/pocl/work/pocl-0.9' gmake[5]: Nothing to be done for `install-exec-am'. sed -e 's,[@]libdir[@],/usr/local/lib,g' -e 's,so.VER,so.2,g' < ./pocl.icd.in > ./pocl.icd /bin/mkdir -p '/usr/local/etc/OpenCL/vendors/' [...] As you can see, VER gets substituted by "2" (the number two). Checking for the libraries in /usr/local/lib/ (the standard on BSD UNIX systems) I find those libs: /usr/local/lib/libpocl.a /usr/local/lib/libpocl.la /usr/local/lib/libpocl.so /usr/local/lib/libpocl.so.4 /usr/local/lib/libpoclu.a /usr/local/lib/libpoclu.la /usr/local/lib/libpoclu.so /usr/local/lib/libpoclu.so.4 where /usr/local/lib/libpocl.so and /usr/local/lib/libpoclu.so are symbolic links to their versioned appropriates and they have version "4", NOT "2". Since the link has been introduced, isn't it wise to leave pocl.icd with content @libdir@/libpocl.so (no .VER)? Or is there something wrong with my environment I haven't figured out? Thanks in advance, Oliver
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
