Merge tag '1%12.0.1-16+rpi1' of llvm-toolchain-12 into llvm-toolchain-13 packaging.
authorPeter Michael Green <plugwash@raspbian.org>
Wed, 17 Nov 2021 04:15:23 +0000 (04:15 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 17 Nov 2021 04:15:23 +0000 (04:15 +0000)
1  2 
compiler-rt/cmake/base-config-ix.cmake
debian/changelog
debian/control
debian/patches/series
debian/rules

index 3d1935f43d7bde1e212dd54585aad03c3745dd5d,8db31adb509bdc00933e9bafa84494701d694cf8..6d4c26cbc74d28a29ba19e9193aaa917a21ff76a
 -llvm-toolchain-12 (1:12.0.1-16+rpi1) bookworm-staging; urgency=medium
++llvm-toolchain-13 (1:13.0.0-9+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.
 - -- Peter Michael Green <plugwash@raspbian.org>  Sat, 23 Jan 2021 14:24:45 +0000
++ -- Peter Michael Green <plugwash@raspbian.org>  Wed, 17 Nov 2021 04:09:35 +0000
++
 +llvm-toolchain-13 (1:13.0.0-9) unstable; urgency=medium
 +
 +  * Upload to unstable (all green on exp)
 +  * Fix an autopkgtest test (Closes: #997902)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 08 Nov 2021 14:09:25 +0100
 +
 +llvm-toolchain-13 (1:13.0.0-9~exp2) experimental; urgency=medium
 +
 +  * patch compiler-rt build to add option to disable scudo standalone allocator
 +    as it is not always supported by all debian baseline arch profiles
 +  * add COMPILER_RT_BUILD_SCUDO_STANDALONE=OFF to armel build in debian/rules
 +    since the baseline armv5t arch profile is not supported
 +
 + -- Erik Maciejewski <mr.emacski@gmail.com>  Fri, 05 Nov 2021 16:38:43 -0700
 +
 +llvm-toolchain-13 (1:13.0.0-9~exp1) experimental; urgency=medium
 +
 +  * Merge migration to 2stage runtimes build 12 => 13
 +  * Adjust openmp runtime quilt patches from branch 12 for changes in upstream
 +    (llvmorg-13.0.0) sources
 +
 + -- Erik Maciejewski <mr.emacski@gmail.com>  Wed, 03 Nov 2021 20:03:56 -0700
 +
 +llvm-toolchain-13 (1:13.0.0-8) unstable; urgency=medium
 +
 +  * Disable lldb on mipsel and mips64el as it isn't supported
 +    See https://reviews.llvm.org/D102872
 +    (Closes: #997011)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 23 Oct 2021 10:33:56 +0200
 +
 +llvm-toolchain-13 (1:13.0.0-7) unstable; urgency=medium
 +
 +  * Remove omp-device-info from LLVMExports.cmake (Closes: #996551)
 +    For real this time
 +  * Fix the link issue (hopefully on all archs) (Closes: #995827)
 +    customs LDFLAGS were not passed to the stage2
 +  * Trim trailing whitespace.
 +  * Update watch file format version to 4.
 +  * Update to compat 11.
 +    oldstable has 12
 +    bionic has 11
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 20 Oct 2021 07:36:28 +0200
 +
 +llvm-toolchain-13 (1:13.0.0-6) unstable; urgency=medium
 +
 +  * Remove omp-device-info from LLVMExports.cmake (Closes: #996551)
 +  * Fix a atomic issue. Thanks to YunQiang Su for the patch
 +    Partial fix for #995827
 +  * Bring back the llvm manpages (Closes: #995684)
 +    Were generated at the wrong place
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 15 Oct 2021 10:45:30 +0200
 +
 +llvm-toolchain-13 (1:13.0.0-5) unstable; urgency=medium
 +
 +  *  Restrict the dependency on libunwind-13-dev from Package: libc++-13-dev
 +     on amd64 arm64 armhf i386 mips64el ppc64el ppc64 riscv64
 +     (Closes: #996462)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 14 Oct 2021 12:33:15 +0200
 +
 +llvm-toolchain-13 (1:13.0.0-4) unstable; urgency=medium
 +
 +  * Instead of using llvm-* to install binaries in llvm-X.Y
 +    list all the binaries one by one.
 +    It will prevent "llvm-omp-device-info" to be installed in
 +    llvm-X.Y which caused an explicit dependency on libomp
 +    which caused llvm-X.Y to be NOT coinstallable anymore
 +  * Move llvm-omp-device-info-X.Y from llvm-X to libompX-dev
 +    Fixes upstream #52162
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 13 Oct 2021 13:29:51 +0200
 +
 +llvm-toolchain-13 (1:13.0.0-3) unstable; urgency=medium
 +
 +  * libc++-13-dev should depends on libunwind-13-dev
 +    (Closes: #995810)
 +  * Disable a tsan and two lldb tests on i386
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 06 Oct 2021 12:52:10 +0200
 +
 +llvm-toolchain-13 (1:13.0.0-2) unstable; urgency=medium
 +
 +  * Fix the libclang detection in cmake
 +    (Closes: #994827)
 +  * Adjust the testsuite after various changes
 +    (rpass, libclang, polly lib, etc)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 03 Oct 2021 22:38:18 +0200
 +
 +llvm-toolchain-13 (1:13.0.0-1) unstable; urgency=medium
 +
 +  * New upstream release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 01 Oct 2021 09:08:08 +0200
 +
 +llvm-toolchain-13 (1:13.0.0~+rc4-1) unstable; urgency=medium
 +
 +  * New testing release
 +  * Ship clang-repl
 +    See https://reviews.llvm.org/D106813
 +  * Replace make by ninja for the build process
 +    It is now more tested than make by upstream
 +    And it is supposed to be faster
 +    Removed openmp/bootstrap-with-openmp-version-export-missing.diff
 +    as it seems that the ninja move fixed it
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 18 Sep 2021 19:30:47 +0200
 +
 +llvm-toolchain-13 (1:13.0.0~+rc3-1) unstable; urgency=medium
 +
 +  * New testing release
 +  * Remove debian/patches/disable-no-omit-leaf.diff
 +    as it is fixed upstream
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 11 Sep 2021 09:48:23 +0200
 +
 +llvm-toolchain-13 (1:13.0.0~+rc2-3) unstable; urgency=medium
 +
 +  * compiler-rt scudo, don't add the option
 +    -mno-omit-leaf-frame-pointer when building on
 +    armel & armhf
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 02 Sep 2021 21:35:26 +0200
 +
 +llvm-toolchain-13 (1:13.0.0~+rc2-2) unstable; urgency=medium
 +
 +  * Build with -DCMAKE_POSITION_INDEPENDENT_CODE=ON to libc++ and libc++abi
 +  * The changes from 12.0.1-7
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable libunwind-X.Y{-dev} packages on sparc and sparc64
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 29 Aug 2021 14:52:16 +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-13 (1:13.0.0~+rc1-2) unstable; urgency=medium
 +
 +  * clang-soname-extract-version.diff: improve the upstream declaration
 +  * Fix the libclang links
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 19 Aug 2021 18:13:56 +0200
 +
 +llvm-toolchain-13 (1:13.0.0~+rc1-1) unstable; urgency=medium
 +
 +  * Upload to Unstable
 +  * Add symbol clang_CompileCommand_getNumMappedSources to libclang
 +  * Add a new variable called SONAME_CLANG as
 +    clang soname has started with llvm-toolchain-13.
 +    it is normal that 13 is what is seen in 14 or later version as
 +    it is bumped only with abi changes
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 16 Aug 2021 16:00:12 +0200
 +
 +llvm-toolchain-13 (1:13.0.0~+rc1-1~exp1) unstable; urgency=medium
 +
 +  * New snapshot release
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 03 Aug 2021 09:36:26 +0200
 +
 +llvm-toolchain-13 (1:13~++20210731010128+6eaf46beb462-1~exp1) experimental; urgency=medium
 +
 +  * Branching of snapshot into 13
 +  * Adjust libclang:
 +    - upstream decided to make it stable starting from 13, with the soname
 +    - for now, I am not planning to rename libclang1-13 to libclang13 as it will
 +      cause too much churn for a small gain as we will keep libllvm (while
 +      losing the capability to have different versions in parallel installed)
 +      See upstream c7b3a91017d26266d7556b1ac7c49b06f0109b91
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 20 Jul 2021 09:40:58 +0200
 +
 +llvm-toolchain-snapshot (1:13~++20210715093511+afc760ef3527-1~exp1) experimental; urgency=medium
 +
 +  * Refresh the lib of symbols in libomp
 +  * As scan-build-py is installed by default ( https://reviews.llvm.org/D104138 )
 +    update of the code
 +  * Revert "Revert D94333.diff as it breaks the ci
 +    https://reviews.llvm.org/D94333#2829043"
 +  * Install usr/lib/llvm-13/lib/cmake/openmp/FindOpenMPTarget.cmake
 +    in libomp-13-dev.install
 +  * Revert of D103865 for causing bug 51026
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 15 Jul 2021 21:46:58 +0200
 +
 +llvm-toolchain-snapshot (1:13~++20210619101720+e1adf90826a5-1~exp1) experimental; urgency=medium
 +
 +  * Enable lld on s390x
 +  * remove libomptarget from openmp. done by upstream
 +    in f2f88f3e7a110b2d4d9da446e45f0dba040e62b2
 +    but install /usr/lib/llvm-13/lib/libomptarget-amdgcn-*.bc
 +    Only install these files on amd64, ppc64el & arm64
 +    See openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
 +  * Revert D94333.diff as it breaks the ci
 +    https://reviews.llvm.org/D94333#2829043
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Disable OpenMP on m68k
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 08 May 2021 13:12:43 +0200
 +
 +llvm-toolchain-snapshot (1:13~++20210418105309+a0898f0cecc7-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * New snapshot release
 +  * "run-clang-tidy" install it
 +  * Only enable libomp-13-doc on supported archs
 +  * Verify that /proc is mounted. It makes some unexpected issues when
 +    building from a chroot without /proc
 +  * Fix the __config_site include issue
 +  * Revert D95727 for causing bug 49818
 +
 +  [ John Paul Adrian Glaubitz ]
 +  * Add upstream patch D98574 to fix clang macro definitions on sparc64
 +  * Add upstream patch D98575 to fix 32-bit compiler-rt build on sparc64
 +  * Enable building the new experimental M68k backend
 +  * Set LLVM_HOST_TRIPLE to x86_64-linux-gnux32 on x32
 +  * Set LLVM_DEFAULT_TARGET_TRIPLE to x86_64-linux-gnux32 on x32
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 18 Apr 2021 11:00:31 +0200
 +
 +llvm-toolchain-snapshot (1:13~++20210129063721+010b176cdefb-1~exp2) experimental; urgency=medium
 +
 +  * Enable OpenMP offload capabilities for NVDIA GPUs
 +    See https://bugzilla.redhat.com/show_bug.cgi?id=1922914
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 01 Feb 2021 09:04:16 +0100
 +
 +llvm-toolchain-snapshot (1:13~++20210129063721+010b176cdefb-1~exp1) experimental; urgency=medium
 +
 +  [ Sylvestre Ledru ]
 +  * New branch (12 => 13)
 +  * Workaround a static_assert on https://bugs.llvm.org/show_bug.cgi?id=48259
 +    "static assertion failed: Recycler allocation size is less than object size!"
 +  * Also install usr/lib/llvm-12/bin/ld64.lld.darwinnew & usr/bin/ld64.lld.darwinnew-12
 +  * Also install usr/lib/llvm-12/lib/libomptarget.so.12 in libomp5-12
 +
 +  [ Gianfranco Costamagna ]
 +  * Add upstream patch D92052 to fix a gcn offload compiler issue with gcc (Closes: #975692)
 +
 + -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 30 Jan 2021 17:31:15 +0100
  
  llvm-toolchain-12 (1:12.0.1-16) unstable; urgency=medium
  
diff --cc debian/control
index 80a6a6d858d274074c7d406260a37051a372d761,c0d8ea4fa195f46c62682c717af197dab254f071..56ba9c447da6f2e5f13bd035960cee5a008a9d9b
@@@ -722,9 -719,9 +719,9 @@@ Description: OpenCL C language implemen
  
  # ------------- libunwind -------------
  
 -Package: libunwind-12
 +Package: libunwind-13
  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}
@@@ -739,9 -736,9 +736,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-12-dev
 +Package: libunwind-13-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 d509154a24e465c7c9f8e4b65bf1f96e02b073be,d1705df91b376eb2894317f1a6cace9264c9a45f..e992d453c22c095055a055f27f1ae1e10ae9e407
@@@ -47,15 -40,13 +40,12 @@@ silent-llvm-isel-fuzzer.dif
  remove-test-freezing.diff
  disable-llvm-symbolizer-test.diff
  disable-path-test-failing.diff
  # Decrease the freq for the keep alive
  test-keep-alive.diff
  # scan-build
  scan-build-clang-path.diff
 -install-scan-build-py.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
@@@ -149,4 -131,4 +131,5 @@@ libcxx-libatomic-only-with-gcc-rtlib.di
  libcxxabi-fix-link-builtins.diff
  llvm-runtimes-builtins-build-check.diff
  compilerrt-builtins-arch-fix-armhf.diff
 +compilerrt-build-scudo-standalone-option.diff
+ raspbian-triplet.patch
diff --cc debian/rules
index 61195d176326de1ebf575670ba16aee751d46907,8555c3f0be5f4c0aaaeda0b42d343100d4c395d3..72d45671ffa1dd9a74b5b4465e46be9565301520
@@@ -236,7 -233,7 +239,7 @@@ endi
  
  # Enable libunwind (or not)
  LIBUNWIND_ENABLE=yes
- ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mipsel hurd-i386 powerpc sparc sparc64 x32))
 -ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel armhf mipsel hurd-i386 powerpc sparc sparc64 x32))
++ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel armhf m68k mipsel 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