On 01/06/2013 12:44 AM, Vincent Danjean wrote: > Here are the two patches I needed in order to build a Debian package. > You might want to add them in the next rc (directly or after > modifications).
Thanks. I'll apply them and roll a new RC (probably tomorrow). I was planning to simply add the Debian lib path as a special case in case llvm-config --libdir doesn't contain the shared lib, but it is not useful for now as the absolute lib path is not used anywhere else than just when checking the lib exists. > I intend to upload my packages soon so that pocl build on all Debian > architectures can be checked. Great! > However, before that, I've a question. There are 5 binaries that > are installed (pocl-llvm-ld, pocl-workgroup, pocl-build, pocl-kernel > and pocl-standalone) > > For each of them: > - is it intended that the user run them directly ? Only the pocl-standalone which can be used to build kernels offline. This is used by TCE to build standalone OpenCL programs fully offline. > - are they invoked by libpocl ? Others than pocl-standalone are. This causes a known unsolved problem with the search paths. You, as a more experienced packager, might actually know the proper solution. https://bugs.launchpad.net/pocl/+bug/1037932 Also, Kalle has been working on a branch which avoids using the scripts by using the LLVM through its C++ APIs instead, but it didn't make it to the 0.7 release: https://code.launchpad.net/~kraiskil/pocl/api This will also solve the "pocl requires fork()" issue: https://bugs.launchpad.net/pocl/+bug/1039565 -- --Pekka ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
