mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 12:58:06 +00:00
Enable lldb on riscv64
It has been supported for a few releases but not enabled on the debian
side.
This should fix the autopkgtest on riscv64
(cherry picked from commit 4cf15e6671
)
This commit is contained in:
parent
1866bfaf3a
commit
143f4a55d6
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,5 +1,6 @@
|
|||||||
llvm-toolchain-19 (1:19.1.0~++rc4-3) UNRELEASED; urgency=medium
|
llvm-toolchain-19 (1:19.1.0~++rc4-3) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
[ Matthias Klose ]
|
||||||
* Consolidate disabling CMake's package validation checks a bit.
|
* Consolidate disabling CMake's package validation checks a bit.
|
||||||
* debian/qualify-clang.sh: Skip OpenMP test, if libomp-dev is not available.
|
* debian/qualify-clang.sh: Skip OpenMP test, if libomp-dev is not available.
|
||||||
* Disable CMake's package validation check for libLLVM.so.1.
|
* Disable CMake's package validation check for libLLVM.so.1.
|
||||||
@ -7,6 +8,9 @@ llvm-toolchain-19 (1:19.1.0~++rc4-3) UNRELEASED; urgency=medium
|
|||||||
* Generate debian/tests/* files.
|
* Generate debian/tests/* files.
|
||||||
* Disable the usage-wrapper/memory tracking by default.
|
* Disable the usage-wrapper/memory tracking by default.
|
||||||
|
|
||||||
|
[ Aurelien Jarno ]
|
||||||
|
* Enable lldb on riscv64.
|
||||||
|
|
||||||
-- Matthias Klose <doko@debian.org> Thu, 05 Sep 2024 10:59:19 +0200
|
-- Matthias Klose <doko@debian.org> Thu, 05 Sep 2024 10:59:19 +0200
|
||||||
|
|
||||||
llvm-toolchain-19 (1:19.1.0~++rc4-2) unstable; urgency=medium
|
llvm-toolchain-19 (1:19.1.0~++rc4-2) unstable; urgency=medium
|
||||||
|
16
debian/control
vendored
16
debian/control
vendored
@ -565,8 +565,8 @@ Description: LLVM-based linker, header files
|
|||||||
# ------------- lldb -------------
|
# ------------- lldb -------------
|
||||||
|
|
||||||
Package: lldb-19
|
Package: lldb-19
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version}),
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version}),
|
||||||
python3-lldb-19
|
python3-lldb-19
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
@ -577,8 +577,8 @@ Description: Next generation, high-performance debugger
|
|||||||
|
|
||||||
Package: liblldb-19
|
Package: liblldb-19
|
||||||
Provides: ${t64:Provides}
|
Provides: ${t64:Provides}
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm19 (= ${binary:Version})
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
Section: libs
|
Section: libs
|
||||||
@ -591,8 +591,8 @@ Description: Next generation, high-performance debugger, library
|
|||||||
|
|
||||||
Package: python3-lldb-19
|
Package: python3-lldb-19
|
||||||
Section: python
|
Section: python
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-19 (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-19 (= ${binary:Version})
|
||||||
Conflicts: python3-lldb-x.y
|
Conflicts: python3-lldb-x.y
|
||||||
Replaces: python3-lldb-x.y
|
Replaces: python3-lldb-x.y
|
||||||
@ -607,8 +607,8 @@ Description: Next generation, high-performance debugger, python3 lib
|
|||||||
|
|
||||||
Package: liblldb-19-dev
|
Package: liblldb-19-dev
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-19 (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-19 (= ${binary:Version})
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
Description: Next generation, high-performance debugger, header files
|
Description: Next generation, high-performance debugger, header files
|
||||||
|
16
debian/control.in
vendored
16
debian/control.in
vendored
@ -565,8 +565,8 @@ Description: LLVM-based linker, header files
|
|||||||
# ------------- lldb -------------
|
# ------------- lldb -------------
|
||||||
|
|
||||||
Package: lldb-@LLVM_VERSION@
|
Package: lldb-@LLVM_VERSION@
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}),
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version}),
|
||||||
python3-lldb-@LLVM_VERSION@
|
python3-lldb-@LLVM_VERSION@
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
@ -577,8 +577,8 @@ Description: Next generation, high-performance debugger
|
|||||||
|
|
||||||
Package: liblldb-@LLVM_VERSION@
|
Package: liblldb-@LLVM_VERSION@
|
||||||
Provides: ${t64:Provides}
|
Provides: ${t64:Provides}
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version})
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
Section: libs
|
Section: libs
|
||||||
@ -591,8 +591,8 @@ Description: Next generation, high-performance debugger, library
|
|||||||
|
|
||||||
Package: python3-lldb-@LLVM_VERSION@
|
Package: python3-lldb-@LLVM_VERSION@
|
||||||
Section: python
|
Section: python
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-@LLVM_VERSION@ (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-@LLVM_VERSION@ (= ${binary:Version})
|
||||||
Conflicts: python3-lldb-x.y
|
Conflicts: python3-lldb-x.y
|
||||||
Replaces: python3-lldb-x.y
|
Replaces: python3-lldb-x.y
|
||||||
@ -607,8 +607,8 @@ Description: Next generation, high-performance debugger, python3 lib
|
|||||||
|
|
||||||
Package: liblldb-@LLVM_VERSION@-dev
|
Package: liblldb-@LLVM_VERSION@-dev
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64
|
Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 loong64 riscv64
|
||||||
# ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed
|
# ia64 hurd powerpc powerpcspe ppc64 alpha s390x sparc64 mipsel mips64el have been removed
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-@LLVM_VERSION@ (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-@LLVM_VERSION@ (= ${binary:Version})
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
Description: Next generation, high-performance debugger, header files
|
Description: Next generation, high-performance debugger, header files
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -482,7 +482,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
LLDB_ENABLE=yes
|
LLDB_ENABLE=yes
|
||||||
LLDB_DISABLE_ARCHS := hurd-amd64 hurd-i386 ia64 powerpc powerpcspe ppc64 riscv64 sparc64 mips64el mipsel
|
LLDB_DISABLE_ARCHS := hurd-amd64 hurd-i386 ia64 powerpc powerpcspe ppc64 sparc64 mips64el mipsel
|
||||||
# hurd has threading issues
|
# hurd has threading issues
|
||||||
ifeq (,$(filter-out $(LLDB_DISABLE_ARCHS), $(DEB_HOST_ARCH)))
|
ifeq (,$(filter-out $(LLDB_DISABLE_ARCHS), $(DEB_HOST_ARCH)))
|
||||||
# Disable LLDB for this arch.
|
# Disable LLDB for this arch.
|
||||||
|
Loading…
Reference in New Issue
Block a user