From bc173cfa883f666e573906cb28135bf77a2e1c78 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 4 Sep 2016 12:25:55 +0000 Subject: [PATCH] Build lldb on arm64. Hopefully, works. --- debian/changelog | 1 + debian/control | 10 +++++----- debian/rules | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 62270c0f..19ea3966 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ llvm-toolchain-3.8 (1:3.8.1-10) UNRELEASED; urgency=medium (Closes: #835606) * Port to kfreebsd. Many thanks to Pino Toscano (Closes: #835665) + * Build lldb on arm64. Hopefully, works. -- Sylvestre Ledru Sat, 27 Aug 2016 17:36:06 +0200 diff --git a/debian/control b/debian/control index 7ad67cbf..13c6abf4 100644 --- a/debian/control +++ b/debian/control @@ -393,7 +393,7 @@ Description: Modular compiler and toolchain technologies, examples # ------------- lldb ------------- Package: lldb-3.8 -Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel +Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel arm64 # ia64 hurd powerpc ppc64el sparc64 ppc64 mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm3.8 (= ${binary:Version}), llvm-3.8-dev Suggests: python-lldb-3.8 @@ -405,7 +405,7 @@ Description: Next generation, high-performance debugger Project, such as the Clang expression parser and LLVM disassembler. Package: liblldb-3.8 -Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel +Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel arm64 # ia64 hurd powerpc ppc64el sparc64 ppc64 mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm3.8 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} @@ -420,7 +420,7 @@ Description: Next generation, high-performance debugger, library This package contains the LLDB runtime library. Package: liblldb-3.8-dbg -Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc hppa m68k powerpcspe sh4 x32 mips mipsel +Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc hppa m68k powerpcspe sh4 x32 mips mipsel arm64 # ia64 hurd ppc64el alpha s390x powerpc sparc64 ppc64 mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, liblldb-3.8 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} @@ -436,7 +436,7 @@ Description: Next generation, high-performance debugger, debugging libraries Package: python-lldb-3.8 Section: python -Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel +Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel arm64 Depends: ${shlibs:Depends}, ${misc:Depends}, liblldb-3.8-dev, python, python-six Conflicts: python-lldb-3.4, python-lldb-3.5, python-lldb-3.6, python-lldb-3.7 Pre-Depends: ${misc:Pre-Depends} @@ -450,7 +450,7 @@ Description: Next generation, high-performance debugger, python lib Package: liblldb-3.8-dev Section: libdevel -Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel +Architecture: amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe sh4 x32 mips mipsel arm64 # ia64 hurd powerpc ppc64el sparc64 ppc64 mips64el have been removed Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-3.8 (= ${binary:Version}) Replaces: lldb-3.8-dev (<= 1:3.8~svn215195-2) diff --git a/debian/rules b/debian/rules index 2776af52..341fd346 100755 --- a/debian/rules +++ b/debian/rules @@ -124,7 +124,7 @@ endif LLDB_ENABLE=yes -LLDB_DISABLE_ARCHS := arm64 hurd-i386 ia64 ppc64el powerpc s390x sparc64 ppc64 mips64el +LLDB_DISABLE_ARCHS := hurd-i386 ia64 ppc64el powerpc s390x sparc64 ppc64 mips64el # hurd has threading issues ifeq (,$(filter-out $(LLDB_DISABLE_ARCHS), $(DEB_HOST_ARCH))) # Disable LLDB for this arch.