Bug#783919: news on ocaml-llvm bindings ?

Pierre Chifflier pollux at debian.org
Mon Jan 11 19:56:52 UTC 2016


tags 783919 +patch
thanks

On Thu, Nov 26, 2015 at 01:33:19PM +0100, Sylvestre Ledru wrote:
> I will be happy to apply a patch if you have any.
> 

Hi Sylvestre,

Here is a patch for llvm-toolchain-3.6. It is now possible to build it
with the bindings enabled, since ocaml-ctypes >= 0.4 has transitioned
[1].

Basically, besides re-enabling it, I just had to fix the documentation
installdir, and add a patch to fix a wrong use of the ctypes API.
Note that this patch was taken from gentoo [2].
Also, I had to disable the checks (DEB_BUILD_OPTIONS=nocheck).

I have a similar patch for llvm-toolchain-3.7 (without the ctypes patch,
fixed upstream), I will open a separate bug.

Thanks,
Pierre

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792657
[2] https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/llvm-3.6.0-ocaml-ctypes-0.4.0.patch?view=markup
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-reenable-ocaml-3.6.patch
Type: text/x-diff
Size: 4339 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20160111/4deb2430/attachment.patch>


More information about the Pkg-llvm-team mailing list