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.
The autoconf check for llvm shared library does not work with a
Debian/wheezy:

In configure.ac:

LLVM_SHARED_LIB_FILE=$LLVM_LIBDIR/libLLVM-$LLVM_VERSION$LIBRARY_SUFFIX

if test ! -e $LLVM_SHARED_LIB_FILE;
then
        AC_MSG_ERROR([
$LLVM_SHARED_LIB_FILE not found.
Recompile and install LLVM after ./configure --enable-shared.
Read the INSTALL file for details.])
fi

However, on a Debian system:
vdanjean@eyak:~$ llvm-config-3.1 --libdir
/usr/lib/llvm-3.1/lib
vdanjean@eyak:~$ dlocate libLLVM-3.1.so
llvm-3.1-dev: /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so
libllvm3.1:amd64: /usr/lib/x86_64-linux-gnu/libLLVM-3.1.so.1

/usr/lib/llvm-3.1/lib contains only non-shared libraries
(ie lib*.a)


  What do you want:
- modify the configure check to first check if linking without
  specific option works? It is probably the best solution and
  might even work in case of cross compilation. But it is
  more difficult to write it correctly.
- modify the AC_MSG_ERROR into an AC_MSG_WARNING (after all,
  the check is not correct on Debian)
- I can also patch the configure.ac script in the Debian package
  to remove this check. It is very easy for me, the package will
  work and compile on Debian, but upstream pocl wont compile
  without this modification on a plain Debian.

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0x9D025E87         [email protected]
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://people.debian.org/~vdanjean/debian unstable main


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