Merge branch 'py3' into '8'

Compile against Python 3

See merge request pkg-llvm-team/llvm-toolchain!31
This commit is contained in:
Sylvestre Ledru 2019-07-18 19:44:32 +00:00
commit d3ae2b7131
3 changed files with 20 additions and 13 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-8 (1:8.0.1~+rc4-2) unstable; urgency=medium
* Compile against Python 3
(Closes: #931029)
-- Christian Biesinger <cbiesinger@google.com> Thu, 18 Jul 2019 14:13:56 -0500
llvm-toolchain-8 (1:8.0.1~+rc4-1) unstable; urgency=medium
* New snapshot release

24
debian/control vendored
View File

@ -6,13 +6,13 @@ Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Uploaders: Sylvestre Ledru <sylvestre@debian.org>
Build-Depends: debhelper (>= 9.0), cmake, chrpath, texinfo, sharutils,
libffi-dev (>= 3.0.9),
lsb-release, patchutils, diffstat, xz-utils, python-dev,
libedit-dev, libncurses5-dev, swig, python-six, python-sphinx (>= 1.3.6),
lsb-release, patchutils, diffstat, xz-utils, python3-dev,
libedit-dev, libncurses5-dev, swig, python3-six, python3-sphinx (>= 1.3.6),
binutils-dev,
libjsoncpp-dev, pkg-config,
lcov, procps, help2man, zlib1g-dev,
g++-multilib [amd64 i386 kfreebsd-amd64 mips mips64 mips64el mipsel powerpc ppc64 s390 s390x sparc sparc64 x32],
libjs-mathjax, python-recommonmark,
libjs-mathjax, python3-recommonmark,
doxygen, gfortran,
ocaml-nox [amd64 arm64 armhf i386 ppc64el s390x],
ocaml-findlib [amd64 arm64 armhf i386 ppc64el s390x],
@ -33,7 +33,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
${dep:devlibs-objc}, libclang-common-8-dev (= ${binary:Version}),
libclang1-8 (= ${binary:Version}), libc6-dev, binutils
Provides: c-compiler, objc-compiler, c++-compiler
Recommends: llvm-8-dev, python, libomp-8-dev
Recommends: llvm-8-dev, python3, libomp-8-dev
Suggests: clang-8-doc
Description: C, C++ and Objective-C compiler
Clang project is a C, C++, Objective C and Objective C++ front-end
@ -46,7 +46,7 @@ Description: C, C++ and Objective-C compiler
Package: clang-tools-8
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, clang-8 (= ${binary:Version}),
python
python3
Description: clang-based tools for C/C++ developments
Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the
@ -60,7 +60,7 @@ Description: clang-based tools for C/C++ developments
Package: clang-format-8
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python,
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
libllvm8 (= ${binary:Version})
Description: Tool to format C/C++/Obj-C code
Clang-format is both a library and a stand-alone tool with the goal of
@ -76,9 +76,9 @@ Description: Tool to format C/C++/Obj-C code
Package: clang-tidy-8
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python,
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
libllvm8 (= ${binary:Version}), libclang-common-8-dev,
clang-tools-8, python-yaml
clang-tools-8, python3-yaml
Replaces: clang-modernize-8, clang-8 (<< 8~svn250696-1)
Breaks: clang-modernize-8, clang-8 (<< 8~svn250696-1)
Description: clang-based C++ linter tool
@ -179,7 +179,7 @@ Description: Library for coverage-guided fuzz testing
Package: python-clang-8
Section: python
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python
Depends: ${shlibs:Depends}, ${misc:Depends}, python3
Replaces: python-clang-3.8, python-clang-3.9, python-clang-x.y
Breaks: python-clang-3.8, python-clang-3.9
Conflicts: python-clang-x.y
@ -295,8 +295,8 @@ Description: Modular compiler and toolchain technologies, libraries and headers
Package: llvm-8-tools
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python,
python-pygments, python-yaml,
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
python3-pygments, python3-yaml,
llvm-8-dev (= ${binary:Version})
Description: Modular compiler and toolchain technologies, tools
LLVM is a collection of libraries and tools that make it easy to build
@ -448,7 +448,7 @@ Package: python-lldb-8
Section: python
Architecture: amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 sparc hppa m68k sh4 x32
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 have been removed
Depends: ${shlibs:Depends}, ${misc:Depends}, python, python-six
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, python3-six
Conflicts: python-lldb-3.8, python-lldb-3.9, python-lldb-x.y
Replaces: python-lldb-x.y
Provides: python-lldb-x.y

2
debian/rules vendored
View File

@ -40,7 +40,7 @@ LDFLAGS_EXTRA =
CXXFLAGS_EXTRA =
CFLAGS_EXTRA =
CONFIGURE_EXTRA =
CMAKE_EXTRA =
CMAKE_EXTRA = -DPYTHON_EXECUTABLE=/usr/bin/python3
BASE_PATH := $(CURDIR)
LIBCXX_EXCEPTIONS :=ON