From 11a2f531999be51146d20f45836c898120b720d7 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 2 Feb 2022 21:35:25 +0100 Subject: [PATCH] snapshot is now 15. 14 is in it own branch now --- debian/changelog | 2 +- debian/control | 186 +++++++++--------- .../patches/clang-analyzer-force-version.diff | 10 +- debian/patches/clang-format-version.diff | 24 +-- debian/patches/clang-tidy-run-bin.diff | 10 +- debian/patches/fix-scan-view-path.diff | 8 +- debian/patches/lldb-libname.diff | 8 +- ...ddversion-suffix-to-llvm-server-exec.patch | 6 +- debian/patches/python-clangpath.diff | 8 +- debian/patches/scan-build-clang-path.diff | 10 +- .../scan-build-py-fix-default-bin.diff | 8 +- debian/tests/cmake-test | 2 +- debian/tests/control | 8 +- debian/tests/integration-test-suite-test | 2 +- debian/unpack.sh | 2 +- 15 files changed, 147 insertions(+), 147 deletions(-) diff --git a/debian/changelog b/debian/changelog index fa822792..a5f0fac7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ llvm-toolchain-snapshot (1:14~++20220128082735+c962b3fdf8dd-1~exp1) UNRELEASED; urgency=medium - * experimental New snapshot release + * snapshot is now 15. 14 is in it own branch now * Ship clang-linker-wrapper in clang-tools-X.Y -- Sylvestre Ledru Fri, 28 Jan 2022 08:27:53 +0100 diff --git a/debian/control b/debian/control index 9cbf1b0b..33ab31f2 100644 --- a/debian/control +++ b/debian/control @@ -33,16 +33,16 @@ Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/snapshot # ------------- clang ------------- -Package: clang-14 +Package: clang-15 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, - ${dep:devlibs-objc}, libclang-common-14-dev (= ${binary:Version}), - llvm-14-linker-tools (= ${binary:Version}), - libclang1-14 (= ${binary:Version}), libc6-dev, binutils + ${dep:devlibs-objc}, libclang-common-15-dev (= ${binary:Version}), + llvm-15-linker-tools (= ${binary:Version}), + libclang1-15 (= ${binary:Version}), libc6-dev, binutils Provides: c-compiler, objc-compiler, c++-compiler -Recommends: llvm-14-dev, python3 -# libomp-14-dev -Suggests: clang-14-doc +Recommends: llvm-15-dev, python3 +# libomp-15-dev +Suggests: clang-15-doc Description: C, C++ and Objective-C compiler 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 @@ -51,9 +51,9 @@ Description: C, C++ and Objective-C compiler Clang implements all of the ISO C++ 1998, 11, 14 and 17 standards and also provides most of the support of C++20. -Package: clang-tools-14 +Package: clang-tools-15 Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, clang-14 (= ${binary:Version}), +Depends: ${shlibs:Depends}, ${misc:Depends}, clang-15 (= ${binary:Version}), python3 Description: clang-based tools for C/C++ developments Clang project is a C, C++, Objective C and Objective C++ front-end @@ -65,10 +65,10 @@ Description: clang-based tools for C/C++ developments . This package contains some clang-based tools like scan-build, clang-cl, etc. -Package: clang-format-14 +Package: clang-format-15 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python3, - libllvm14 (= ${binary:Version}) + libllvm15 (= ${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 automatically reformatting C++ sources files according to configurable @@ -81,21 +81,21 @@ Description: Tool to format C/C++/Obj-C code . This package also provides vim and emacs plugins. -Package: clang-tidy-14 +Package: clang-tidy-15 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python3, - libllvm14 (= ${binary:Version}), libclang-common-14-dev, - clang-tools-14, python3-yaml + libllvm15 (= ${binary:Version}), libclang-common-15-dev, + clang-tools-15, python3-yaml Description: clang-based C++ linter tool Provide an extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis. clang-tidy is modular and provides a convenient interface for writing new checks. -Package: clangd-14 +Package: clangd-15 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - libclang-common-14-dev (= ${binary:Version}) + libclang-common-15-dev (= ${binary:Version}) Description: Language server that provides IDE-like features to editors clangd understands your C++ code and adds smart features to your editor: - code completion @@ -106,7 +106,7 @@ Description: Language server that provides IDE-like features to editors clangd is a language server that implements the Language Server Protocol; it can work with many editors through a plugin. -Package: clang-14-doc +Package: clang-15-doc Architecture: all Section: doc Depends: ${shlibs:Depends}, ${misc:Depends}, libjs-mathjax @@ -120,7 +120,7 @@ Description: C, C++ and Objective-C compiler - Documentation . This package contains the documentation. -Package: libclang1-14 +Package: libclang1-15 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} @@ -141,12 +141,12 @@ Description: C interface to the Clang library locations with elements within the AST, and other facilities that support Clang-based development tools. -Package: libclang-14-dev +Package: libclang-15-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, - ${dep:devlibs-objc}, libclang1-14 (= ${binary:Version}), - libclang-common-14-dev (= ${binary:Version}) + ${dep:devlibs-objc}, libclang1-15 (= ${binary:Version}), + libclang-common-15-dev (= ${binary:Version}) Description: Clang library - Development package 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 @@ -156,12 +156,12 @@ Description: Clang library - Development package provides most of the support of C++20. . This package contains the Clang headers to develop extensions over - libclang1-14. + libclang1-15. -Package: libclang-common-14-dev +Package: libclang-common-15-dev Architecture: any Section: libdevel -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm15 (= ${binary:Version}) Description: Clang library - Common development package 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 @@ -173,10 +173,10 @@ Description: Clang library - Common development package This package contains the Clang generic headers and some libraries (profiling, etc). -Package: libclang-cpp14 +Package: libclang-cpp15 Section: libs Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm15 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: C++ interface to the Clang library Clang project is a C, C++, Objective C and Objective C++ front-end @@ -194,12 +194,12 @@ Description: C++ interface to the Clang library locations with elements within the AST, and other facilities that support Clang-based development tools. -Package: libclang-cpp14-dev +Package: libclang-cpp15-dev Architecture: any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs}, - libclang-cpp14 (= ${binary:Version}) -# Move of libclang-cpp.so into libclang-cpp14.dev + libclang-cpp15 (= ${binary:Version}) +# Move of libclang-cpp.so into libclang-cpp15.dev Description: C++ interface to the Clang library 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 @@ -220,10 +220,10 @@ Description: C++ interface to the Clang library linker at build time. -Package: libfuzzer-14-dev +Package: libfuzzer-15-dev Architecture: linux-any Section: libdevel -Depends: ${shlibs:Depends}, ${misc:Depends}, clang-14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, clang-15 (= ${binary:Version}) Description: Library for coverage-guided fuzz testing LibFuzzer is a library for in-process, coverage-guided, evolutionary fuzzing of other libraries. @@ -241,10 +241,10 @@ Description: Library for coverage-guided fuzz testing instrumentation. -Package: python3-clang-14 +Package: python3-clang-15 Section: python Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, python3, libclang-14-dev +Depends: ${shlibs:Depends}, ${misc:Depends}, python3, libclang-15-dev Replaces: python-clang-x.y, Conflicts: python-clang-x.y Provides: python-clang-x.y @@ -258,7 +258,7 @@ Description: Clang Python Bindings . This binding package provides access to the Clang compiler and libraries. -Package: clang-14-examples +Package: clang-15-examples Architecture: any Section: doc Depends: ${shlibs:Depends}, ${misc:Depends} @@ -274,7 +274,7 @@ Description: Clang examples # ------------- LLVM ------------- -Package: libllvm14 +Package: libllvm15 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} @@ -287,7 +287,7 @@ Description: Modular compiler and toolchain technologies, runtime library . This package contains the LLVM runtime library. -Package: llvm-14-linker-tools +Package: llvm-15-linker-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Modular compiler and toolchain technologies - Plugins @@ -297,13 +297,13 @@ Description: Modular compiler and toolchain technologies - Plugins . This package contains the LLVMgold and LLVMPolly linker plugins. -Package: llvm-14 +Package: llvm-15 Architecture: any -Suggests: llvm-14-doc -Depends: llvm-14-runtime (= ${binary:Version}), - llvm-14-linker-tools (= ${binary:Version}), +Suggests: llvm-15-doc +Depends: llvm-15-runtime (= ${binary:Version}), + llvm-15-linker-tools (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Recommends: llvm-14-dev +Recommends: llvm-15-dev Description: Modular compiler and toolchain technologies LLVM is a collection of libraries and tools that make it easy to build compilers, optimizers, just-in-time code generators, and many other @@ -327,7 +327,7 @@ Description: Modular compiler and toolchain technologies a young scheme front-end, and Java support is in development. LLVM can generate code for X96, SparcV10, PowerPC or many other architectures. -Package: llvm-14-runtime +Package: llvm-15-runtime Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: binfmt-support @@ -347,11 +347,11 @@ Description: Modular compiler and toolchain technologies, IR interpreter This package provides the minimal required to execute programs in LLVM format. -Package: llvm-14-dev +Package: llvm-15-dev Architecture: any Depends: ${shlibs:Depends}, libffi-dev, ${misc:Depends}, - llvm-14 (= ${binary:Version}), libllvm14 (= ${binary:Version}), libtinfo-dev, - llvm-14-tools (= ${binary:Version}), libclang-cpp14 (= ${binary:Version}), + llvm-15 (= ${binary:Version}), libllvm15 (= ${binary:Version}), libtinfo-dev, + llvm-15-tools (= ${binary:Version}), libclang-cpp15 (= ${binary:Version}), libz3-dev, libxml2-dev Description: Modular compiler and toolchain technologies, libraries and headers LLVM is a collection of libraries and tools that make it easy to build @@ -369,7 +369,7 @@ Description: Modular compiler and toolchain technologies, libraries and headers This package provides the libraries and headers to develop applications using llvm. -Package: llvm-14-tools +Package: llvm-15-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python3, python3-pygments, python3-yaml, @@ -389,11 +389,11 @@ Description: Modular compiler and toolchain technologies, tools . This package provides tools for testing. -Package: libllvm-14-ocaml-dev +Package: libllvm-15-ocaml-dev Section: ocaml Architecture: amd64 arm64 armhf ppc64el s390x riscv64 -Suggests: llvm-14-doc -Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-14-dev (= ${binary:Version}) +Suggests: llvm-15-doc +Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends}, llvm-15-dev (= ${binary:Version}) Replaces: libllvm-x.y-ocaml-dev Conflicts: libllvm-x.y-ocaml-dev Provides: ${ocaml:Provides}, libllvm-x.y-ocaml-dev @@ -412,7 +412,7 @@ Description: Modular compiler and toolchain technologies, OCaml bindings . This package provides the OCaml bindings to develop applications using llvm. -Package: llvm-14-doc +Package: llvm-15-doc Section: doc Architecture: all Depends: ${misc:Depends}, libjs-jquery, libjs-underscore @@ -431,10 +431,10 @@ Description: Modular compiler and toolchain technologies, documentation . This package contains all documentation (extensive). -Package: llvm-14-examples +Package: llvm-15-examples Section: doc Architecture: all -Depends: ${misc:Depends}, llvm-14-dev (>= ${source:Version}), llvm-14-dev (<< ${source:Version}+c~) +Depends: ${misc:Depends}, llvm-15-dev (>= ${source:Version}), llvm-15-dev (<< ${source:Version}+c~) Description: Modular compiler and toolchain technologies, examples LLVM is a collection of libraries and tools that make it easy to build compilers, optimizers, just-in-time code generators, and many other @@ -454,20 +454,20 @@ Description: Modular compiler and toolchain technologies, examples # ------------- lld ------------- -Package: lld-14 +Package: lld-15 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 # ia64 hurd powerpc have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm15 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: LLVM-based linker LLD is a new, high-performance linker. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project. -Package: liblld-14 +Package: liblld-15 Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 # ia64 hurd powerpc have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm15 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Section: libs Description: LLVM-based linker, library @@ -477,12 +477,12 @@ Description: LLVM-based linker, library . This package contains the LLD runtime library. -Package: liblld-14-dev +Package: liblld-15-dev Section: libdevel Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 riscv64 # ia64 hurd powerpc have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, lld-14 (= ${binary:Version}), - liblld-14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, lld-15 (= ${binary:Version}), + liblld-15 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: LLVM-based linker, header files LLD is a new, high-performance linker. It is built as a set of reusable @@ -494,21 +494,21 @@ Description: LLVM-based linker, header files # ------------- lldb ------------- -Package: lldb-14 +Package: lldb-15 Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 # ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm14 (= ${binary:Version}), llvm-14-dev, - python3-lldb-14 +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm15 (= ${binary:Version}), llvm-15-dev, + python3-lldb-15 Pre-Depends: ${misc:Pre-Depends} Description: Next generation, high-performance debugger LLDB is a next generation, high-performance debugger. It is built as a set of reusable components which highly leverage existing libraries in the larger LLVM Project, such as the Clang expression parser and LLVM disassembler. -Package: liblldb-14 +Package: liblldb-15 Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 # ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm15 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Section: libs Description: Next generation, high-performance debugger, library @@ -518,11 +518,11 @@ Description: Next generation, high-performance debugger, library . This package contains the LLDB runtime library. -Package: python3-lldb-14 +Package: python3-lldb-15 Section: python Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 # ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-14 (= ${binary:Version}), python3-six +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, liblldb-15 (= ${binary:Version}), python3-six Conflicts: python3-lldb-x.y Replaces: python3-lldb-x.y Provides: python3-lldb-x.y @@ -534,11 +534,11 @@ Description: Next generation, high-performance debugger, python3 lib . This binding package provides access to lldb. -Package: liblldb-14-dev +Package: liblldb-15-dev Section: libdevel Architecture: amd64 arm64 armel armhf i386 ppc64el kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc hppa m68k sh4 x32 # ia64 hurd powerpc powerpcspe ppc64 alpha riscv64 s390x sparc64 mipsel mips64el have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-14 (= ${binary:Version}) +Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-15 (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: Next generation, high-performance debugger, header files LLDB is a next generation, high-performance debugger. It is built as a set of @@ -552,21 +552,21 @@ Description: Next generation, high-performance debugger, header files # 44 because it was the first version in which openmp & libc++ have been # managed in llvm-defaults -Package: libomp-14-dev +Package: libomp-15-dev Section: libdevel Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 -Depends: libomp5-14 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Suggests: libomp-14-doc -Breaks: libiomp-dev (<< 3.7-1), libomp-dev (<< 44), llvm-14 (<< 1:14~++20211011113307+f7ca54289c14) +Depends: libomp5-15 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: libomp-15-doc +Breaks: libiomp-dev (<< 3.7-1), libomp-dev (<< 44) Provides: libomp-x.y-dev Conflicts: libomp-x.y-dev -Replaces: libomp-x.y-dev, llvm-14 (<< 1:14~++20211011113307+f7ca54289c14) +Replaces: libomp-x.y-dev Description: LLVM OpenMP runtime - dev package The runtime is the part of the OpenMP implementation that your code is linked against, and that manages the multiple threads in an OpenMP program while it is executing. -Package: libomp5-14 +Package: libomp5-15 Multi-Arch: same Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 Depends: ${shlibs:Depends}, ${misc:Depends} @@ -579,7 +579,7 @@ Description: LLVM OpenMP runtime linked against, and that manages the multiple threads in an OpenMP program while it is executing. -Package: libomp-14-doc +Package: libomp-15-doc Section: doc Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 Depends: ${shlibs:Depends}, ${misc:Depends}, libjs-jquery @@ -594,7 +594,7 @@ Description: LLVM OpenMP runtime - Documentation # ------------- libcxx ------------- -Package: libc++1-14 +Package: libc++1-15 Section: libs Architecture: any Multi-Arch: same @@ -618,12 +618,12 @@ Description: LLVM C++ Standard library as exception objects, rtti and memory allocation. * Extensive unit tests. -Package: libc++-14-dev +Package: libc++-15-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libc++1-14 (= ${binary:Version}), ${misc:Depends}, - libunwind-14-dev [amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64] +Depends: libc++1-15 (= ${binary:Version}), ${misc:Depends}, + libunwind-15-dev [amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64] Breaks: libc++-dev (<< 44) Provides: libc++-x.y-dev Conflicts: libc++-x.y-dev @@ -643,7 +643,7 @@ Description: LLVM C++ Standard library (development files) # ------------- libcxxabi ------------- -Package: libc++abi1-14 +Package: libc++abi1-15 Section: libs Architecture: any Multi-Arch: same @@ -662,11 +662,11 @@ Description: LLVM low level support for a standard C++ library * Correctness as defined by the C++ standards. * Provide a portable sublayer to ease the porting of libc++ -Package: libc++abi-14-dev +Package: libc++abi-15-dev Section: libdevel Architecture: any Multi-Arch: same -Depends: libc++abi1-14 (= ${binary:Version}), ${misc:Depends} +Depends: libc++abi1-15 (= ${binary:Version}), ${misc:Depends} Breaks: libc++abi-dev (<= 44) Provides: libc++abi-x.y-dev Conflicts: libc++abi-x.y-dev @@ -682,14 +682,14 @@ Description: LLVM low level support for a standard C++ library (development file # ------------- libclc ------------- -Package: libclc-14 +Package: libclc-15 Section: libs Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, - libclc-14-dev (= ${binary:Version}), - libclang-common-14-dev, + libclc-15-dev (= ${binary:Version}), + libclang-common-15-dev, Breaks: libclc-amdgcn, libclc-ptx, libclc-r600 Provides: libclc-x.y Conflicts: libclc-x.y @@ -701,7 +701,7 @@ Description: OpenCL C language implementation - platform support This package contains support for the amdgcn (AMD GPU), PTX and r600 platforms. -Package: libclc-14-dev +Package: libclc-15-dev Section: libdevel Architecture: all Multi-Arch: foreign @@ -719,7 +719,7 @@ Description: OpenCL C language implementation - development files # ------------- libunwind ------------- -Package: libunwind-14 +Package: libunwind-15 Section: libs Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 Multi-Arch: same @@ -736,13 +736,13 @@ Description: production-quality unwinder or to operate on another process (aka remote), but only the local path has been implemented. Remote unwinding remains as future work. -Package: libunwind-14-dev +Package: libunwind-15-dev Section: libdevel Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64 Multi-Arch: same Depends: ${misc:Depends}, - libunwind-14 (= ${binary:Version}) + libunwind-15 (= ${binary:Version}) Breaks: libunwind-dev Provides: libunwind-x.y-dev Conflicts: libunwind-x.y-dev @@ -757,7 +757,7 @@ Description: production-quality unwinder # ------------- mlir ------------- -Package: mlir-14-tools +Package: mlir-15-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Multi-Level Intermediate Representation tools @@ -768,7 +768,7 @@ Description: Multi-Level Intermediate Representation tools . This package provides tools. -Package: libmlir-14 +Package: libmlir-15 Section: libs Architecture: any Multi-Arch: same @@ -784,13 +784,13 @@ Description: Multi-Level Intermediate Representation library specific compilers, and aid in connecting existing compilers together. -Package: libmlir-14-dev +Package: libmlir-15-dev Section: libdevel Architecture: any Multi-Arch: same Depends: ${misc:Depends}, - libmlir-14 (= ${binary:Version}) + libmlir-15 (= ${binary:Version}) Breaks: libmlir-dev Provides: libmlir-x.y-dev Conflicts: libmlir-x.y-dev diff --git a/debian/patches/clang-analyzer-force-version.diff b/debian/patches/clang-analyzer-force-version.diff index e69b2a84..72de0da0 100644 --- a/debian/patches/clang-analyzer-force-version.diff +++ b/debian/patches/clang-analyzer-force-version.diff @@ -1,16 +1,16 @@ # Force the version of clang in the analyzer # This was causing the static analyzer to fail silently if the clang & clang++ are # not installed -Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/libexec/ccc-analyzer +Index: llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang/tools/scan-build/libexec/ccc-analyzer =================================================================== ---- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/tools/scan-build/libexec/ccc-analyzer -+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/libexec/ccc-analyzer +--- llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415.orig/clang/tools/scan-build/libexec/ccc-analyzer ++++ llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang/tools/scan-build/libexec/ccc-analyzer @@ -93,7 +93,7 @@ if ($FindBin::Script =~ /c\+\+-analyzer/ if (!defined $Compiler || (! -x $Compiler && ! SearchInPath($Compiler))) { $Compiler = $DefaultCXXCompiler; } $Clang = $ENV{'CLANG_CXX'}; - if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++'; } -+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++-14'; } ++ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang++-15'; } $IsCXX = 1 } @@ -19,7 +19,7 @@ Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan $Clang = $ENV{'CLANG'}; - if (!defined $Clang || ! -x $Clang) { $Clang = 'clang'; } -+ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang-14'; } ++ if (!defined $Clang || ! -x $Clang) { $Clang = 'clang-15'; } $IsCXX = 0 } diff --git a/debian/patches/clang-format-version.diff b/debian/patches/clang-format-version.diff index 7062717b..068e84be 100644 --- a/debian/patches/clang-format-version.diff +++ b/debian/patches/clang-format-version.diff @@ -4,42 +4,42 @@ clang/tools/clang-format/clang-format.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -Index: llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382/clang/tools/clang-format/clang-format-diff.py +Index: llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382/clang/tools/clang-format/clang-format-diff.py =================================================================== ---- llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382.orig/clang/tools/clang-format/clang-format-diff.py -+++ llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382/clang/tools/clang-format/clang-format-diff.py +--- llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382.orig/clang/tools/clang-format/clang-format-diff.py ++++ llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382/clang/tools/clang-format/clang-format-diff.py @@ -63,7 +63,7 @@ def main(): 'fallback in case clang-format is invoked with' '-style=file, but can not find the .clang-format' 'file to use.') - parser.add_argument('-binary', default='clang-format', -+ parser.add_argument('-binary', default='clang-format-14', ++ parser.add_argument('-binary', default='clang-format-15', help='location of binary to use for clang-format') args = parser.parse_args() -Index: llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382/clang/tools/clang-format/clang-format.el +Index: llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382/clang/tools/clang-format/clang-format.el =================================================================== ---- llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382.orig/clang/tools/clang-format/clang-format.el -+++ llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382/clang/tools/clang-format/clang-format.el +--- llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382.orig/clang/tools/clang-format/clang-format.el ++++ llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382/clang/tools/clang-format/clang-format.el @@ -37,7 +37,7 @@ :group 'tools) (defcustom clang-format-executable - (or (executable-find "clang-format") -+ (or (executable-find "clang-format-14") ++ (or (executable-find "clang-format-15") "clang-format") "Location of the clang-format executable. -Index: llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382/clang/tools/clang-format/clang-format.py +Index: llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382/clang/tools/clang-format/clang-format.py =================================================================== ---- llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382.orig/clang/tools/clang-format/clang-format.py -+++ llvm-toolchain-snapshot_14~++20210910110407+146ec74a8382/clang/tools/clang-format/clang-format.py +--- llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382.orig/clang/tools/clang-format/clang-format.py ++++ llvm-toolchain-snapshot_15~++20210910110407+156ec74a8382/clang/tools/clang-format/clang-format.py @@ -48,7 +48,7 @@ import vim # set g:clang_format_path to the path to clang-format if it is not on the path # Change this to the full path if clang-format is not on the path. -binary = 'clang-format' -+binary = 'clang-format-14' ++binary = 'clang-format-15' if vim.eval('exists("g:clang_format_path")') == "1": binary = vim.eval('g:clang_format_path') diff --git a/debian/patches/clang-tidy-run-bin.diff b/debian/patches/clang-tidy-run-bin.diff index e3d33a2d..a9f7b05b 100644 --- a/debian/patches/clang-tidy-run-bin.diff +++ b/debian/patches/clang-tidy-run-bin.diff @@ -1,17 +1,17 @@ -Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py +Index: llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py =================================================================== ---- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py -+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py +--- llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415.orig/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py ++++ llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py @@ -194,10 +194,10 @@ def main(): action='store_true', help='allow alpha checkers from ' 'clang-analyzer.') parser.add_argument('-clang-tidy-binary', metavar='PATH', - default='clang-tidy', -+ default='clang-tidy-14', ++ default='clang-tidy-15', help='path to clang-tidy binary') parser.add_argument('-clang-apply-replacements-binary', metavar='PATH', - default='clang-apply-replacements', -+ default='clang-apply-replacements-14', ++ default='clang-apply-replacements-15', help='path to clang-apply-replacements binary') parser.add_argument('-checks', default=None, help='checks filter, when not specified, use clang-tidy ' diff --git a/debian/patches/fix-scan-view-path.diff b/debian/patches/fix-scan-view-path.diff index a85929ed..0ed73fe6 100644 --- a/debian/patches/fix-scan-view-path.diff +++ b/debian/patches/fix-scan-view-path.diff @@ -1,12 +1,12 @@ -Index: llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/tools/scan-view/bin/scan-view +Index: llvm-toolchain-snapshot_15~++20200326152000+4673699a470/clang/tools/scan-view/bin/scan-view =================================================================== ---- llvm-toolchain-snapshot_14~++20200326142000+4673699a470.orig/clang/tools/scan-view/bin/scan-view -+++ llvm-toolchain-snapshot_14~++20200326142000+4673699a470/clang/tools/scan-view/bin/scan-view +--- llvm-toolchain-snapshot_15~++20200326152000+4673699a470.orig/clang/tools/scan-view/bin/scan-view ++++ llvm-toolchain-snapshot_15~++20200326152000+4673699a470/clang/tools/scan-view/bin/scan-view @@ -28,6 +28,7 @@ kDefaultPort = 8181 kMaxPortsToTry = 100 ### -+BASE_DIR = '/usr/share/clang/scan-view-14' ++BASE_DIR = '/usr/share/clang/scan-view-15' def url_is_up(url): diff --git a/debian/patches/lldb-libname.diff b/debian/patches/lldb-libname.diff index 3416ea38..feb99140 100644 --- a/debian/patches/lldb-libname.diff +++ b/debian/patches/lldb-libname.diff @@ -2,16 +2,16 @@ lldb/scripts/Python/finishSwigPythonLLDB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: llvm-toolchain-snapshot_14~svn3314515/lldb/scripts/Python/finishSwigPythonLLDB.py +Index: llvm-toolchain-snapshot_15~svn3315515/lldb/scripts/Python/finishSwigPythonLLDB.py =================================================================== ---- llvm-toolchain-snapshot_14~svn3314515.orig/lldb/scripts/Python/finishSwigPythonLLDB.py -+++ llvm-toolchain-snapshot_14~svn3314515/lldb/scripts/Python/finishSwigPythonLLDB.py +--- llvm-toolchain-snapshot_15~svn3315515.orig/lldb/scripts/Python/finishSwigPythonLLDB.py ++++ llvm-toolchain-snapshot_15~svn3315515/lldb/scripts/Python/finishSwigPythonLLDB.py @@ -443,7 +443,7 @@ def make_symlink_liblldb( if eOSType == utilsOsType.EnumOsType.Darwin: strLibFileExtn = ".dylib" else: - strLibFileExtn = ".so" -+ strLibFileExtn = "-14.so" ++ strLibFileExtn = "-15.so" strSrc = os.path.join(vstrLldbLibDir, "liblldb" + strLibFileExtn) bOk, strErrMsg = make_symlink( diff --git a/debian/patches/lldb/lldb-addversion-suffix-to-llvm-server-exec.patch b/debian/patches/lldb/lldb-addversion-suffix-to-llvm-server-exec.patch index 2c198053..dd3ff624 100644 --- a/debian/patches/lldb/lldb-addversion-suffix-to-llvm-server-exec.patch +++ b/debian/patches/lldb/lldb-addversion-suffix-to-llvm-server-exec.patch @@ -12,10 +12,10 @@ which could then break something else. This probably should have upstream bug but I couldn't find any existing report. -Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +Index: llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp =================================================================== ---- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp -+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +--- llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415.orig/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp ++++ llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -34,6 +34,7 @@ #include "lldb/Utility/StreamString.h" #include "llvm/ADT/SmallString.h" diff --git a/debian/patches/python-clangpath.diff b/debian/patches/python-clangpath.diff index 953d5922..d929bb01 100644 --- a/debian/patches/python-clangpath.diff +++ b/debian/patches/python-clangpath.diff @@ -2,16 +2,16 @@ clang/bindings/python/clang/cindex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/bindings/python/clang/cindex.py +Index: llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang/bindings/python/clang/cindex.py =================================================================== ---- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/bindings/python/clang/cindex.py -+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/bindings/python/clang/cindex.py +--- llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415.orig/clang/bindings/python/clang/cindex.py ++++ llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang/bindings/python/clang/cindex.py @@ -4162,7 +4162,7 @@ class Config(object): elif name == 'Windows': file = 'libclang.dll' else: - file = 'libclang.so' -+ file = 'libclang-14.so' ++ file = 'libclang-15.so' if Config.library_path: file = Config.library_path + '/' + file diff --git a/debian/patches/scan-build-clang-path.diff b/debian/patches/scan-build-clang-path.diff index 7235c65f..e5af104a 100644 --- a/debian/patches/scan-build-clang-path.diff +++ b/debian/patches/scan-build-clang-path.diff @@ -2,16 +2,16 @@ clang/tools/scan-build/bin/scan-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/bin/scan-build +Index: llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang/tools/scan-build/bin/scan-build =================================================================== ---- llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415.orig/clang/tools/scan-build/bin/scan-build -+++ llvm-toolchain-snapshot_14~++20211114120952+5b4bfd8c2415/clang/tools/scan-build/bin/scan-build -@@ -1486,7 +1486,7 @@ sub FindClang { +--- llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415.orig/clang/tools/scan-build/bin/scan-build ++++ llvm-toolchain-snapshot_15~++20211115120952+5b4bfd8c2415/clang/tools/scan-build/bin/scan-build +@@ -1586,7 +1586,7 @@ sub FindClang { if (!defined $Options{AnalyzerDiscoveryMethod}) { $Clang = Cwd::realpath("$RealBin/bin/clang") if (-f "$RealBin/bin/clang"); if (!defined $Clang || ! -x $Clang) { - $Clang = Cwd::realpath("$RealBin/clang") if (-f "$RealBin/clang"); -+ $Clang = Cwd::realpath("/usr/lib/llvm-14/bin/clang"); ++ $Clang = Cwd::realpath("/usr/lib/llvm-15/bin/clang"); if (!defined $Clang || ! -x $Clang) { # When an Xcode toolchain is present, look for a clang in the sibling bin # of the parent of the bin directory. So if scan-build is at diff --git a/debian/patches/scan-build-py-fix-default-bin.diff b/debian/patches/scan-build-py-fix-default-bin.diff index 8224011a..096a588d 100644 --- a/debian/patches/scan-build-py-fix-default-bin.diff +++ b/debian/patches/scan-build-py-fix-default-bin.diff @@ -1,13 +1,13 @@ -Index: llvm-toolchain-snapshot_14~++20210717105643+f95d26006e06/clang/tools/scan-build-py/lib/libscanbuild/arguments.py +Index: llvm-toolchain-snapshot_15~++20210717105643+f95d26006e06/clang/tools/scan-build-py/lib/libscanbuild/arguments.py =================================================================== ---- llvm-toolchain-snapshot_14~++20210717105643+f95d26006e06.orig/clang/tools/scan-build-py/lib/libscanbuild/arguments.py -+++ llvm-toolchain-snapshot_14~++20210717105643+f95d26006e06/clang/tools/scan-build-py/lib/libscanbuild/arguments.py +--- llvm-toolchain-snapshot_15~++20210717105643+f95d26006e06.orig/clang/tools/scan-build-py/lib/libscanbuild/arguments.py ++++ llvm-toolchain-snapshot_15~++20210717105643+f95d26006e06/clang/tools/scan-build-py/lib/libscanbuild/arguments.py @@ -266,7 +266,7 @@ def create_analyze_parser(from_build_com '--use-analyzer', metavar='', dest='clang', - default='clang', -+ default='clang-14', ++ default='clang-15', help="""'%(prog)s' uses the 'clang' executable relative to itself for static analysis. One can override this behavior with this option by using the 'clang' packaged with Xcode (on OS X) or from the PATH.""") diff --git a/debian/tests/cmake-test b/debian/tests/cmake-test index 24fa6f74..13ba584e 100755 --- a/debian/tests/cmake-test +++ b/debian/tests/cmake-test @@ -2,7 +2,7 @@ set -e -LLVM_VERSION=14 +LLVM_VERSION=15 # this is taken from libjsoncpp package # Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we diff --git a/debian/tests/control b/debian/tests/control index 1a440290..cf2e3cef 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -2,7 +2,7 @@ Test-Command: bash -v ./debian/qualify-clang.sh Depends: @, cmake, make, g++, file, dpkg-dev, binfmt-support # Comment the dbgsym package because of bug #917528 # dbgsym packages not being available in testing -# clang-14-dbgsym, libclang1-14-dbgsym +# clang-15-dbgsym, libclang1-15-dbgsym Restrictions: allow-stderr Tests: integration-test-suite-test @@ -11,10 +11,10 @@ Restrictions: allow-stderr Architecture: amd64 arm64 Tests: cmake-test -Depends: gcc, build-essential, cmake, llvm-14-dev +Depends: gcc, build-essential, cmake, llvm-15-dev Test-Command: python3 -c "import lldb; print(lldb.__file__); print(lldb)" -Depends: python3-lldb-14 +Depends: python3-lldb-15 Test-Command: python3 -c "import clang; print(clang.__file__); print(clang)" -Depends: python3-clang-14 +Depends: python3-clang-15 diff --git a/debian/tests/integration-test-suite-test b/debian/tests/integration-test-suite-test index c175b8fd..40902c6a 100755 --- a/debian/tests/integration-test-suite-test +++ b/debian/tests/integration-test-suite-test @@ -2,7 +2,7 @@ set -e -LLVM_VERSION=14 +LLVM_VERSION=15 # this is taken from libjsoncpp package # Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we diff --git a/debian/unpack.sh b/debian/unpack.sh index 13ae1cbd..58a1ac3d 100644 --- a/debian/unpack.sh +++ b/debian/unpack.sh @@ -1,6 +1,6 @@ set -e ORIG_VERSION=snapshot -MAJOR_VERSION=14 # 8.0.1 +MAJOR_VERSION=15 # 8.0.1 REV=`ls -1 *${ORIG_VERSION}_${MAJOR_VERSION}*~+*xz | tail -1|perl -ne 'print "$1\n" if /~\+(.*)\.orig/;' | sort -ru` VERSION=$REV