Merge version 1:13.0.1-3+rpi1 of llvm-toolchain-13 packaging into llvm-toolchain... archive/raspbian/1%14.0.4-4+rpi1 raspbian/1%14.0.4-4+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 9 Jun 2022 22:31:11 +0000 (22:31 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 10 Jun 2022 02:30:54 +0000 (02:30 +0000)
1  2 
compiler-rt/cmake/base-config-ix.cmake
debian/changelog
debian/control
debian/patches/series
debian/rules
llvm/cmake/modules/GetHostTriple.cmake

index a68f7e2a785f6e3b1a90a7fe98338552b01e7d7a,b5114f35cdf33e278c5ae1bc2a982fcb135c6057..bc9aac0cacf99cb7091bd8909705c9ce3368f1d3
 -llvm-toolchain-13 (1:13.0.1-3+rpi1) bookworm-staging; urgency=medium
++llvm-toolchain-14 (1:14.0.4-4+rpi1) bookworm-staging; urgency=medium
+   [changes brought forward from llvm-toolchain-3.8 1:3.8-2+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Sat, 14 May 2016 21:43:35 +0000]
+   * Cleanup .pyc files in clean target.
+   * Add a hack to the cmake based build to force armv6 (unfortunately the cmake
+     based build relies on config.guess which assumes you want to build for the
+     hardware you are running on).
+   * Add -DCOMPILER_RT_BUILD_BUILTINS=OFF to disable parts of compiler-rt that
+     are broken on lower arm architectures.
+   [changes introduced in llvm-toolchain-3.9 1:3.9.1-1 by Peter Michael Green]
+   * disable testsuite (using a method that is hopefully less likely to cause diff conflicts than previously).
+   * Remove -march=armv7-a in compiler-rt/cmake/config-ix-base.cmake
+   * Clean up debian/usr in clean target.
+   * Clean up clang/tools/*-3.9 in clean target.
+   * Clean up stray *3.9.vim files
+   * Clean up clang/tools/scan-build/man/scan-build-3.9.1 and utils/vim/llvm-3.9-vimrc
+   * Clean up debian/*.install
+   [changes introduced in llvm-toolchain-6.0 1:6.0-1+rpi1 by Peter michael green]
+   * create build-llvm/docs/ocamldoc/html/ so the install target doesn't complain
+     about it not existing.
+   * clean up more crap left behind by build process.
+   [changes introduced in llvm-toolchain-6.0 1:6.0-3+rpi1 by Peter Michael Green]
+   * Remove debian/man in clean target.
+   [changes introduced in llvm-toolchain-7 1:7-6+rpi1 by Peter Michael Green]
+   * Use libatomic on armhf
+   * Set cmake/config.guess.hack back to mode 644 in clean target to keep
+     git/dgit happy.
+   * Yet more clean target fixes.
+   [changes introduced in llvm-toolchain-7 1:7.0.1-1+rpi2 by Peter Michael Green]
+   * Change triplet in debian/rules to use armv6k rather than armv7l
+   [changes introduced in llvm-toolchain-12 1:12.0.1-16 by Peter Michael Green]
+   * Disable llvm libunwind on armhf, it seems to come out armv7 contaminated.
+   [changes introduced in llvm-toolchain-13 (1:13.0.0-9+rpi1 by Peter Michael Green]
+   * Disable scudo on armhf, it needs atomics which we do not want to enable.
+   [changes brought forward from 1:13.0.0-9+rpi2 by Peter Michael Green <plugwash@raspbian.org> at Tue, 23 Nov 2021 22:37:30 +0000]
+   * Remove armhf from architecture list for libunwind-13-dev dependency.
 - -- Raspbian forward porter <root@raspbian.org>  Mon, 21 Feb 2022 16:37:30 +0000
++ -- Peter Michael Green <plugwash@raspbian.org>  Thu, 09 Jun 2022 22:28:04 +0000
++
 +llvm-toolchain-14 (1:14.0.4-4) unstable; urgency=medium
 +
 +  * autopkgtest: Restrict debian/qualify-clang.sh on
 +    amd64 arm64 i386
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 31 May 2022 14:08:49 +0200
 +
 +llvm-toolchain-14 (1:14.0.4-3) unstable; urgency=medium
 +
 +  * Fix GRPC installation path and files
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Tue, 31 May 2022 12:09:28 +0200
 +
 +llvm-toolchain-14 (1:14.0.4-2) unstable; urgency=low
 +
 +  * Add breaks/replaces for grpc binaries being placed in another package in Ubuntu
 +  * Fix GRPC installation for ports architectures
 +  * Add support for Ubuntu kinetic
 +  * rules: take some patches from Ubuntu to save extra space during build
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Sun, 29 May 2022 12:53:47 +0200
 +
 +llvm-toolchain-14 (1:14.0.4-1) unstable; urgency=medium
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Enable GRPC build dependency only on supported targets
 +
 +  [ Sylvestre Ledru ]
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 25 May 2022 08:49:20 +0200
 +
 +llvm-toolchain-14 (1:14.0.3-2) unstable; urgency=medium
 +
 +  * Fix an autopkgtest on arm (Closes:# 1010716)
 +    Thanks to Pino Toscano for the patch
 +  * Fix the search path for hip (Closes: #1010467)
 +  * Add the option -DLLVM_ENABLE_CURL=ON
 +    See https://github.com/llvm/llvm-project/issues/55289
 +    (LP: #1971743)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 09 May 2022 20:40:39 +0200
 +
 +llvm-toolchain-14 (1:14.0.3-1) unstable; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 29 Apr 2022 09:23:16 +0200
 +
 +llvm-toolchain-14 (1:14.0.2-1) unstable; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 27 Apr 2022 08:36:00 +0200
 +
 +llvm-toolchain-14 (1:14.0.1-1) unstable; urgency=medium
 +
 +  * New upstream release
 +    Fixes the ABI issues
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 13 Apr 2022 09:33:24 +0200
 +
 +llvm-toolchain-14 (1:14.0.0-1) unstable; urgency=medium
 +
 +  * New stable release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 23 Mar 2022 08:41:26 +0100
 +
 +llvm-toolchain-14 (1:14.0.0~+rc4-1) unstable; urgency=medium
 +
 +  * New snapshot release (rc3 isn't a thing)
 +  * Add an ugly workaround for Ubuntu jammy (some python files are installed in local/lib)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 11 Mar 2022 18:28:07 +0100
 +
 +llvm-toolchain-14 (1:14.0.0~+rc2-1~exp1) unstable; urgency=medium
 +
 +  * New snapshot release
 +  * Also path LD_LIBRARY_PATH for install
 +    when cmake binary backport like on bionic s390x (for apt.llvm.org)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 04 Mar 2022 20:06:44 +0100
 +
 +llvm-toolchain-14 (1:14.0.0~+rc1-1) unstable; urgency=medium
 +
 +  * First testing release of 14
 +  * Upload to unstable
 +  Changes for 13:
 +  * mlir: use the cmake option to avoid installing object files
 +    MLIR_INSTALL_AGGREGATE_OBJECTS
 +    Closes upstream #53134
 +  * Build clangd with GRPC support
 +    Thanks to Sam McCall for the patch
 +  * Revert e80c52986e1bb3afa6a92c58b1cb897877923a66 to be able to build on stretch
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 10 Feb 2022 09:25:26 +0100
 +
 +llvm-toolchain-14 (1:14~++20220202101403+91632c8ac97f-1~exp1) experimental; urgency=medium
 +
 +  * snapshot = 15, first 14 package
 +  * Ship clang-linker-wrapper in clang-tools-X.Y
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 02 Feb 2022 22:14:13 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20220123085548+413684313d9d-1~exp2) experimental; urgency=medium
 +
 +  * Hide some symbols for omp/arm* and other archs
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 24 Jan 2022 13:56:35 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20220123085548+413684313d9d-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Ugly workaround to enable scan-build on runtimes
 +    debian/patches/use-scan-build-runtimes.diff
 +  * Python 2 => 3 to unbreak the 'scanbuild_py_makefile.txt' test
 +  * Enable CLANG_DEFAULT_PIE_ON_LINUX
 +  * Lower the debhelper dep to 10 for debian stretch
 +  * Rename ocaml-nox => ocaml-base
 +  * Update of the ocaml doc path to catch a different path
 +
 +  [ Samuel Thibault ]
 +  * Explicitly link against -latomic on hurd-i386 as well.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 23 Jan 2022 20:48:09 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20220107114130+3a604fdbcd5f-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 07 Jan 2022 23:58:01 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20211230084136+a96fe1bf3b32-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +  * Build and ship MLIR as 3 new packages (libmlir-14-dev, libmlir-14
 +    and mlir-14-tools)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 29 Dec 2021 21:08:20 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20211221121559+9e3ae8d296aa-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +  * Remove some old mach lld libraries. Remove upstream in 9e3552523ebd3385487e01e3e7af37b8c0efaf57
 +    liblldReaderWriter.a liblldDriver.a liblldYAML.a liblldCore.a liblldMachOOld.a
 +  * Also install llvm-debuginfod-find in llvm-14
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 03 Dec 2021 13:19:39 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20211113111058+6a40854ce507-1~exp1) experimental; urgency=medium
 +
 +  * experimental New snapshot release
 +  * Adjust the libomp5 symbols
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 13 Nov 2021 23:15:48 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20211113102219+b5ff187b7b51-1~exp1) experimental; urgency=medium
 +
 +  * Remove the triple patch. it is causing the library search path to fail.
 +    Add a test in debian/qualify-clang.sh to verify we don't regress
 +  * Fix the "all" build
 +  * Disable LIBCXX_USE_COMPILER_RT on s390x, armel and x32 as it fails. See bug 52022
 +  * Adjust the libomp_start_tool visibility on armhf
 +  * Be more flexible to install libomptarget-*.bc
 +    (ex: libomptarget-new-nvptx-*.bc are new)
 +  * Force the i386 triple -DLLVM_HOST_TRIPLE=i386-linux-gnu
 +    Sometimes, on i386, the library detection is failing (often on z3
 +    or ffi)
 +    'Could NOT find Z3:'
 +  * Add '-DCMAKE_FIND_DEBUG_MODE=true' to help wit debugging
 +  * Disable the build of libclc on old Ubuntu (Groovy & focal)
 +    as llvm-spir is too old on these version.
 +    See bug #52200
 +  * Adjust the sphinx build as the makefile have been removed
 +  * If lua is available on the system at built time, a lua lldb binding
 +    was created. It was leading to some build failures depending
 +    on the package installed on the build system.
 +    Force the deactivation of the lua build when lldb is built.
 +  * libomp: add new symbols
 +    - GOMP_5.0.1
 +    - GOMP_alloc
 +    - GOMP_free
 +    - __kmpc_aligned_alloc
 +    - __kmpc_atomic_bool_1_cas
 +    - __kmpc_atomic_bool_1_cas_cpt
 +    - __kmpc_atomic_bool_2_cas
 +    - __kmpc_atomic_bool_2_cas_cpt
 +    - __kmpc_atomic_bool_4_cas
 +    - __kmpc_atomic_bool_4_cas_cpt
 +    - __kmpc_atomic_bool_8_cas
 +    - __kmpc_atomic_bool_8_cas_cpt
 +    - __kmpc_atomic_float10_max
 +    - __kmpc_atomic_float10_max_cpt
 +    - __kmpc_atomic_float10_min
 +    - __kmpc_atomic_float10_min_cpt
 +    - __kmpc_atomic_val_1_cas
 +    - __kmpc_atomic_val_1_cas_cpt
 +    - __kmpc_atomic_val_2_cas
 +    - __kmpc_atomic_val_2_cas_cpt
 +    - __kmpc_atomic_val_4_cas
 +    - __kmpc_atomic_val_4_cas_cpt
 +    - __kmpc_atomic_val_8_cas
 +    - __kmpc_atomic_val_8_cas_cpt
 +    - omp_aligned_alloc
 +    - omp_aligned_calloc
 +  * Install llvm-tli-checker in llvm-X.Y
 +
 +  [ Erik Maciejewski ]
 +  * Merge migration to 2stage runtimes build 13 => 14
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 13 Nov 2021 10:26:41 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20211111061527+d56b171ee965-1~exp1) experimental; urgency=medium
 +
 +  * Remove the triple patch. it is causing the library search path to fail.
 +    Add a test in debian/qualify-clang.sh to verify we don't regress
 +  * Fix the "all" build
 +  * Disable LIBCXX_USE_COMPILER_RT on s390x, armel and x32 as it fails. See bug 52022
 +  * Adjust the libomp_start_tool visibility on armhf
 +  * Be more flexible to install libomptarget-*.bc
 +    (ex: libomptarget-new-nvptx-*.bc are new)
 +  * Force the i386 triple -DLLVM_HOST_TRIPLE=i386-linux-gnu
 +    Sometimes, on i386, the library detection is failing (often on z3
 +    or ffi)
 +    'Could NOT find Z3:'
 +  * Add '-DCMAKE_FIND_DEBUG_MODE=true' to help wit debugging
 +  * Disable the build of libclc on old Ubuntu (Groovy & focal)
 +    as llvm-spir is too old on these version.
 +    See bug #52200
 +  * Adjust the sphinx build as the makefile have been removed
 +  * If lua is available on the system at built time, a lua lldb binding
 +    was created. It was leading to some build failures depending
 +    on the package installed on the build system.
 +    Force the deactivation of the lua build when lldb is built.
 +  * libomp: add new symbols
 +    - GOMP_5.0.1
 +    - GOMP_alloc
 +    - GOMP_free
 +    - __kmpc_aligned_alloc
 +    - __kmpc_atomic_bool_1_cas
 +    - __kmpc_atomic_bool_1_cas_cpt
 +    - __kmpc_atomic_bool_2_cas
 +    - __kmpc_atomic_bool_2_cas_cpt
 +    - __kmpc_atomic_bool_4_cas
 +    - __kmpc_atomic_bool_4_cas_cpt
 +    - __kmpc_atomic_bool_8_cas
 +    - __kmpc_atomic_bool_8_cas_cpt
 +    - __kmpc_atomic_float10_max
 +    - __kmpc_atomic_float10_max_cpt
 +    - __kmpc_atomic_float10_min
 +    - __kmpc_atomic_float10_min_cpt
 +    - __kmpc_atomic_val_1_cas
 +    - __kmpc_atomic_val_1_cas_cpt
 +    - __kmpc_atomic_val_2_cas
 +    - __kmpc_atomic_val_2_cas_cpt
 +    - __kmpc_atomic_val_4_cas
 +    - __kmpc_atomic_val_4_cas_cpt
 +    - __kmpc_atomic_val_8_cas
 +    - __kmpc_atomic_val_8_cas_cpt
 +    - omp_aligned_alloc
 +    - omp_aligned_calloc
 +
 +  [ Erik Maciejewski ]
 +  * Merge migration to 2stage runtimes build 13 => 14
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 11 Nov 2021 18:19:57 +0100
 +
 +llvm-toolchain-snapshot (1:14~++20210926041028+6063e6b499c7-1~exp1) experimental; urgency=medium
 +
 +  * experimental New snapshot release
 +  * Bring back the libc++/libc++abi options
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 26 Sep 2021 16:14:44 +0200
 +
 +llvm-toolchain-snapshot (1:14~++20210924122635+4a57f5d1e1c5-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * experimental New snapshot release
 +  * remove "scan-build-py-force-utf-8-opening.diff"
 +    merged upstream
 +  * Also install libomptarget-nvptx in libomp-X.Y-dev next to amdgcn
 +  * Add -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF. it was turn on by default
 +    in https://reviews.llvm.org/D107799
 +    It was causing the second cmake (stage2) build to fail on z3 or libffi.
 +    Sign that the compiler didn't work correctly.
 +  * libcxxabi: Unbreak the CI by adding a silly symlink to _config_site
 +    Far from perfect but it should be fixed by the runtime move:
 +    https://reviews.llvm.org/D89013#3017317
 +  * New symbols in libomp5-14:
 +    - __kmpc_end_scope
 +    - __kmpc_scope
 +    - libomp_start_tool
 +    (and remove some old missing symbols)
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind on m68k, sparc64 and x32
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 24 Sep 2021 12:31:05 +0200
 +
 +llvm-toolchain-snapshot (1:14~++20210924092749+e325ebb9c70b-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * experimental New snapshot release
 +  * remove "scan-build-py-force-utf-8-opening.diff"
 +    merged upstream
 +  * Also install libomptarget-nvptx in libomp-X.Y-dev next to amdgcn
 +  * the libc++* & libunwind builds are installed in directory with triple
 +  * remove the libc++ & libc++abi tasks as they are part of the process now
 +  * Add -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF. it was turn on by default
 +    in https://reviews.llvm.org/D107799
 +    It was causing the second cmake (stage2) build to fail on z3 or libffi.
 +    Sign that the compiler didn't work correctly.
 +  * libcxxabi: Unbreak the CI by adding a silly symlink to _config_site
 +    Far from perfect but it should be fixed by the runtime move:
 +    https://reviews.llvm.org/D89013#3017317
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind on m68k, sparc64 and x32
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 24 Sep 2021 23:09:21 +0200
 +
 +llvm-toolchain-snapshot (1:14~++20210831081106+387a8dea7234-1~exp1) UNRELEASED; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * experimental New snapshot release
 +  * remove "scan-build-py-force-utf-8-opening.diff"
 +    merged upstream
 +  * Also install libomptarget-nvptx in libomp-X.Y-dev next to amdgcn
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind on m68k, sparc64 and x32
 +
 +  [ Sylvestre Ledru ]
 +  * experimental New snapshot release
 +  * experimental New snapshot release
 +  * experimental New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 31 Aug 2021 08:15:00 +0200
 +
 +llvm-toolchain-snapshot (1:14~++20210827020436+15b2a8e7faf6-1~exp2) UNRELEASED; urgency=medium
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind-X.Y{-dev} packages on sparc and sparc64
 +
 +  [ Sylvestre Ledru ]
 +  * Ship clang-repl as part of clang-tools-XX
 +    See https://reviews.llvm.org/D106813
 +  * Ship clang-nvlink-wrapper as part of clang-tools-XX
 +    See https://reviews.llvm.org/D108291
 +  * debuginfo-tests has been renamed to cross-project-tests
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 31 Aug 2021 22:17:35 +0200
 +
 +llvm-toolchain-snapshot (1:14~++20210827071740+3ec634e65a02-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * experimental New snapshot release
 +  * remove "scan-build-py-force-utf-8-opening.diff"
 +    merged upstream
 +  * Also install libomptarget-nvptx in libomp-X.Y-dev next to amdgcn
 +  * Upload the various changes from 12 & 13
 +  * remove "scan-build-py-force-utf-8-opening.diff"
 +    merged upstream
 +  * Also install libomptarget-nvptx in libomp-X.Y-dev next to amdgcn
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind on m68k, sparc64 and x32
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 27 Aug 2021 21:56:14 +0200
 +
 +llvm-toolchain-snapshot (1:14~++20210827020436+15b2a8e7faf6-1~exp2) UNRELEASED; urgency=medium
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind-X.Y{-dev} packages on sparc and sparc64
 +
 + -- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>  Sun, 29 Aug 2021 21:28:50 +0200
 +
 +llvm-toolchain-13 (1:13.0.0~+rc2-1) unstable; urgency=medium
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind on m68k, sparc64 and x32
 +
 +  [ Gianfranco Costamagna ]
 +  * integration-test-suite-test: fix build by using 13 as default version
 +
 +  [ Sylvestre Ledru ]
 +  * New testing release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 27 Aug 2021 09:43:28 +0200
 +
 +llvm-toolchain-snapshot (1:14~++20210715093511+afc760ef3527-1~exp2) unstable; urgency=medium
 +
 +  * revert the s390 as it is probably fixed
 +  * Rename some lld libs. Following 7a6482216ff02f81ed02ff4936f1b22d4b5a9a6c
 +    lldMachO=>lldMachOOld and lldMachO2=>lldMach
 +  * scan-build-py - Force the file open in utf-8. Fails on -14 on bionic
 +    otherwise
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 06 Aug 2021 08:40:58 +0200
  
  llvm-toolchain-13 (1:13.0.1-3) unstable; urgency=medium
  
diff --cc debian/control
index 9842d972b01e4d56772af32c95c138b67135e758,99efe3449d98aa40ae2a6e66b9e08156a766de0f..fde3e1c725e48a3e7001ee4da5e760870c62ab4e
@@@ -18,23 -18,17 +18,21 @@@ Build-Depends: debhelper (>= 10.0), cma
      libjs-mathjax, python3-recommonmark,
      doxygen, gfortran,
      ocaml-base [amd64 arm64 armhf ppc64el riscv64 s390x] | ocaml-nox [amd64 arm64 armhf ppc64el riscv64 s390x],
-     ocaml-findlib [amd64 arm64 armhf ppc64el riscv64 s390x],
-     libctypes-ocaml-dev [amd64 arm64 armhf ppc64el riscv64 s390x],
-     dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el riscv64 s390x],
+     ocaml-findlib [amd64 arm64 armhf ppc64el s390x],
+     libctypes-ocaml-dev [amd64 arm64 armhf ppc64el s390x],
+     dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el s390x],
      libpfm4-dev [linux-any], python3-setuptools, libz3-dev,
-     llvm-spirv [ amd64 arm64 armel armhf mips64el mipsel ppc64el s390x ] <!stage1> | hello [!i386],
-     spirv-tools [ linux-any ] | hello [ !i386],
 -    libgrpc++-dev, libprotobuf-dev, protobuf-compiler, protobuf-compiler-grpc
 +    libcurl4-dev,
 +    libgrpc++-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x],
 +    protobuf-compiler-grpc [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x],
 +    libprotobuf-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x],
 +    protobuf-compiler [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x]
  # "| hello" is for older buster/bionic distros without spirv support
- Build-Conflicts: oprofile
+ Build-Conflicts: oprofile, libllvm-3.8-ocaml-dev, libllvm-3.9-ocaml-dev
  Standards-Version: 4.2.1
  Homepage: https://www.llvm.org/
 -Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 13
 -Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/13
 +Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 14
 +Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/14
  
  # ------------- clang -------------
  
@@@ -629,8 -625,8 +627,8 @@@ Package: libc++-14-de
  Section: libdevel
  Architecture: any
  Multi-Arch: same
 -Depends: libc++1-13 (= ${binary:Version}), ${misc:Depends},
 - libunwind-13-dev [amd64 arm64 i386 mips64el ppc64el ppc64 riscv64]
 +Depends: libc++1-14 (= ${binary:Version}), ${misc:Depends},
-  libunwind-14-dev [amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64]
++ libunwind-14-dev [amd64 arm64 i386 mips64el ppc64el ppc64 riscv64]
  Breaks: libc++-dev (<< 44)
  Provides: libc++-x.y-dev
  Conflicts: libc++-x.y-dev
@@@ -726,9 -722,9 +724,9 @@@ Description: OpenCL C language implemen
  
  # ------------- libunwind -------------
  
 -Package: libunwind-13
 +Package: libunwind-14
  Section: libs
- Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
+ Architecture: amd64 arm64 i386 mips64el ppc64el ppc64 riscv64
  Multi-Arch: same
  Depends: ${shlibs:Depends},
   ${misc:Depends}
@@@ -743,9 -739,9 +741,9 @@@ Description: production-quality unwinde
   or to operate on another process (aka remote), but only the local path has
   been implemented. Remote unwinding remains as future work.
  
 -Package: libunwind-13-dev
 +Package: libunwind-14-dev
  Section: libdevel
- Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
+ Architecture: amd64 arm64 i386 mips64el ppc64el ppc64 riscv64
  Multi-Arch: same
  Depends:
   ${misc:Depends},
index a8251ea925296da6d90f495bba6aed4c853a2090,08bef88735c13ff2b6badeec232f85ae89389986..32dc7226ef65919a89d26348080d18a434e1e6b6
@@@ -19,13 -17,12 +17,11 @@@ symbolizer-path.dif
  clang-tidy-run-bin.diff
  0001-tools-clang-cmake-resolve-symlinks-in-ClangConfig.cmake.patch
  debug-jit-path.diff
  # commented because of bug 903709
  #force-gcc-header-obj.diff
  do-not-fail-on-unexpected-pass.diff
  disable-display-PASS-UNSUPPORTED-XFAIL.diff
 -# llvm-config
 -0001-llvm-cmake-resolve-symlinks-in-LLVMConfig.cmake.patch
 +
  # Lib names
  0044-soname.diff
  lldb-soname.diff
@@@ -131,8 -109,8 +108,7 @@@ python3-shebang.patc
  print-lldb-path.patch
  libcxx-armhf-ftbfs.diff
  lower-python-dep.diff
 -scan-build-py-fix-analyze-path.diff
  scan-build-py-fix-default-bin.diff
  libclc-llvm-spirv.diff
  omp-riscv64.patch
  test-disable-lldb-i386.diff
@@@ -146,8 -124,7 +122,9 @@@ libcxxabi-fix-link-builtins.dif
  llvm-runtimes-builtins-build-check.diff
  compilerrt-builtins-arch-fix-armhf.diff
  compilerrt-build-scudo-standalone-option.diff
 -use-gold-for-compiler-rt-when-set.diff
  wasm-ld-path.diff
 +python3-scan-build.py
 +revert-update-doc.diff
  fix-typo.diff
 +ubuntu-kinetic.patch
+ raspbian-triplet.patch
diff --cc debian/rules
index e63e7545e8de77b4cc5a33a6e075be286900f2fd,c75aaf87148af59f163713f64d5fbe03552ac8e1..003cf027fefc4c3679a7272ef9abf2fb86e295ad
@@@ -1087,7 -1050,20 +1101,20 @@@ override_dh_auto_clean
        rm -f $(CURDIR)/utils/vim/llvm-$(LLVM_VERSION).vim $(CURDIR)/utils/vim/tablegen-$(LLVM_VERSION).vim
        rm -f $(CURDIR)/clang/tools/clang-format/clang-format-diff-$(LLVM_VERSION)
        rm -f $(CURDIR)/clang/tools/clang-format/clang-format-$(LLVM_VERSION).py
 -      rm -rf libcxx/build libcxxabi/build libclc/build
 +      rm -rf libclc/build
+       rm -f `find . -name '*.pyc'`
+       rm -rf debian/usr
+       rm -rf clang/tools/*-3.9
+       rm -f `find . -name '*3.9.vim'`
+       rm -f clang/tools/scan-build/man/scan-build-3.9.1 utils/vim/llvm-3.9-vimrc
+       rm -f debian/*.install
+       rm -f clang/tools/scan-view-7.0/share/FileRadar.scpt clang/tools/scan-view-7.0/share/bugcatcher.ico
+       rm -f `cat debian/morecraptoremove`
+       rm -rf debian/man
+       rm -f debian/*.links debian/c*.lintian-overrides debian/l*.lintian-overrides debian/*.META debian/*.dirs debian/*.docs debian/*.symbols debian/*.postinst debian/*.manpages debian/*.examples debian/*.binfmt debian/*.prerm
+       -rmdir clang/include/clang/Debian/
+       -rmdir lldb/docs/doc/
+       chmod 644 llvm/cmake/config.guess.hack
        if test -f lld/docs/ld.lld-$(LLVM_VERSION).1; then \
                mv lld/docs/ld.lld-$(LLVM_VERSION).1 lld/docs/ld.lld.1; \
        fi