diff --git a/debian/control b/debian/control index d0a1d1df..b74bfd5e 100644 --- a/debian/control +++ b/debian/control @@ -13,10 +13,10 @@ Build-Depends: debhelper (>= 9.0), cmake, chrpath, texinfo, sharutils, g++-multilib [amd64 i386 kfreebsd-amd64 mips mips64 mips64el mipsel powerpc ppc64 s390 s390x sparc sparc64 x32], libjs-mathjax, doxygen, gfortran -# 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], + 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], Build-Conflicts: oprofile, ocaml, libllvm-3.8-ocaml-dev, libllvm-3.9-ocaml-dev Standards-Version: 4.2.1 Homepage: https://www.llvm.org/ @@ -323,28 +323,28 @@ Description: Modular compiler and toolchain technologies, tools . This package provides tools for testing. -# Package: libllvm-7-ocaml-dev -# Section: ocaml -# Architecture: amd64 arm64 armel armhf i386 ppc64el s390x -# Suggests: llvm-7-doc -# Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-7-dev (= ${binary:Version}) -# Replaces: libllvm-x.y-ocaml-dev -# Conflicts: libllvm-x.y-ocaml-dev -# Provides: ${ocaml:Provides}, libllvm-x.y-ocaml-dev -# Description: Modular compiler and toolchain technologies, OCaml bindings -# LLVM is a collection of libraries and tools that make it easy to build -# compilers, optimizers, just-in-time code generators, and many other -# compiler-related programs. -# . -# LLVM uses a single, language-independent virtual instruction set both -# as an offline code representation (to communicate code between -# compiler phases and to run-time systems) and as the compiler internal -# representation (to analyze and transform programs). This persistent -# code representation allows a common set of sophisticated compiler -# techniques to be applied at compile-time, link-time, install-time, -# run-time, or "idle-time" (between program runs). -# . -# This package provides the OCaml bindings to develop applications using llvm. +Package: libllvm-7-ocaml-dev +Section: ocaml +Architecture: amd64 arm64 armel armhf i386 ppc64el s390x +Suggests: llvm-7-doc +Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-7-dev (= ${binary:Version}) +Replaces: libllvm-x.y-ocaml-dev +Conflicts: libllvm-x.y-ocaml-dev +Provides: ${ocaml:Provides}, libllvm-x.y-ocaml-dev +Description: Modular compiler and toolchain technologies, OCaml bindings + LLVM is a collection of libraries and tools that make it easy to build + compilers, optimizers, just-in-time code generators, and many other + compiler-related programs. + . + LLVM uses a single, language-independent virtual instruction set both + as an offline code representation (to communicate code between + compiler phases and to run-time systems) and as the compiler internal + representation (to analyze and transform programs). This persistent + code representation allows a common set of sophisticated compiler + techniques to be applied at compile-time, link-time, install-time, + run-time, or "idle-time" (between program runs). + . + This package provides the OCaml bindings to develop applications using llvm. Package: llvm-7-doc Section: doc diff --git a/debian/rules b/debian/rules index c8b4de02..05a32d68 100755 --- a/debian/rules +++ b/debian/rules @@ -188,12 +188,12 @@ OCAML_ENABLE= no OCAML_ARCHS := amd64 arm64 armel armhf i386 ppc64el s390x ifneq (,$(filter $(DEB_HOST_ARCH),$(OCAML_ARCHS))) # Enable OCAML for this arch. - # OCAML_ENABLE=yes - # OCAML_STDLIB_DIR ?= $(shell ocamlc -where) - # DH_OPTIONS=--with ocaml + OCAML_ENABLE=yes + OCAML_STDLIB_DIR ?= $(shell ocamlc -where) + DH_OPTIONS=--with ocaml endif # Force the deactivation of ocaml until the transition is done -OCAML_ENABLE=no +#OCAML_ENABLE=no LIBFUZZER_ENABLE=yes ifeq (,$(filter $(DEB_HOST_ARCH_OS),linux))