Hi,

Le 05/01/2013 16:00, Vincent Danjean a écrit :
>   Hi,
> 
> Le 04/01/2013 15:40, Pekka Jääskeläinen a écrit :
>> On 01/01/2013 09:59 PM, Pekka Jääskeläinen wrote:
>>> I have uploaded the first 0.7 release candidate.
>>
>> RC2 uploaded. Please test so we can release soon.
> 
>   I'm trying to prepare a Debian package from your RC.

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).

I intend to upload my packages soon so that pocl build on all Debian
architectures can be checked.
  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 ?
- are they invoked by libpocl ?

  Depending on the answer, I will have more questions (or not).

  Regards,
    Vincent
The check for dynamic llvm libraries is wrong on Debian.

This patch change the error into a warning when dynamic llvm libraries are not
found.
--- a/configure.ac
+++ b/configure.ac
@@ -103,7 +103,7 @@
 
 if test ! -e $LLVM_SHARED_LIB_FILE;
 then
-        AC_MSG_ERROR([
+        AC_MSG_WARN([
 $LLVM_SHARED_LIB_FILE not found. 
 Recompile and install LLVM after ./configure --enable-shared.
 Read the INSTALL file for details.])
Creating the depdir sub-directory when compiling with clang

If the sub-directory does not already exists, clang fails when compiling the
various object files.
--- a/lib/kernel/clang.mk
+++ b/lib/kernel/clang.mk
@@ -54,10 +54,12 @@
 .SUFFIX: .cl .ll
 
 .cl.o:
+	$(AM_V_at)$(mkdir_p) $(DEPDIR)
 	$(AM_V_CLANG_CL)$(CLANG_CL_COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
 .c.o:
+	$(AM_V_at)$(mkdir_p) $(DEPDIR)
 	$(AM_V_CLANG_C)$(CLANG_C_COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
------------------------------------------------------------------------------
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. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to