Enable ocaml binding for release architectures

This commit is contained in:
Gianfranco Costamagna 2017-09-05 20:53:25 +00:00
parent c945e4a28b
commit cffdd76e5a
3 changed files with 12 additions and 6 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-snapshot (1:6.0~svn311834-3) UNRELEASED; urgency=medium
* Enable ocaml on release architectures.
-- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 05 Sep 2017 22:52:49 +0200
llvm-toolchain-snapshot (1:6.0~svn311834-2) unstable; urgency=medium
* Fix the FTBFS because of -gsplit-dwarf:

10
debian/control vendored
View File

@ -9,10 +9,10 @@ Build-Depends: debhelper (>= 9.0), flex, bison, dejagnu, tcl, expect,
libedit-dev, libncurses5-dev, swig, python-six, python-sphinx, binutils-dev,
libjsoncpp-dev, pkg-config,
lcov, procps, help2man, zlib1g-dev,
ocaml-nox [amd64 arm64 armel armhf i386],
ocaml-findlib [amd64 arm64 armel armhf i386],
libctypes-ocaml-dev [amd64 arm64 armel armhf i386],
dh-ocaml [amd64 arm64 armel armhf i386],
ocaml-nox [amd64 arm64 armel armhf i386 ppc64el s390x],
ocaml-findlib [amd64 arm64 armel armhf i386 ppc64el s390x],
libctypes-ocaml-dev [amd64 arm64 armel armhf i386 ppc64el s390x],
dh-ocaml [amd64 arm64 armel armhf i386 ppc64el s390x],
g++-multilib [amd64 i386 kfreebsd-amd64 mips mips64 mips64el mipsel powerpc ppc64 s390 s390x sparc sparc64 x32]
Build-Conflicts: oprofile, ocaml, libllvm-3.4-ocaml-dev, libllvm-3.5-ocaml-dev,
libllvm-3.8-ocaml-dev, libllvm-3.9-ocaml-dev
@ -341,7 +341,7 @@ Description: Modular compiler and toolchain technologies, tools
Package: libllvm-6.0-ocaml-dev
Section: ocaml
Architecture: amd64 arm64 armel armhf i386
Architecture: amd64 arm64 armel armhf i386 ppc64el s390x
Suggests: llvm-6.0-doc
Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-6.0-dev (= ${binary:Version})
Replaces: libllvm-x.y-ocaml-dev

2
debian/rules vendored
View File

@ -156,7 +156,7 @@ LLD_ENABLE=yes
DH_OPTIONS=
OCAML_ENABLE= no
OCAML_ARCHS := amd64 arm64 armel armhf i386
OCAML_ARCHS := amd64 arm64 armel armhf i386 ppc64el s390x
ifneq (,$(filter $(DEB_HOST_ARCH),$(OCAML_ARCHS)))
# Enable OCAML for this arch.
OCAML_ENABLE=yes