Merge tag '1%15.0.6-4+rpi1' of 172.17.3.10:/build/git/l/llvm-toolchain-15 into trixie...
authorPeter Michael Green <plugwash@raspbian.org>
Tue, 26 Sep 2023 18:11:22 +0000 (18:11 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 26 Sep 2023 23:43:46 +0000 (23:43 +0000)
1  2 
compiler-rt/cmake/base-config-ix.cmake
debian/changelog
debian/control
debian/patches/series
debian/rules

index 746272f9e68693b49c47da93424a9e1238a8ce45,58c86ee116645522657e6deae6212e0dea6982a6..96f9cf875515f6927e91920852c2bac0ed88acf5
 -llvm-toolchain-15 (1:15.0.6-4+rpi1) bookworm-staging; urgency=medium
++llvm-toolchain-16 (1:16.0.6-15) trixie-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>  Fri, 13 Jan 2023 00:15:05 +0000
++ -- Peter Michael Green <plugwash@debian.org>  Tue, 26 Sep 2023 23:43:02 +0000
++
 +llvm-toolchain-16 (1:16.0.6-15) unstable; urgency=medium
 +
 +  * Second attempt to refresh D158066.patch (Closes: #1049362)
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 11 Sep 2023 15:40:42 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-14) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * On bionic & buster, for apt.llvm.org, pass -DLLVM_ENABLE_ZSTD=OFF
 +    as libzstd is too old
 +
 +  [ Gianfranco Costamagna ]
 +  * Add i386 and mips64el to spirv architectures.
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Sun, 10 Sep 2023 08:14:36 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-13) unstable; urgency=medium
 +
 +  [ Gianfranco Costamagna ]
 +  * Also runtime-depend on {libzstd,zlib1g}-dev, from Paravoid (Closes:
 +    #1047718)
 +
 +  [ Sylvestre Ledru ]
 +  * Strip -fcf-protection for wasm build - new flag added in dpkg 1.22
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 07 Sep 2023 13:01:14 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-12) unstable; urgency=medium
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable wasm support on powerpc and powerpcspe
 +  * Remove powerpc from BINUTILS_GOLD_ARCHS again
 +
 +  [ Sylvestre Ledru ]
 +  * Disable python3-lldb on mips64el to unbreak the build
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 03 Sep 2023 14:06:19 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-11) unstable; urgency=medium
 +
 +  * debian/patches/D158066.patch:
 +    - upstream fix for Debian bug: #1049362
 +  * Also build-depend on libzstd-dev (Closes: #1047718)
 +  * Explicitly depend on libcurl4-openssl-dev, since nss is being removed.
 +    (Closes: #1043552)
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Thu, 17 Aug 2023 10:19:13 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-10) unstable; urgency=medium
 +
 +  * update test to depend on libstdc++-13-dev
 +  * Also ignore mlir test on armel, hang
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 07 Aug 2023 11:01:06 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-9) unstable; urgency=medium
 +
 +  * Really enable spirv, and disable spirv on mips* since it's not yet
 +    bootstrapped. Thanks <tjaalton> for the patch
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Thu, 03 Aug 2023 14:20:06 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-8) unstable; urgency=medium
 +
 +  * Make sure flang-16 depends on libflang-16-dev (Closes: #1041202)
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 02 Aug 2023 09:30:36 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-7) unstable; urgency=medium
 +
 +  * Use spirv-16 to build llvm. This should fix libclc-16 content
 +    and fix mesa build
 +  * Don't reduce parallel builds anymore on riscv64
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 02 Aug 2023 09:10:31 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-6) unstable; urgency=medium
 +
 +  * Do the delete of wasi in libclang-rt regardless (Closes: #1041834)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 24 Jul 2023 08:29:14 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-5) unstable; urgency=medium
 +
 +  [ Samuel Thibault ]
 +  * Fix hurd build by fixing Linux-specific lines.
 +  * Fix wasi-libc build-deps on i386 !linux-i386
 +
 +  [ Sylvestre Ledru ]
 +  * set -DCMAKE_SYSTEM_NAME=Generic to build wasm to fix upstream #63799
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 11 Jul 2023 22:28:59 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-4) unstable; urgency=medium
 +
 +  * lldb-16: lldb no longer depend on llvm-dev (Closes: #1039490)
 +  * Unbreak the libclang links (Closes: #1040205)
 +    And add tests to make sure we don't regress
 +  * Fix the libclang-16.so symbol file
 +  * Remove broken symlinks (closes: #857680)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 09 Jul 2023 15:08:24 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-3) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Only pass -Bno-symbolic if it exists
 +
 +  [ Gianfranco Costamagna ]
 +  * Revert LIBCXXABI_ARM_EHABI => _LIBCXXABI_ARM_EHABI change,
 +    FTBFS on arm*.
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Tue, 27 Jun 2023 08:58:16 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-2) unstable; urgency=medium
 +
 +  * Remove debian/NEWS to fix debian-news-entry-has-unknown-version
 +  * Fix libomp-16-doc: documentation-package-not-architecture-independent
 +  * Fix llvm-16-dev: depends-on-obsolete-package Depends: libtinfo-dev => libncurses-dev
 +  * Enable Xtensa experimental backend (Closes: #1033911)
 +  * Fix the path /usr/lib/llvm-16/lib/clang/16/ (Closes: #1036623)
 +  * Refresh the list of symbol of libclang1-16
 +  * Refresh the list of symbol for libomp.so.5
 +  * Add symbols files for libomptarget.rtl* and libomptarget.so
 +
 +  [ Gianfranco Costamagna ]
 +  * Try to unbreak HURD
 +  * Add back powerpc to gold architectures
 +  * Use bfd linker on p*pc*
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 14 Jun 2023 08:06:04 +0200
 +
 +llvm-toolchain-16 (1:16.0.6-1) unstable; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 14 Jun 2023 08:06:04 +0200
 +
 +llvm-toolchain-16 (1:16.0.5-1) unstable; urgency=medium
 +
 +  [ Gianfranco Costamagna ]
 +  * Add patch from llvm-15 (Graham Inggs) to update Ubuntu releases names
 +    to include Ubuntu mantic
 +
 +  [ Sylvestre Ledru ]
 +  * Upload to unstable
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 11 Jun 2023 13:15:48 +0200
 +
 +llvm-toolchain-16 (1:16.0.5-1~exp1) experimental; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 03 Jun 2023 12:00:55 +0200
 +
 +llvm-toolchain-16 (1:16.0.4-1~exp1) experimental; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 17 May 2023 09:25:29 +0200
 +
 +llvm-toolchain-16 (1:16.0.3-1~exp1) experimental; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 03 May 2023 10:38:19 +0200
 +
 +llvm-toolchain-16 (1:16.0.2-1~exp1) experimental; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 22 Apr 2023 22:57:25 +0200
 +
 +llvm-toolchain-16 (1:16.0.1-1~exp2) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * cherry pick changes from snapshot for sccache
 +
 +  [ Gianfranco Costamagna ]
 +  * Use parallel=2 on riscv64
 +  * Add omptarget again to optional interfaces (Closes: #1033933)
 +  * Adapt test when llvm is built without Z3 support (error message changed)
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Tue, 11 Apr 2023 14:09:36 +0200
 +
 +llvm-toolchain-16 (1:16.0.1-1~exp1) experimental; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 05 Apr 2023 13:25:21 +0200
 +
 +llvm-toolchain-16 (1:16.0.0-1~exp5) experimental; urgency=medium
 +
 +  * Don't ship liborc on armel too
 +  * Install ASAN symbolize on riscv64
 +  * Limit parallel building to 3 on riscv64, should speed up extremely slow builds due to too many concurrent threads
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Mon, 27 Mar 2023 08:53:13 +0200
 +
 +llvm-toolchain-16 (1:16.0.0-1~exp4) experimental; urgency=medium
 +
 +  * Use 16 for wasm libs instead of 16.0.0
 +    https://github.com/llvm/llvm-project/issues/61550
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 22 Mar 2023 23:36:45 +0100
 +
 +llvm-toolchain-16 (1:16.0.0-1~exp3) experimental; urgency=medium
 +
 +  * Revert gold linker on riscv64, FTBFS
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Tue, 21 Mar 2023 11:27:33 +0100
 +
 +llvm-toolchain-16 (1:16.0.0-1~exp2) experimental; urgency=medium
 +
 +  [ Matthias Klose <doko@ubuntu.com> ]
 +  * Install liborc_rt-armhf.a on armhf.
 +  * Don't ship gdb scripts for ompd on armhf.
 +  * Don't run MLIR tests on armhf, timeouts on the buildds.
 +
 +  [ Gianfranco Costamagna ]
 +  * Try to use gold linker on riscv64, to see if the build goes to
 +    the end successfully
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Tue, 21 Mar 2023 09:41:39 +0100
 +
 +llvm-toolchain-16 (1:16.0.0-1~exp1) experimental; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 18 Mar 2023 21:41:44 +0100
 +
 +llvm-toolchain-16 (1:16.0.0~+rc4-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 11 Mar 2023 10:50:01 +0100
 +
 +llvm-toolchain-16 (1:16.0.0~+rc3-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 22 Feb 2023 09:22:05 +0100
 +
 +llvm-toolchain-16 (1:16.0.0~+rc2-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 08 Feb 2023 19:40:52 +0100
 +
 +llvm-toolchain-16 (1:16.0.0~+rc1-1~exp1) experimental; urgency=medium
 +
 +  * First rc of 16
 +  * Branching of 16 (snapshot is now 17)
 +  * ship libHLFIRTransforms & libHLFIRDialect in libflang
 +  * Also install liborc_rt-x86_64.a in libclang-rt
 +  * Adjust some path since upstream changed the path from
 +    /usr/lib/llvm-16/lib/clang/16.0.0/ to
 +    /usr/lib/llvm-16/lib/clang/16/
 +  * Workaround some missing files on buster
 +  * Replace LLVM_CONFIG by LLVM_CMAKE_DIR
 +  * Bring back -DBUILTINS_CMAKE_ARGS & -DRUNTIMES_CMAKE_ARGS options
 +    https://github.com/llvm/llvm-project/issues/59097
 +  * unbreak a symlink to fix to libclang
 +  * Add a symlink /usr/lib/x86_64-linux-gnu/{libclang-16.so.16.0.0 => libclang-16.so.1}
 +    Expected by program like the firefox build system
 +  * ship amdgpu-arch & nvptx-arch in clang-tools
 +  * ship llvm-omp-kernel-replay in libomp-X.Y-dev
 +  * Disable flang on s390x. Seems that it is breaking
 +  * compiler-rt: Only build liborc on amd64, i386 & arm64
 +  * Don't build omptarget on i386
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 19 Nov 2022 10:16:49 +0100
 +
 +llvm-toolchain-16 (1:16~++20230115053056+df5fc4504b86-1~exp2) UNRELEASED; urgency=medium
 +
 +  * Don't build omptarget on armhf either
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 30 Jan 2023 10:09:21 +0100
 +
 +llvm-toolchain-snapshot (1:16~++20221111053703+a77a02aa5794-1~exp1) experimental; urgency=medium
 +
 +  * New snapshot release
 +  * mlir: Disable test on i386 because of
 +    https://github.com/llvm/llvm-project/issues/58357
 +  * Install llvm-debuginfo-analyzer in llvm-X.Y
 +  * Install clang-include-cleaner in clang-tools-X.Y
 +  * Build of openmp: use PROJECTS instead of RUNTIMES
 +    See https://github.com/llvm/llvm-project/issues/58219
 +  * Install usr/lib/llvm-16/include/__libunwind_config.h
 +    usr/lib/llvm-16/include/libunwind.h
 +    usr/lib/llvm-16/include/mach-o/compact_unwind_encoding.h
 +    usr/lib/llvm-16/include/unwind.h
 +    usr/lib/llvm-16/include/unwind_arm_ehabi.h
 +    usr/lib/llvm-16/include/unwind_itanium.h
 +    in libunwind-X.Y-dev
 +  * Install llvm-bat-dump in bolt-X.Y
 +  * disable-openmpd.diff: Disable the test of openmpd
 +    because of https://github.com/llvm/llvm-project/issues/58941
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 11 Nov 2022 17:43:40 +0100
 +
 +llvm-toolchain-snapshot (1:16~++20220830053930+25fdcb8e6ce3-1~exp1) experimental; urgency=medium
 +
 +  * Main is now 16. A branch for 15 has been created
 +  * clang doesn't have a specific SONAME anymore.
 +    See https://reviews.llvm.org/D129160 for the rational
 +  * Install clang-tblgen in clang-tools-X.Y
 +  * For apt.llvm.org on stretch, from snapshot, also use libc++ for the
 +    build. It adds a dependency on libc++. It might be extended in
 +    the future for for now, it is Debian/stretch only
 +  * Remove clang-offload-wrapper & clang-nvlink-wrapper like upstream
 +  * Set CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION to make sure that version of
 +    libclang == clang. this to simplify the packaging, the coinstability
 +    and to have more consistency.
 +  * Install usr/lib/llvm-@LLVM_VERSION@/share/gdb/python/ompd/ in libomp-16-dev
 +  * Remove ompt-multiplex.h from libomp
 +  * Install llvm-remarkutil in llvm-X.Y
 +  * Don't build libclc-16 as it needs a more recent version of llvm-spirv
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 30 Aug 2022 17:40:55 +0200
 +
 +llvm-toolchain-snapshot (1:16~++20220731055325+02b3a358926e-1~exp1) experimental; urgency=medium
 +
 +  * Main is now 16. A branch for 15 has been created
 +  * clang doesn't have a specific SONAME anymore.
 +    See https://reviews.llvm.org/D129160 for the rational
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 27 Jul 2022 21:36:27 +0200
 +
 +llvm-toolchain-15 (1:15.0.7-6) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Only pass -Bno-symbolic if it exists
 +
 +  [ Gianfranco Costamagna ]
 +  * Revert LIBCXXABI_ARM_EHABI => _LIBCXXABI_ARM_EHABI change,
 +    FTBFS on arm*.
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 26 Jun 2023 10:13:40 +0200
 +
 +llvm-toolchain-15 (1:15.0.7-5) unstable; urgency=medium
 +
 +  [ Graham Inggs ]
 +  * debian/patches/ubuntu-releases.patch: Update the list of
 +    Ubuntu release names
 +
 +  [ Gianfranco Costamagna ]
 +  * Add powerpc to GOLD architectures
 +  * Cherry-pick upstream fix for newer cmake-related build failure
 +  * Cherry-pick upstream fix for HIP search path depending on os-release (Closes: #1037452)
 +
 +  [ Steve Langasek ]
 +  * debian/rules: disable -Wl,-Bsymbolic-functions for libomp.  LP: #2016471.
 +
 + -- Gianfranco Costamagna <locutusofborg@debian.org>  Sat, 24 Jun 2023 20:04:59 +0200
 +
 +llvm-toolchain-15 (1:15.0.7-5~exp2) experimental; urgency=medium
 +
 +  * Also apply the workaround of issue #62621 for focal
 +    and to include libpolly-15-dev
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 10 Jun 2023 11:52:14 +0200
 +
 +llvm-toolchain-15 (1:15.0.7-5~exp1) experimental; urgency=medium
 +
 +  * Remove old code to manage Debian stretch
 +  * Force the replacement of new Ubuntu packages introduced in
 +    https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-15/+bug/2008755
 +  * Adjust LIBCXXABI_ARM_EHABI => _LIBCXXABI_ARM_EHABI
 +    Issue: https://github.com/llvm/llvm-project/issues/59240
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 04 Jun 2023 11:35:54 +0200
 +
 +llvm-toolchain-15 (1:15.0.7-4) unstable; urgency=medium
 +
 +  * Fix debian/libclang1-15.symbols soname
 +  * Remove build artifacts if any
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 15 Mar 2023 21:45:46 +0100
 +
 +llvm-toolchain-15 (1:15.0.7-3) unstable; urgency=medium
 +
 +  * Disable the flang autopkgtests on unsupported architectures
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 12 Mar 2023 11:19:54 +0100
 +
 +llvm-toolchain-15 (1:15.0.7-2) unstable; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * Yeah, we would like to have this version in bookworm
 +    (Closes: #1032316)
 +  * Adjust some lintian overrides
 +  * Disable flang on s390x. Seems that it is breaking
 +
 +  [ Gianfranco Costamagna ]
 +  * Update print lldb python patch, following what was done
 +    in automake for newer python
 +
 +  [ Samuel Thibault ]
 +  * Fix disabling amdgpu on non-Linux.
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Don't run chrpath for libclang on powerpc and powerpcspe
 +
 +  [ Faidon Liambotis ]
 +  * Update the wasm-sysroot-usr.diff patch to restore functionality that was
 +    accidentally dropped when the patch was forward-ported from 14 to 15. This
 +    resolves an issue in which clang++ builds would fail if libc++-15-dev was
 +    installed alongside libc++-15-dev-wasm32. (Closes: #1029010, #1032317)
 +
 +  [ Cordell Bloor ]
 +  * Backport support for HIP in /usr and add Debian paths
 +    for rocm-device-libs to search list (Closes: #1031808)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 15 Jan 2023 10:54:41 +0100
 +
 +llvm-toolchain-15 (1:15.0.7-1~exp1) UNRELEASED; urgency=medium
 +
 +  * experimental New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 13 Jan 2023 15:12:11 +0100
 +
 +llvm-toolchain-15 (1:15.0.7-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * Upload to unstable
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 08 Jan 2023 12:31:57 +0100
 +
 +llvm-toolchain-15 (1:15.0.6-5~exp3) experimental; urgency=medium
 +
 +  * Don't always build flang
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 07 Jan 2023 23:46:18 +0100
 +
 +llvm-toolchain-15 (1:15.0.6-5~exp2) experimental; urgency=medium
 +
 +  * Restrict flang on 64bits archs:
 +    (amd64 arm64 mips64el ppc64el kfreebsd-amd64 s390x ppc64 sparc64 riscv64)
 +    See: https://github.com/llvm/llvm-project/issues/59845
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 06 Jan 2023 13:19:48 +0100
 +
 +llvm-toolchain-15 (1:15.0.6~++20230102020141+088f33605d8a-1~exp1) UNRELEASED; urgency=medium
 +
 +  * experimental New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 02 Jan 2023 14:01:53 +0100
 +
 +llvm-toolchain-15 (1:15.0.6-5~exp1) experimental; urgency=medium
 +
 +  * Add flang-15 and libraries support
 +  * Several changes coming from the branch -14:
 +  * wasm support significantly improved with several packages:
 +    - libc++-15-dev-wasm32
 +    - libc++abi-15-dev-wasm32
 +    - libclang-rt-15-dev-wasm32
 +    - libclang-rt-15-dev-wasm64
 +    It is now as easy as:
 +    $ apt install clang-15 lld-15 libclang-rt-15-dev-wasm32 wasi-libc
 +    $ clang-15 --target=wasm32-wasi helloworld.c -o helloworld.wasm
 +    Many thanks to Faidon Liambotis
 +  * libclang-common-15-dev split into different packages:
 +    - libclang-rt-15-dev
 +    - libpolly-15-dev
 +    - libclang-rt-15-dev-wasm32
 +    - libclang-rt-15-dev-wasm64
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 03 Jan 2023 00:40:25 +0100
  
  llvm-toolchain-15 (1:15.0.6-4) unstable; urgency=medium
  
diff --cc debian/control
index bd8fbba063d13201d884fbb529e1cf56488a7787,02cb8566aa1356f3abbad209ba37f1b0542f0720..2a4447b61e4794a962a1498817ea8a66b86a8ca1
@@@ -13,30 -13,29 +13,30 @@@ Build-Depends: debhelper (>= 10.0), cma
      binutils-dev,
      libxml2-dev,
      libjsoncpp-dev, pkg-config,
 -    lcov, procps, help2man, zlib1g-dev,
 +    lcov, procps, help2man,
 +    zlib1g-dev, libzstd-dev,
      g++-multilib [amd64 i386 kfreebsd-amd64 mips64 mips64el mipsel powerpc ppc64 s390 s390x sparc sparc64 x32],
      libjs-mathjax, python3-recommonmark,
 -    doxygen, gfortran,
 +    doxygen,
      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-15 [ amd64 arm64 armel armhf mips64el mipsel ppc64el riscv64 s390x ] <!stage1> |
 -    llvm-spirv-14 [ amd64 arm64 armel armhf mips64el mipsel ppc64el riscv64 s390x ] <!stage1> | hello [!i386],
 +    llvm-spirv-16 [ amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x ] <!stage1> | hello [!i386],
      spirv-tools [ linux-any ] | hello [ !i386],
 -    libcurl4-dev,
 +    wasi-libc | hello [ !any-i386],
 +    libcurl4-openssl-dev | libcurl-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
 +Standards-Version: 4.6.2
  Homepage: https://www.llvm.org/
 -Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 15
 -Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/15
 +Vcs-Git: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain.git -b 16
 +Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/16
  
  # ------------- clang -------------
  
@@@ -687,8 -628,8 +687,8 @@@ Package: libc++-16-de
  Section: libdevel
  Architecture: any
  Multi-Arch: same
 -Depends: libc++1-15 (= ${binary:Version}), ${misc:Depends},
 - libunwind-15-dev [amd64 arm64 i386 mips64el ppc64el ppc64 riscv64]
 +Depends: libc++1-16 (= ${binary:Version}), ${misc:Depends},
-  libunwind-16-dev [amd64 arm64 armhf i386 ppc64el ppc64 riscv64]
++ libunwind-16-dev [amd64 arm64 i386 ppc64el ppc64 riscv64]
  Breaks: libc++-dev (<< 44)
  Provides: libc++-x.y-dev
  Conflicts: libc++-x.y-dev
@@@ -826,9 -725,9 +826,9 @@@ Description: OpenCL C language implemen
  
  # ------------- libunwind -------------
  
 -Package: libunwind-15
 +Package: libunwind-16
  Section: libs
- Architecture: amd64 arm64 armhf i386 ppc64el ppc64 riscv64
 -Architecture: amd64 arm64 i386 mips64el ppc64el ppc64 riscv64
++Architecture: amd64 arm64 i386 ppc64el ppc64 riscv64
  Multi-Arch: same
  Depends: ${shlibs:Depends},
   ${misc:Depends}
@@@ -843,9 -742,9 +843,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-15-dev
 +Package: libunwind-16-dev
  Section: libdevel
- Architecture: amd64 arm64 armhf i386 ppc64el ppc64 riscv64
 -Architecture: amd64 arm64 i386 mips64el ppc64el ppc64 riscv64
++Architecture: amd64 arm64 i386 ppc64el ppc64 riscv64
  Multi-Arch: same
  Depends:
   ${misc:Depends},
index 60318593e7349484f4bc018e285da9f688141cba,352d029556aa1ef80ea6f12426f24eb99274d96d..75e163168a650cfe89c0080e6f4283564a8cdd7a
@@@ -49,18 -41,16 +41,15 @@@ test-keep-alive.dif
  scan-build-clang-path.diff
  scan-view-fix-path.diff
  fix-scan-view-path.diff
  # lldb
 -lldb/lldb-link-atomic-cmake.patch
  lldb/lldb-addversion-suffix-to-llvm-server-exec.patch
  lldb/lldb-missing-install.diff
  lldb/lldb-disable-swig-error.diff
  # Fix arch issue
  disable-error-xray.diff
  # OpenMP
  openmp/openmp-check-execstack.diff
 -openmp/openmp-mips-affinity.patch
 +
  # libcxx
  libcxx/libcxxabi-test-don-t-fail-extended-long-double.patch
  libcxx/libcxx-test-fix-lockfree-test-for-i386.patch
@@@ -130,13 -110,10 +109,11 @@@ openmp-fix-runtimes-build.dif
  libclc-fix-prepare_builtins-rpath.diff
  llvm-runtimes-builtins-build-check.diff
  issue-54242.diff
 +protobuf_3.21.patch
 +
  # compiler-rt
 -compiler-rt/compilerrt-fix-warn-xray-testing.diff
  compiler-rt/compilerrt-builtins-arch-fix-armhf.diff
  compiler-rt/compilerrt-build-scudo-standalone-option.diff
  # wasm patches
  wasm/wasm-ld-path.diff
  wasm/wasm-compiler-rt-default.diff
@@@ -144,13 -121,14 +121,13 @@@ wasm/wasm-sysroot-usr.dif
  revert-update-doc.diff
  unwind-force-pthread-dl.diff
  force-sse2-compiler-rt.diff
 -fix-typo-1018770.diff
 -bolt.patch
  bolt-disable-emit-relocs.patch
 -D124841-fix-powerpc-miscompile.patch
 -mips/mips-assert-size.diff
 -protobuf_3.21.patch
 -# upstream cherry-pick for mesa build
 -add-arm-vcmpz-test.patch
 -fix-mesa-build.patch
  link-grpc.diff
 +
 +amdgpu/nonlinux.patch
 +ubuntu-releases.patch
 +new-cmake-build-fix.patch
 +HIP-search-path-fix.patch
 +D158066-simd-ppc64el.patch
 +#mips64el-ompt.patch
+ raspbian-triplet.patch
diff --cc debian/rules
index 6cb1ab63a7065d50161020b4142684b696389a1c,c31908ea48d4ea88e766fc6621330ae0c6bb611d..0931fde842fa1e84b9ed6f770e09b9782ba0cf78
@@@ -312,8 -306,8 +319,7 @@@ els
  endif
  
  # Enable libunwind (or not)
--LIBUNWIND_ENABLE=yes
- ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mipsel mips64el hurd-i386 powerpc sparc sparc64 x32))
 -ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel armhf m68k mipsel hurd-i386 powerpc sparc sparc64 x32))
++ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel armhf m68k mipsel mips64el hurd-i386 powerpc sparc sparc64 x32))
    LIBUNWIND_ENABLE=no
  # do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is
  # disabled since the gnu implementation in libgcc_s will then be required
@@@ -539,9 -500,13 +545,15 @@@ preconfigure
        @echo "LIBFUZZER_ENABLE=$(LIBFUZZER_ENABLE)"
        @echo "LTO_ENABLE=$(LTO_ENABLE)"
        @echo "COMPILER_RT_WASM_ENABLE=$(COMPILER_RT_WASM_ENABLE)"
 +      @echo "LIBCXX_WASM_ENABLE=$(LIBCXX_WASM_ENABLE)"
 +      @echo "SCCACHE_ENABLE=$(SCCACHE_ENABLE)"
  
+       # add executable flag to script we added as part of triplet hack
+       # --plugwash
+       chmod 755 llvm/cmake/config.guess.hack
+       # also make sure config.guess is executable
+       chmod 755 llvm/cmake/config.guess
+       
        for f in debian/*.in; do \
                f2=$$(echo $$f | sed 's/\.in$$//;s/X\.Y/$(LLVM_VERSION)/'); \
                echo "$$f => $$f2"; \
@@@ -1000,9 -864,9 +1012,10 @@@ endi
                cd openmp/runtime && doxygen doc/doxygen/config; cd -; \
                cd openmp/runtime/doc/doxygen/generated/html/ && rm jquery.js && ln -s /usr/share/javascript/jquery/jquery.js; \
        fi
 +      touch $@
  
  override_dh_auto_install:
+       mkdir -p build-llvm/docs/ocamldoc/html/
        # Clean up temporary files to make sure the install works
        rm -rf $(find $(TARGET_BUILD) -wholename '*CMakeFiles*' -not -name CMakeLists.txt -a -name "*.dir" -type d)
  
@@@ -1413,7 -1254,20 +1426,20 @@@ override_dh_auto_clean
        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 libclc/build
 -      rm -rf build-compiler-rt-wasm32 build-compiler-rt-wasm64
 +      rm -rf build-wasm
+       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