Bug#568556: missing ocaml bindings

Sylvain Le Gall gildor at debian.org
Sun Feb 28 22:20:33 UTC 2010

Package: llvm-dev
Version: 2.6-6
Severity: normal
Tags: patch


You can find a patch to create a package libllvm-ocaml-dev that contains
the OCaml bindings as shipped by LLVM.

I have added all the required glue to match the current OCaml packaging
policy, including the use of dh_ocaml -- which helps to compute OCaml
dependencies. I have also written a little META file to ease OCaml

The only "weird" fix is that llvm uses strange symlinks pointing to the
$DESTDIR. I have fixed them but this is the weak part of the patch. I
think this is something to discuss with upstream.

I have built it without optimized compiler and in a pbuilder. Everything
seems fine (well the pbuilder had problem with logwatch, but this is
another topic).

I hope you will be able to use it for the next upload. I am willing to
support all things related to OCaml in LLVM, just drop me an email if
you want.

Sylvain Le Gall

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages llvm-dev depends on:
ii  libc6                         2.10.2-3   Embedded GNU C Library: Shared lib
ii  libffi5                       3.0.9-1    Foreign Function Interface library
ii  libgcc1                       1:4.4.2-8  GCC support library
ii  libstdc++6                    4.4.2-8    The GNU Standard C++ Library v3
ii  llvm                          2.6-6      Low-Level Virtual Machine (LLVM)

llvm-dev recommends no packages.

llvm-dev suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocaml-bindings.patch
Type: text/x-diff
Size: 10478 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20100228/e16ba317/attachment.patch>

More information about the Pkg-llvm-team mailing list