Skip to content

Commit

Permalink
Import Debian changes 1:13.0.1-2ubuntu2.1
Browse files Browse the repository at this point in the history
llvm-toolchain-13 (1:13.0.1-2ubuntu2.1) jammy; urgency=medium

  * Backport D115098 for Rust 1.59 (LP: #1973037)
  * d/p/risc/riscv-insn-support.patch: Backport assembler .insn support on riscv64
    for rustc 1.59.0 (LP: #1973041)

llvm-toolchain-13 (1:13.0.1-2ubuntu2) jammy; urgency=medium

  * Backport upstream patches to allow building EFI images for Ubuntu Core
    for arm64 (LP: #1960300)

llvm-toolchain-13 (1:13.0.1-2ubuntu1) jammy; urgency=medium

  * Don't build clangd with GRPC support on i386.
  * d/rules: Don't remove libRemoteIndex{ServiceProto,Proto}.a nor
    libMonitoringServiceProto.a.  These are necessary for autopkgtest.
    Adjust d/llvm-X.Y-dev.install accordingly when building on
    i386 (i.e., don't install libRemoteIndex{ServiceProto,Proto}.a in such
    case).
  * d/llvm-X.Y-dev.install.in: Install libs mentioned above.

llvm-toolchain-13 (1:13.0.1-2) unstable; urgency=medium

  * 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

llvm-toolchain-13 (1:13.0.1-1) unstable; urgency=medium

  * New stable release

llvm-toolchain-13 (1:13.0.1~+rc3-1~exp1) experimental; urgency=medium

  [ Samuel Thibault ]
  * Explicitly link against -latomic on all ports, not only the Linux ones.
  * Stop hardcoding -DCMAKE_SYSTEM_NAME=Linux as cmake parameter, as it breaks
    stage2 builds on non-Linux architectures

  [ Pino Toscano ]
  * debian/rules: Disable 64bit runtime build on hurd-i386 (Closes: #1003081).

  [ Sylvestre Ledru ]
  * New rc
  * Lower the debhelper dep to 10 for debian stretch
  * Rename ocaml-nox => ocaml-base (Closes: #1002609)
  * Remove Build-Conflicts: ocaml

llvm-toolchain-13 (1:13.0.1~+rc1-1~exp4) experimental; urgency=medium

  * Fix the cmake file with the mlir introducing

llvm-toolchain-13 (1:13.0.1~+rc1-1~exp3) experimental; urgency=medium

  * Build and ship MLIR as 3 new packages (libmlir-13-dev, libmlir-13
    and mlir-13-tools)
  * Install bfd plugins in
    /usr/lib/bfd-plugins/LLVMgold-@LLVM_VERSION@.so

llvm-toolchain-13 (1:13.0.1~+rc1-1~exp2) experimental; urgency=medium

  * Bring back the dependency clang => llvm-13-linker-tools
  * Unbreak llvm-toolchain-13 on buster.
    -fuse-ld=gold wasn't passed to compiler-rt. it was using bfd.
    And binutils shipping in buster has a bug preventing this to work:
    https://github.com/llvm/llvm-project/issues/42339
  * Remove AVR from LLVM_EXPERIMENTAL_TARGETS_TO_BUILD. stable since 11
    https://releases.llvm.org/11.0.0/docs/ReleaseNotes.html#changes-to-the-avr-target
  * Use the version suffix when calling wasm-ld => wasm-ld-13
    https://bugzilla.mozilla.org/show_bug.cgi?id=1747145
  * Fix run-clang-tidy symlink. it moved from /usr/lib/llvm-13/share/clang/run-clang-tidy
    to /usr/lib/llvm-13/bin/run-clang-tidy
    (Closes: #1001748)
  * Install LLVMgold in usr/lib/bfd-plugins to help various tools to understand the
    format (Closes: #919020)

llvm-toolchain-13 (1:13.0.1~+rc1-1~exp1) experimental; urgency=medium

  * New testing release
  * Use parallel + -4 for the xz tarballs compression to make it faster
  * Add manpages for git-clang-format & run-clang-tidy
  * Add back -DLLVM_VERSION_SUFFIX=. Useless for 13 but necessary for snapshot
    Otherwise, it adds "git" to the libs

llvm-toolchain-13 (1:13.0.0-9) unstable; urgency=medium

  * Upload to unstable (all green on exp)
  * Fix an autopkgtest test (Closes: #997902)

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

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

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)

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

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

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)

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

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

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)

llvm-toolchain-13 (1:13.0.0-1) unstable; urgency=medium

  * New upstream release

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

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

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

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

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

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

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

llvm-toolchain-13 (1:13.0.0~+rc1-1~exp1) unstable; urgency=medium

  * New snapshot release

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

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

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

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

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

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)

llvm-toolchain-12 (1:12.0.1-19) UNRELEASED; urgency=medium

  * Build clangd with GRPC support
    Thanks to Sam McCall for the patch

llvm-toolchain-12 (1:12.0.1-18) unstable; urgency=medium

  * Unbreak llvm-toolchain-12 on buster.
    -fuse-ld=gold wasn't passed to compiler-rt. it was using bfd.
    And binutils shipping in buster has a bug preventing this to work:
    https://github.com/llvm/llvm-project/issues/42339
  * Rename ocaml-nox => ocaml-base (Closes: #1002608)
  * Remove Build-Conflicts: ocaml

llvm-toolchain-12 (1:12.0.1-17) unstable; urgency=medium

  * Rebuild to workaround the coinstallability issue (Closes: #996858)

llvm-toolchain-12 (1:12.0.1-16) unstable; urgency=medium

  [ Erik Maciejewski ]
  * use make variables populated by /usr/share/dpkg/buildflags.mk and remove
    _EXTRA suffix from STAGE_1_ and STAGE_2_ flag vars to improve clarity and
    readability for the multi-stage setup in debian/rules
  * remove some redundant cmake options (options with the same value as their
    default) from, and move PYTHON_EXECUTABLE cmake option to, the cmake
    configure command in debian/rules
  * re-disable fixfilepath in dpkg-buildflags in favor of using the more llvm
    aware implementation provided by the llvm-project by setting
    LLVM_USE_RELATIVE_PATHS_IN_FILES=ON in both stages of the toolchain
    build in debian/rules

  [ Sylvestre Ledru ]
  * autopkgtest/integration-test-suite-test: restrict to arm64/amd64 for now

llvm-toolchain-12 (1:12.0.1-15) unstable; urgency=medium

  * Disable lldb on mipsel and mips64el as it isn't supported
    See https://reviews.llvm.org/D102872
    (Closes: #997011)

  [ Erik Maciejewski ]
  * disable compiler-rt builtins for unsupported arch s390x in debian/rules
  * set arm toolchain arch profiles explicitly to debian baselines in
    debian/rules as the target host triples alone are ambiguous and compiler
    defaults and debian baselines may not align
  * add arch specific config for powerpc to debian/rules and set host target
    triple and compiler-rt config to force correct arch profile for builtins
  * set LIBCXX_USE_COMPILER_RT to OFF in debian/rules to disable builtins when
    libunwind is not enabled since the unwind implementation with gnu builtins
    will then be required

llvm-toolchain-12 (1:12.0.1-14) unstable; urgency=medium

  * fix build flag inconsistencies (potentially causing build failures) by
    utilizing dpkg-buildflags for defaults where appropriate and making sure all
    flags intended for a given stage are also applied to the stage's builtins
    and runtimes builds
  * re-enable fixfilepath for use with dpkg-buildflags in debian/rules as it has
    been supported since clang-10
  * establish a consistent STAGE_[stage]_ prefix naming scheme for stage
    variables and replace STAGE1_AND_STAGE2_ prefix with STAGE_ALL_ prefix for
    better future-proofing in debian/rules
  * modify stage dir var names to use new prefix scheme in debian/rules
  * add explicit s390x build options to debian/rules, set
    LLVM_HOST_TRIPLE=s390x-linux-gnu and COMPILER_RT_DEFAULT_TARGET_ONLY=ON
    so that builtins are only built for the explicit host arch (Closes: #996802)

llvm-toolchain-12 (1:12.0.1-13) unstable; urgency=medium

  * update rules to incorporate relevant arch specific configs from snapshot
  * patch llvm runtimes cmake build to add a check and only set up and build
    compiler-rt builtins if they have not been disabled in a runtimes build
  * patch compiler-rt builtins cmake build to fix default arch detection for
    armhf by adding the same target triple handling used for compiler-rt libs
  * remove legacy var for use when libcxx was a standalone build

llvm-toolchain-12 (1:12.0.1-12) unstable; urgency=medium

  * re-disable building builtins on armel as they still fail (Closes: #996828)
  * add patch to libcxxabi cmake build for adding builtins to lib flags fixing
    an issue where builtins were not being linked into libcxxabi when
    LIBCXXABI_USE_COMPILER_RT=ON (Closes: #996796)

llvm-toolchain-12 (1:12.0.1-11) unstable; urgency=medium

  * add missing LIBUNWIND_USE_COMPILER_RT to CLANG_BOOTSTRAP_PASSTHROUGH to link
    correct compiler-rt lib in stage2
  * consolidate two conditionals for libatomic that were essentially the same,
    but the one removed could conflict with BOOTSTRAP_SHARED_LINK_FLAGS
    elsewhere in the rules file
  * attempt to fix arm builtins by adding COMPILER_RT_DEFAULT_TARGET_ONLY=ON to
    armel and armhf toolchain build options to prevent related arches that might
    not be supported on the build host from being included in the build (like
    armv6m soft-float on the armhf build host)
  * reorganize flags and cmake options around stages for the toolchain build
  * set baseline arch to armv5t, remove older 3.8 workaround for armel build
  * update to debian host triple for the armhf build

  [ Jordan Justen ]
  * d/rules: Add amdgcn-mesa-mesa3d to libclc build.
    Closes: #993904, #995069

  [ Sylvestre Ledru ]
  * Bring back the llvm manpages (Closes: #995684)
    Were generated at the wrong place

llvm-toolchain-12 (1:12.0.1-10) unstable; urgency=medium

  * evolve llvm build configuration in rules to leverage the two stage build
    with runtimes support whereby the resulting stage2 (final) compiler is used
    to build the stage2 (final) runtimes as part of a single monolithic build
  * the stage2 runtimes build now includes compiler-rt, libcxx and libcxxabi as
    well as libunwind and openmp where supported. Additionally, legacy
    corresponding standalone build targets are removed from the rules file
  * patch openmp build to include required runtimes as dependencies to build
    targets so they are built first when included as part of a runtimes build
    since openmp can depend on them
  * patch libclc build to set rpath for prepare_builtins build utility to find
    correct stage2 libs at runtime when executed as part of a build
  * patch libcxx build so that if libatomic is found, only link it if libgcc is
    the rtlib
  * patch compiler-rt build to suppress xray and testing warns when not enabled
  * patch llvm linker detection to account for vendor being prepended to lld
    version string
  * remove several existing patches incorporating workarounds no longer required
    by the modified build configuration

  [ Sylvestre Ledru ]
  * If parallel is not set in DEB_BUILD_OPTIONS, use nproc
  * Add source-is-missing llvm/test/* / lldb/test/* / lld/test/*
    to the source override
  * Remove old override 'outdated-autotools-helper-file'

  [ John Paul Adrian Glaubitz ]
  * Disable libunwind on sparc, sparc64 and x32

llvm-toolchain-12 (1:12.0.1-9) unstable; urgency=medium

  * 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

llvm-toolchain-12 (1:12.0.1-8) unstable; urgency=medium

  * Add back CMAKE_EXTRA to build LLVM gold (Closes: #993664)

  [  Gianfranco Costamagna ]
  * Refresh symbols on riscv64

llvm-toolchain-12 (1:12.0.1-7) unstable; urgency=medium

  * Add debian/source/options to ignore the diff (much much faster to repack)
  * cmake: use ON instead of YES for consistency
  * Don't generate the llvm-mcmarkup & lldb-mi manpages (don't exist anymore)
    (LP: #1940713)

  [  Gianfranco Costamagna ]
  * Add a patch to fix omp build on riscv64
  * Don't build lldb on riscv64, fails to build due to missing
    CreateHostNativeRegisterContextLinux implementation on this architecture.

llvm-toolchain-12 (1:12.0.1-6) unstable; urgency=medium

  * Fixup build process on riscv64, the architecture building was enabled
    in control file but not in rules file, neither required build-deps were
    installed. (note: this should fail, but at least we will have a build log
    stored.
  * Add ocaml support on riscv64.
  * Don't require hello package on i386 (helps Ubuntu alternate dependencies)

llvm-toolchain-12 (1:12.0.1-5) unstable; urgency=medium

  [ Jordan Justen ]
  * Include SPIR-V (*.spv) outputs in libclc package

llvm-toolchain-12 (1:12.0.1-4) unstable; urgency=medium

  * Make libunwind-dev depends on libunwind
  * Don't build libunwind on hurd, armel, powerpc & mipsel
  * Remove old svn reference in the usage dh_strip & dh_makeshlibs

llvm-toolchain-12 (1:12.0.1-3) unstable; urgency=medium

  * Build libunwind only on amd64 arm64 armhf i386
    mips64el ppc64el ppc64 riscv64 sparc sparc64
    Not supported on s390x for example
  * libc++ & libc++ abi: only pass -DLIBCXXABI_USE_LLVM_UNWINDER=YES
    if libunwind is available on the platform

llvm-toolchain-12 (1:12.0.1-2) unstable; urgency=medium

  * Generate libunwind-12 & libunwind-12-dev packages
  * Add the following option to the libc++ build:
    -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
    -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
    -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF
     to address upstream bug 46321
  * Make libc++abi use libunwind

  [ Kasper Kantz ]
  * Add riscv64 architecture in control
    enable liblldb, libomp and others which are
    currently unavailable in riscv64 repository.

  [ Krzysztof Aleksander Pyrkosz ]
  * Add libxml2 as a dependency as it is necessary
    for llvm manifest tool (llvm-mt)
    (Closes: #990537)

  [ Jordan Justen ]
  * d/rules: Adjust cmake defines to fix libclc.pc paths
  * Add the following option to the libc++ build:
    -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
    -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
    -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF
     to address upstream bug 46321
  * Build libunwind

  [ Kasper Kantz ]
  * Add riscv64 architecture in control
    enable liblldb, libomp and others which are
    currently unavailable in riscv64 repository.

  [ Krzysztof Aleksander Pyrkosz ]
  * Add libxml2 as a dependency as it is necessary
    for llvm manifest tool (llvm-mt)
    (Closes: #990537)

  [ Jordan Justen ]
  * d/rules: Adjust cmake defines to fix libclc.pc paths

llvm-toolchain-12 (1:12.0.1-1) unstable; urgency=medium

  * New upstream release

llvm-toolchain-12 (1:12.0.1~+rc4-1) unstable; urgency=medium

  * New testing upstream release

llvm-toolchain-12 (1:12.0.1~+rc3-1) unstable; urgency=medium

  * New testing upstream release
  * Fix the path to analyze-{cc,c++} for scan-build-py with
    --intercept-first (scan-build-py-fix-analyze-path.diff)

llvm-toolchain-12 (1:12.0.1~+rc2-1) unstable; urgency=medium

  * New testing upstream release

llvm-toolchain-12 (1:12.0.1~+rc1-1) unstable; urgency=medium

  [ 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

  [ Sylvestre Ledru ]
  * backport D101773 to fix an llvm ir issue on mipsel
    in mips/mips-D101773-reloc.patch
    thanks to Ximin Luo
    (Closes: #988965)

llvm-toolchain-12 (1:12.0.1~+rc1-1~exp1) unstable; urgency=medium

  * New testing upstream release

llvm-toolchain-12 (1:12.0.0-3) unstable; urgency=medium

  [ Timo Aaltonen ]
  * Build libclc. (Closes: #942709)

  [ Sylvestre Ledru ]
  * Upload to unstable
  * Also build lld on s390x

llvm-toolchain-12 (1:12.0.0-2) experimental; urgency=medium

  [ Matthias Klose ]
  * Improve the clean rule
  * Disable again LTO
  * Create a new package llvm-12-linker-tools:
    Contains the LLVMgold and LLVMPolly linker plugins.

llvm-toolchain-12 (1:12.0.0-1) unstable; urgency=medium

  * New upstream release

llvm-toolchain-12 (1:12.0.0~++rc5-2) unstable; urgency=medium

  * Add -DCMAKE_SUPPRESS_REGENERATION=ON to limit the number of calls
    to cmake
    Try to workaround a bug on llvm-toolchain-stretch-12-binaries
    architecture=s390x,stretch

llvm-toolchain-12 (1:12.0.0~++rc5-1) unstable; urgency=medium

  * New testing upstream release
  * Verify that /proc is mounted. It makes some unexpected issues when
    building from a chroot without /proc

llvm-toolchain-12 (1:12.0.0~++rc4-1) unstable; urgency=medium

  * New testing upstream release
  * Cherry-pick https://reviews.llvm.org/D99501 to allow -flto=auto

llvm-toolchain-12 (1:12.0.0~++rc3-4) unstable; urgency=medium

  * Don't fail fsanitize=thread on i386, not supported
  * Don't hard fail on z3 failures with "set -e" at the begin, if z3 support is not available we do fail and exit testsuite without checking the log
  * Don't force gcc-11 anymore on riscv64, gcc-10 has the fixes now

llvm-toolchain-12 (1:12.0.0~++rc3-3) unstable; urgency=medium

  * Cherry-pick upstream commit e3cd3a3c91524c957e06bb0170343548f02b6842
    bring back Reporter.py needing to make scan-view work.

llvm-toolchain-12 (1:12.0.0~++rc3-2) unstable; urgency=medium

  * Fixup omptarget regex error, missing escape

llvm-toolchain-12 (1:12.0.0~++rc3-1) unstable; urgency=medium

  [ Gianfranco Costamagna ]
  * Upload to sid

  [ Sylvestre Ledru ]
  * Ignore source: invalid-arch-string-in-source-relation riscv64 [build-depends: g++-11 [riscv64]]

  [ Matthias Klose ]
  * Also disable CMake's package validation check for omptarget target files (Closes: #983838).

llvm-toolchain-12 (1:12.0.0~++rc3-1~exp1) experimental; urgency=medium

  * New testing upstream release

llvm-toolchain-12 (1:12.0.0~++rc2-1~exp2) experimental; urgency=medium

  * Refresh the openmp symbol list
    In libomp.so.5:
    - GOMP_taskwait_depend
    - GOMP_teams_reg
    - __kmpc_calloc
    - __kmpc_realloc
    - __kmpc_taskloop_5
    And all libomptarget.so.12
  * Only enable libomp-12-doc on supported archs

  [ Matthias Klose <doko@ubuntu.com> ]
  * Build using GCC 11 on riscv64 (Closes: #983837).

llvm-toolchain-12 (1:12.0.0~++rc2-1~exp1) experimental; urgency=medium

  * New rc release

llvm-toolchain-12 (1:12.0.0~++20210127035054+8e464dd76bef-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * experimental New snapshot release now 12 as branched
  * 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)

llvm-toolchain-snapshot (1:12~++20201105093023+cc2a2bb5ce5-1~exp1) experimental; urgency=medium

  * experimental New snapshot release
  * lld-use-link-atomic-i386.diff Try to workaround a linker error
    error: undefined reference to '__atomic_load'
    on sid i386
  * Bring back gold for ppc64el. Doko thinks it is fixed.

  [ John Paul Adrian Glaubitz ]
  * Limit maximum parallel link jobs to 4 on sparc and sparc64

llvm-toolchain-snapshot (1:12~++20201019023155+5a8ac3cc63d-1~exp1) UNRELEASED; urgency=medium

  * experimental New snapshot release
  * experimental New snapshot release
  * experimental New snapshot release
  * experimental New snapshot release

llvm-toolchain-snapshot (1:12~++20200929085817+962a247aebb-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * New snapshot release
  * Install omp.h in instead of /usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/include/
    instead of /usr/lib/llvm-@LLVM_VERSION@/include/openmp/omp
  * Install split-file in llvm-X-tools (like lit)
  * Add new symbols to libclang1:
   - clang_CXRewriter_create
   - clang_CXRewriter_dispose
   - clang_CXRewriter_insertTextBefore
   - clang_CXRewriter_overwriteChangedFiles
   - clang_CXRewriter_removeText
   - clang_CXRewriter_replaceText
   - clang_CXRewriter_writeMainFileToStdOut
   - clang_Cursor_getVarDeclInitializer
   - clang_Cursor_hasVarDeclExternalStorage
   - clang_Cursor_hasVarDeclGlobalStorage

  [ John Paul Adrian Glaubitz ]
  * Link against libatomic on mipsel to fix FTBFS in stage2
  * Link against libatomic on powerpc to fix FTBFS in stage2
  * Use dh-exec to exclude lib/libPolly*.a on powerpc and
    powerpcspe from libclang-common-X.Y-dev.install.in
  * Drop powerpcspe patches merged upstream:
    - debian/patches/powerpcspe/D49754-powerpcspe-clang.diff
    - debian/patches/powerpcspe/D54583-powerpcspe-double-parameter.diff
    - debian/patches/powerpcspe/D56703-powerpcspe-register-spilling.diff

llvm-toolchain-snapshot (1:12~++20200902060857+888049b97a7-1~exp1) UNRELEASED; urgency=medium

  [ Sylvestre Ledru ]
  * Install omp.h in instead of /usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/include/
    instead of /usr/lib/llvm-@LLVM_VERSION@/include/openmp/omp
  * Install split-file in llvm-X-tools (like lit)

  [ John Paul Adrian Glaubitz ]
  * Link against libatomic on mipsel to fix FTBFS in stage2
  * Link against libatomic on powerpc to fix FTBFS in stage2
  * Use dh-exec to exclude lib/libPolly*.a on powerpc and
    powerpcspe from libclang-common-X.Y-dev.install.in

  [ Sylvestre Ledru ]
  * experimental New snapshot release

llvm-toolchain-snapshot (1:12~++20200804122259+4be13b15d69-1~exp2) UNRELEASED; urgency=medium

  [ Sylvestre Ledru ]
  * New snapshot release
  * Install omp.h in instead of /usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/include/
    instead of /usr/lib/llvm-@LLVM_VERSION@/include/openmp/omp
  * Install split-file in llvm-X-tools (like lit)
  * Add new symbols to libclang1:
   - clang_CXRewriter_create
   - clang_CXRewriter_dispose
   - clang_CXRewriter_insertTextBefore
   - clang_CXRewriter_overwriteChangedFiles
   - clang_CXRewriter_removeText
   - clang_CXRewriter_replaceText
   - clang_CXRewriter_writeMainFileToStdOut
   - clang_Cursor_getVarDeclInitializer
   - clang_Cursor_hasVarDeclExternalStorage
   - clang_Cursor_hasVarDeclGlobalStorage

  [ John Paul Adrian Glaubitz ]
  * Link against libatomic on mipsel to fix FTBFS in stage2
  * Link against libatomic on powerpc to fix FTBFS in stage2
  * Use dh-exec to exclude lib/libPolly*.a on powerpc and
    powerpcspe from libclang-common-X.Y-dev.install.in
  * Drop powerpcspe patches merged upstream:
    - debian/patches/powerpcspe/D49754-powerpcspe-clang.diff
    - debian/patches/powerpcspe/D54583-powerpcspe-double-parameter.diff
    - debian/patches/powerpcspe/D56703-powerpcspe-register-spilling.diff

llvm-toolchain-snapshot (1:12~++20200715052739+d6e79e3dd6d-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * Snapshot is now -12

  [ Samuel Thibault ]
  * debian/patches/hurd/hurd-EIEIO-undef.diff: Remove, upstreamed.
  * debian/patches/hurd/hurd-cxx-paths.diff: Remove, upstreamed.

llvm-toolchain-11 (1:11.1.0-3) unstable; urgency=medium

  * Add two patches from ubuntu to fix lto and gcc-11 build failures
  * Use minimum version for cmake-test
  * Don't require libclang-11-dev on cmake-test
  * Add new llvm-11-linker-tools (from Ubuntu)
  * Merge new fixes from branch=9
  * clang-11: Drop Recommends: libomp-11-dev

llvm-toolchain-11 (1:11.1.0-2) unstable; urgency=medium

  * Adjust the cmake test to unbreak autopkgtest

llvm-toolchain-11 (1:11.1.0-1) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * Upload to unstable
  * bump autopkgtest cmake version (Closes: #994501)
    Thanks to Timo Röhling for the patch

  [ Gianfranco Costamagna ]
  * Cherry-pick upstream commit to fix a libgl1-mesa-dri texture failure.
    (Closes: #989545)

llvm-toolchain-11 (1:11.1.0-1~exp2) experimental; urgency=medium

  * Fix the default binary path for scan-build-py to clang-11 (instead of
    clang) - see scan-build-py-fix-default-bin.diff
    tested by
    https://github.com/opencollab/llvm-toolchain-integration-test-suite/

  [ Krzysztof Aleksander Pyrkosz ]
  * Add libxml2 as a dependency as it is necessary
    for llvm manifest tool (llvm-mt)
    (Closes: #990537)
    - not really working for now

llvm-toolchain-11 (1:11.1.0-1~exp1) experimental; urgency=medium

  * New upstream release
    Should be mostly minor fixes
    Was driven by https://bugs.llvm.org/show_bug.cgi?id=46526
    but as we are not impacted, I reverted the change in
    debian/patches/revert-abi-change-clang.diff
  * Also build lld on s390x
  * Fix the path to analyze-{cc,c++} for scan-build-py with
    --intercept-first (scan-build-py-fix-analyze-path.diff)
  * Backport bug #47591 to fix a miscompilation in bpftrace
    (Closes: #990220)
  * Only enable libomp-11-doc on supported archs

llvm-toolchain-11 (1:11.0.1-2) unstable; urgency=medium

  * Fix the changelog

llvm-toolchain-11 (1:11.0.1-1) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * New stable release

  [ Gianfranco Costamagna ]
  * Drop old patch, upstream now
  * Run dh_makeshlibs with -V parameter (Closes: #977814)

llvm-toolchain-11 (1:11.0.1~+rc2-1) unstable; urgency=medium

  * New snapshot release
  * Remove 'gnu-assembler-compat.diff' - merged upstream

llvm-toolchain-11 (1:11.0.1~+rc1-1) unstable; urgency=medium

  [ Alexander Volkov ]
  * Fix description of libclang-cpp11-dev package.

  [ Sylvestre Ledru ]
  * Upload to unstable to help doko with gcc
    11.0.1 will be released before the freeze

llvm-toolchain-11 (1:11.0.1~+rc1-1~exp1) experimental; urgency=medium

  [ Gianfranco Costamagna ]
  * gnu-assembler-compat.diff: Add upstream patch D92052 to fix a
    gcn offload compiler issue with gcc (Closes: #975692)

  [ Sylvestre Ledru ]
  * New snapshot release
  * Remove fix-clang-format-bug-47589.patch (applied upstream)

llvm-toolchain-9 (1:9.0.1-19) unstable; urgency=medium

  * Add two patches from ubuntu to fix lto and gcc-11 build failures

llvm-toolchain-9 (1:9.0.1-18) unstable; urgency=medium

  [ Gianfranco Costamagna ]
  * Cherry-pick nmu again. (version 16.1)
  * bump minimum cmake version on qualify-clang.sh too
  * simplify cmake test without minor version
  [ Andreas Beckmann <anbe@debian.org> ]
  * clang-9: Drop Recommends: libomp-9-dev which is not co-installable with
    libomp-11-dev (and libomp-dev) for smoother upgrades of libomp-dev from
    buster to bullseye.  (Closes: #990452)

llvm-toolchain-9 (1:9.0.1-17) unstable; urgency=medium

  * Remove an old breaks/replaces for 9 which was causing
    some issues on Debian buster. Thanks to Julien Wajsberg
    for the bug report
  * bump autopkgtest cmake version (Closes: #994501)
    Thanks to Timo Röhling for the patch
  * cherry pick 68d5235cb58f988c71b403334cd9482d663841ab to build
    with newer version of the kernel

llvm-toolchain-9 (1:9.0.1-16) unstable; urgency=medium

  * Only enable libomp-9-doc on supported archs

  [ Adrian Bunk ]
  * Fix the fuzzer build on i386.

  [ Sylvestre Ledru ]
  * Ignore some tests on i386 to get autopkgtest fixed (Closes: #972334)

llvm-toolchain-11 (1:11.0.0-4) unstable; urgency=medium

  * Cherry-pick some fixes from
    https://github.com/opencollab/llvm-toolchain-integration-test-suite/
  * Only install hwasan_symbolize when found
  * Don't use gold on ppc64el. It fails to build in that case
    (Closes: #972317)

  [ John Paul Adrian Glaubitz ]
  * Limit maximum parallel link jobs to 4 on sparc and sparc64

llvm-toolchain-11 (1:11.0.0-3) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * Rebuild to fix the coinstall issues (Closes: #972323)
  * Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.

llvm-toolchain-11 (1:11.0.0-2) unstable; urgency=medium

  * Fix a clang-format issue. Fix bug #47589

llvm-toolchain-11 (1:11.0.0-1) unstable; urgency=medium

  * New upstream release

llvm-toolchain-11 (1:11.0.0~+rc6-1) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * New rc release
  * remove all artifacts after tests

  [ Gianfranco Costamagna ]
  * qualify-clang.sh: exclude z3 tests when support is not available,
    not based on libz3-dev installation but on the error returned by
    clang invocation

llvm-toolchain-11 (1:11.0.0~+rc5-1) unstable; urgency=medium

  * New rc release

llvm-toolchain-11 (1:11.0.0~+rc4-1) unstable; urgency=medium

  * New rc release
  * Fix one more test in autopkgtest

llvm-toolchain-11 (1:11.0.0~+rc3-2) unstable; urgency=medium

  * Update of the symbol list of libomp5:
    - GOMP_loop_maybe_nonmonotonic_runtime_next
    - GOMP_loop_maybe_nonmonotonic_runtime_start
    - GOMP_loop_nonmonotonic_runtime_next
    - GOMP_loop_nonmonotonic_runtime_start
    - GOMP_loop_ull_maybe_nonmonotonic_runtime_next
    - GOMP_loop_ull_maybe_nonmonotonic_runtime_start
    - GOMP_loop_ull_nonmonotonic_runtime_next
    - GOMP_loop_ull_nonmonotonic_runtime_start
    - GOMP_parallel_loop_maybe_nonmonotonic_runtime
    - GOMP_parallel_loop_nonmonotonic_runtime
    - omp_display_env
  * Bring back LLVM_POLLY_LINK_INTO_TOOLS=ON to workaround the error
    clang (LLVM option parsing): Unknown command line argument '-polly'.
    Try: 'clang (LLVM option parsing) --help'
    Also found in autopkgtest
  * In the autopkgtest tests, update the opt arguments (-q removed and
    -basicaa renamed to -basic-aa)
  * Disable test executions on mipsel (timeout)

llvm-toolchain-11 (1:11.0.0~+rc3-1) unstable; urgency=medium

  * New rc release

llvm-toolchain-11 (1:11.0.0~+rc2-6) unstable; urgency=medium

  * Fix "libc++-11-dev includes libc++abi-11-dev headers"
    (Closes: #969274)
  * Install llvm examples in llvm-11-examples (Closes: #969339)

llvm-toolchain-11 (1:11.0.0~+rc2-5) unstable; urgency=medium

  [ John Paul Adrian Glaubitz ]
  * Link against libatomic on powerpc to fix FTBFS in stage2
  * Use dh-exec to exclude lib/libPolly*.a on powerpc and
    powerpcspe from libclang-common-X.Y-dev.install.in

  [ Gianfranco Costamagna ]
  * autopkgtests: ignore binfmts enable command return value.

llvm-toolchain-11 (1:11.0.0~+rc2-4) unstable; urgency=medium

  * integration-test-suite-test: change the configuration for 11

llvm-toolchain-11 (1:11.0.0~+rc2-3) unstable; urgency=medium

  * Fix testsuite by ignoring binfmts test
    (can't be enabled on autopkgtests)

llvm-toolchain-11 (1:11.0.0~+rc2-2) unstable; urgency=medium

  [ Gianfranco Costamagna ]
  * Disable ocaml support on i386, not reasonable to support it there
    (specially for Ubuntu)
  * Enable binfmt support before using it in tests, to fix them

  [ Sylvestre Ledru ]
  * Also link against -latomic on mipsel to fix
   /usr/[...]/atomic_base.h:426: undefined reference to `__atomic_load_8'
   for lld to fix the FTBFS
  * Fix a FTBFS on armel with libcxx-armhf-ftbfs.diff
    atomic:2780:16: error: use of undeclared identifier '__libcpp_signed_lock_free'
    typedef atomic<__libcpp_signed_lock_free> atomic_signed_lock_free;
               ^
    atomic:2781:16: error: unknown type name '__libcpp_unsigned_lock_free'; did you mean 'atomic_signed_lock_free'?
    typedef atomic<__libcpp_unsigned_lock_free> atomic_unsigned_lock_free;

llvm-toolchain-11 (1:11.0.0~+rc2-1) unstable; urgency=medium

  * New snapshot release

llvm-toolchain-11 (1:11.0.0~+rc1-2) unstable; urgency=medium

  * Don't install ompt-multiplex.h on armhf, mipsel and mips64el
    (Closes: #967944)

llvm-toolchain-11 (1:11.0.0~+rc1-1) unstable; urgency=medium

  * Testing release

llvm-toolchain-11 (1:11~++20200715043845+0e377e253c1-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * branching of snapshot into 11

  [ Samuel Thibault ]
  * debian/patches/hurd/hurd-EIEIO-undef.diff: Remove, upstreamed.
  * debian/patches/hurd/hurd-cxx-paths.diff: Remove, upstreamed.

llvm-toolchain-snapshot (1:11~++20200701093119+ffee8040534-1~exp1) experimental; urgency=medium

  * New snapshot release
  * libc++ requires the LLVM_PATH, adding it
  * Remove no-z3.patch, seems to be merged upstream
  * No longer install clang-import-test (upstream change)
    See https://reviews.llvm.org/D82169

llvm-toolchain-snapshot (1:11~++20200623122106+cd6848f6e1d-1~exp1) experimental; urgency=medium

  * experimental New snapshot release
  * Add -DLLVM_POLLY_LINK_INTO_TOOLS=OFF to workaround
    https://bugs.llvm.org/show_bug.cgi?id=45571
  * New symbol clang_Type_getValueType added
  * Install usr/lib/llvm-11/lib/cmake/lld/*.cmake
    in liblld-11-dev
  * Upstream change ad97ccf6b26a29262c9cbf5b3e7f6e84c6dcf55f
    broke clangd-atomic-cmake.patch causing some undef symbol on
    i386 and atomic
  * Also install ompt-multiplex.h in libomp-X-dev
  * revert-sphinx-deprecation.diff: revert the sphinx update as it breaks
    debian buster

llvm-toolchain-snapshot (1:11~++20200621103028+10b0539772d-1~exp1) UNRELEASED; urgency=medium

  * experimental New snapshot release
  * Add -DLLVM_POLLY_LINK_INTO_TOOLS=OFF to workaround
    https://bugs.llvm.org/show_bug.cgi?id=45571
  * New symbol clang_Type_getValueType added
  * Install usr/lib/llvm-11/lib/cmake/lld/*.cmake
    in liblld-11-dev
  * Upstream change ad97ccf6b26a29262c9cbf5b3e7f6e84c6dcf55f
    broke clangd-atomic-cmake.patch causing some undef symbol on
    i386 and atomic
  * Also install ompt-multiplex.h in libomp-X-dev
  * revert-sphinx-deprecation.diff: revert the sphinx update as it breaks debian
    buster
  * experimental New snapshot release
  * Add -DLLVM_POLLY_LINK_INTO_TOOLS=OFF to workaround
    https://bugs.llvm.org/show_bug.cgi?id=45571
  * New symbol clang_Type_getValueType added
  * Install usr/lib/llvm-11/lib/cmake/lld/*.cmake
    in liblld-11-dev
  * Upstream change ad97ccf6b26a29262c9cbf5b3e7f6e84c6dcf55f
    broke clangd-atomic-cmake.patch causing some undef symbol on
    i386 and atomic
  * experimental New snapshot release
  * experimental New snapshot release
  * experimental New snapshot release
  * experimental New snapshot release
  * experimental New snapshot release
  * experimental New snapshot release
  * experimental New snapshot release

llvm-toolchain-snapshot (1:11~++20200520051603+e8f6b0e583c-1~exp1) UNRELEASED; urgency=medium

  * experimental New snapshot release
  * Add -DLLVM_POLLY_LINK_INTO_TOOLS=OFF to workaround
    https://bugs.llvm.org/show_bug.cgi?id=45571
  * New symbol clang_Type_getValueType added
  * Install usr/lib/llvm-11/lib/cmake/lld/*.cmake
    in liblld-11-dev
  * Upstream change ad97ccf6b26a29262c9cbf5b3e7f6e84c6dcf55f
    broke clangd-atomic-cmake.patch causing some undef symbol on
    i386 and atomic
  * experimental New snapshot release

llvm-toolchain-snapshot (1:11~++20200411120955+c65e6079fc9-1~exp1) experimental; urgency=medium

  * New snapshot release
  * Bring back libc++-experimental
  * remove no-cgi.patch - applied upstream
  * Also install liblldMachO2.a in liblld
  * Reorder the cmake arg
  * Update the copyright file with recent changes (Closes: #956287)
    Thanks to Michael Lustfield for the detective work

llvm-toolchain-snapshot (1:11~++20200409051253+d08105482e1-1~exp1) experimental; urgency=medium

  * New snapshot release
  * Bring back libc++-experimental
  * remove no-cgi.patch - applied upstream
  * Also install liblldMachO2.a in liblld
  * Reorder the cmake arg
  * Update the copyright file with recent changes (Closes: #956287)
    Thanks to Michael Lustfield for the detective work

llvm-toolchain-snapshot (1:11~++20200307074845+ec1d1f6ae70-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * experimental New snapshot release
  * Install clang-tidy headers in libclang-X.Y-dev
    Path: usr/lib/llvm-11/include/clang-tidy/
    Introduced upstream in https://reviews.llvm.org/D73236

  [ Samuel Thibault ]
  * hurd/hurd-cxx-paths.diff: Drop part of patch applied upstream, fix it so
    it can be applied.
  * clang-tools-X.Y.install.in: Do not try to install hwasan_symbolize on
    hurd-any.

  [ Gianfranco Costamagna ]
  * Add patch to port from old cgi to new html python3 method

llvm-toolchain-snapshot (1:11~++20200123111717+04fd2041561-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * experimental New snapshot release - 11
  * Merge recent 9 changes (python 3 and testsuite mostly)

  [ Gianfranco Costamagna ]
  * fix lldb-10 -P path print (Closes: #945445)
  * Fix lldb python installation path and symlinks
  * Drop version constraint from libffi-dev library, satisfied since
    old-old-stable

llvm-toolchain-10 (1:10.0.1-8) unstable; urgency=medium

  * Don't use gold on ppc64el. It fails to build in that case
    (Closes: #972317)

llvm-toolchain-10 (1:10.0.1-7) unstable; urgency=medium

  [ Samuel Thibault ]
  * debian/patches/hurd/hurd-cxx-paths.diff: Add missing GCC installation
    initialization.

  [ Sylvestre Ledru ]
  * Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
  * Rebuild to address the incompat issues (Closes: #972282)

llvm-toolchain-10 (1:10.0.1-6) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * Add debian/* to the copyright file. Uses the same license
    as LLVM

  [ Julien Cristau ]
  * Cherry-pick "[PowerPC] PPCBoolRetToInt: Don't translate Constant's
    operands".  Fixes rustc crash building firefox-esr.

llvm-toolchain-10 (1:10.0.1-5) unstable; urgency=medium

  [ John Paul Adrian Glaubitz ]
  * Use dh-exec to exclude lib/libPolly*.a on powerpc and
    powerpcspe from libclang-common-X.Y-dev.install.in

  [ Gianfranco Costamagna ]
  * autopkgtests: ignore binfmts enable command return value.

llvm-toolchain-10 (1:10.0.1-4) unstable; urgency=medium

  * Fix testsuite by ignoring binfmts test
    (can't be enabled on autopkgtests)

llvm-toolchain-10 (1:10.0.1-3) unstable; urgency=medium

  * Fix testsuite by enabling binfmts support before using it
    (the default is disabled)

llvm-toolchain-10 (1:10.0.1-2) unstable; urgency=medium

  [ Samuel Thibault ]
  * patches/hurd/hurd-cxx-paths.diff: Refresh, some of the factorization was
    backported from 11 to 10.

  [ Gianfranco Costamagna ]
  * debian/patches/mips-force-nomadd4.patch: Apply and rebase patch to disable
    nomadd4 on mips* (Closes: #964989)
    - thanks Yunqiang Su <wzssyqa@gmail.com> for the patch

  [ Steve Langasek ]
  * Drop ocaml support on i386, which pulls in a series of packages which
    is not reasonable to support.

llvm-toolchain-10 (1:10.0.1-1) unstable; urgency=medium

  * New release

llvm-toolchain-10 (1:10.0.1~+rc4-1) unstable; urgency=medium

  * New RC release (of course, I was wrong)
  * Update the binfmt-support postinstall to match what is done elsewhere
    in Debian
  * Add binfmt-support to one of the autopkgtest tests
    And make sure that the test is only executed when installed correctly
    Otherwise, fails with
    "./foo.bc: cannot execute binary file: Exec format error"
  * patches/remove-trailing-space-version.diff: cherry-pick an upstream patch
    to address https://bugs.llvm.org/show_bug.cgi?id=38998#c15
    trailing whitespace of clang full version causing a display issue
    when building the linux kernel with clang

llvm-toolchain-10 (1:10.0.1~+rc3-1) unstable; urgency=medium

  * New rc release. Should be the last (this is why I am
    uploading to unstable)
  * Ship with integration-test-suite-test and run it with autopkgtest
    integration-test-suite-test is a project started by Serge Guelton
    and myself.
    The goal is to provide a set of tests to verify that llvm/clang/etc
    are working as expected in a distro (Linux, BSD, etc).
    But also to bring a set of expectations of what a LLVM toolchain should
    looks like when shipping to users.
    Serge is taking care of that work for Fedora/Redhat.

llvm-toolchain-10 (1:10.0.1~+rc2-1~exp1) experimental; urgency=medium

  * New rc release
  * Pass CLANG_VENDOR to CLANG_BOOTSTRAP_PASSTHROUGH
    Fix https://bugs.llvm.org/show_bug.cgi?id=38998
    For our friends of https://github.com/ClangBuiltLinux/
  * remove try-to-fix-polly-link.patch and D74453-riscv-atomic_cmp_xchg.diff
    (applied upstream)

llvm-toolchain-10 (1:10.0.1~+rc1-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * first rc of 10.0.1
  * Enable LLVM_ENABLE_DUMP (Closes: #956966)
  * Move binfmt-support as Recommends llvm-10-runtime
    instead of a strong dependencies (Closes: #958127)
  * build libc++ with -DLIBCXX_USE_COMPILER_RT=YES
    and -DLIBCXXABI_USE_COMPILER_RT=YES
  * Remove D76596.diff (merged upstream)

  [ Gianfranco Costamagna ]
  * Don't run tests on riscv64/Ubuntu for now, the virtual machines timeout
    during testsuite (probably lack of proper capable hardware to run it)

llvm-toolchain-10 (1:10.0.0-4) unstable; urgency=medium

  * Also ship polly libs in libclang-common-10-dev.
    Fixes bug #44870 (upstream)
  * move risc patches into their own directory

llvm-toolchain-10 (1:10.0.0-3) unstable; urgency=medium

  * ppc64el/autopkgtest: Just like with arm64, ignore two tests
  * Update the copyright file with recent changes (Closes: #956287)
    Thanks to Michael Lustfield for the detective work

  [ Jessica Clarke ]
  * Cherry-pick upstream patch D74453 to fix atomic compare-and-swap on
    riscv64.

  [ William Grant ]
  * debian/patches/riscv64-multilib-empty.patch: Adjust riscv64 GCC detector
    to also check for existence of crtbegin.o in the default multilib dir,
    like most other ports. Fixes FTBFS on riscv64, since on Ubuntu
    /usr/lib/gcc/riscv64-linux-gnu/10 exists but is empty (gcc-10-base is
    installed, but libgcc-10-dev is not).

llvm-toolchain-10 (1:10.0.0-2) unstable; urgency=medium

  [ Dimitri John Ledkov <xnox@ubuntu.com> ]
  * s390x: set default abi to z196 for debian, and z13 for ubuntu.
    LP: #1864226

  [ Matthias Klose <doko@ubuntu.com> ]
  * Apply D76596.diff, proposed backport from the trunk. LP: #1867173.
    This was causing postgresql to FTBFS with llvm 10

llvm-toolchain-10 (1:10.0.0-1) unstable; urgency=medium

  * New release

llvm-toolchain-10 (1:10.0.0~+rc6-1) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * Sixth RC release
  * Really fix the arm64 autopkgtest

  [ Gianfranco Costamagna ]
  * debian/patches/d21664cce1db8debe2528f36b1fbd2b8af9c9401.patch:
    - cherry-pick upstream commit to hopefully unbreak mesa builds

llvm-toolchain-10 (1:10.0.0~+rc5-1) unstable; urgency=medium

  * Fith RC release
  * Make autopkgtest/qualify-clang.sh work on arm64

llvm-toolchain-10 (1:10.0.0~+rc4-1) unstable; urgency=medium

  * Fourth RC release
  * Disable the emmintrin.h build test in qualify-clang.sh on arm64
  * Add some tests for clangd usage

llvm-toolchain-10 (1:10.0.0~+rc3-1) unstable; urgency=medium

  * Third RC release

llvm-toolchain-10 (1:10.0.0~+rc2-3) unstable; urgency=medium

  * Disable libfuzzer on x86
    https://bugs.llvm.org/show_bug.cgi?id=43677
    FTBFS otherwise
  * Add a libclang-cpp10-dev package (needed to unbreak the cmake)
    https://bugs.llvm.org/show_bug.cgi?id=42432
    This makes libclang-cpp10 usable and polish the links and dups
  * Fix the *clang* desc as C++17 is supported

llvm-toolchain-10 (1:10.0.0~+rc2-2) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * Bring back libfuzzer, for some reasons I don't remember
    I disabled it:
    https://bugs.llvm.org/show_bug.cgi?id=41956
  * Silent the polly tests in debian/qualify-clang.sh
    clang (LLVM option parsing): Unknown command line argument
    '-polly'.  Try: 'clang (LLVM option parsing) --help'

  [ Aurelien Jarno ]
  * Also disable hwasan_symbolize on mipsel mips64el riscv64

  [ Gianfranco Costamagna ]
  * Patch to convert old python3 cgi method into the new html one

llvm-toolchain-10 (1:10.0.0~+rc2-1) unstable; urgency=medium

  * Upload to unstable to get ci.debian.net testing
  * Also disable hwasan_symbolize on armel s390x powerpc ppc64

llvm-toolchain-10 (1:10.0.0~+rc2-1~exp1) experimental; urgency=medium

  * Second RC release
    - Should fix the s390x issue (reported upstream)
    (Closes: #950900)
  * Do not try to install hwasan_symbolize on armhf ppc64el
    as it isn't built
    (Closes: #950899)

  [ Samuel Thibault ]
  * hurd/hurd-cxx-paths.diff: Fix patch so it can be applied.
  * clang-tools-X.Y.install.in: Do not try to install hwasan_symbolize on
    hurd-any.

llvm-toolchain-10 (1:10.0.0~+rc1-1~exp1) experimental; urgency=medium

  [ Gianfranco Costamagna ]
  * fix lldb-10 -P path print (Closes: #945445)
  * Fix lldb python installation path and symlinks
  * Drop version constraint from libffi-dev library, satisfied since
    old-old-stable

  [ Sylvestre Ledru ]
  * First RC release
  * For now, disable ThinLTO usage because:
      - LLVM_ENABLE_LTO doesn't work with gcc >= 9 (option not accepted)
      - BOOTSTRAP_LLVM_ENABLE_LTO is producing some large binary
        (uses llvm ir instead of binary code)
        See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943623
  * Thanks to this previous change, don't hardcode gcc 8

llvm-toolchain-10 (1:10~++20200121023453+de4b2a7fad6-1~exp1) experimental; urgency=medium

  * Branch llvm-toolchain-10 into its own branch
  * Merge recent 9 changes (python 3 and testsuite mostly)

llvm-toolchain-snapshot (1:10~+20191229111838+6991d5728f1-1~exp1) experimental; urgency=medium

  * experimental New snapshot release
  * Add a '+' in the version (as the old upload is high than the one without)
    Will be removed in 11
  * Sync 9 into 10
  * Change of the version layout date+short git version
  * Install /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher_static.a
    /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher.so in libomp-X-dev
  * Install usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/bin/hwasan_symbolize in clang-tools-X.Y
  * Introduce python3-clang-10 (closes: #942826)
  * Remove python-lldb-10
  * Remove Python 2 deps (Closes: #945695)
  * Disable the polly testsuite:
    - freezing in the current build
    - not a big deal if failing

llvm-toolchain-snapshot (1:10~+201911120943210600592dd459242-1~exp1) experimental; urgency=medium

  * Repack to move to git
  * Change the versioning scheme to git:
    Infos of the last commit
    - ~+ (this syntax is to make sure that this version > ~svn)
    - date
    - hour/minute/second
    - short git hash
  * Move the checkout of the sources from svn to git
  * Use -DLLVM_ENABLE_PROJECTS instead of symlinks
  * Use -DBOOTSTRAP_LLVM_ENABLE_LTO instead of
    -DLLVM_ENABLE_LTO (not sure what it wasn't done)
  * clang: Force the installation of libclang-cpp with the exact same version
    and remove libclang as dep
  * Bunch of changes coming from the branch 9

llvm-toolchain-snapshot (1:10~svn375339-1~exp1) experimental; urgency=medium

  * New snapshot release
  * Last upload before the move to git
  * lldb-libname.diff: disable for now, seems it that it is now handled
    by cmake https://reviews.llvm.org/D68858. TODO: check it still work
  * Remove "revert-r373786-libclang-cpp.diff" (applied upstream)
  * Add dependency between libclang-cpp => libllvm with the exact version
    (Closes: #942526)
  * Build using -DCLANG_LINK_CLANG_DYLIB=ON to force the usage of dynamic
    library instead of static library when building clang tools.
    Decreases the total size from 510M to 278M (amd64)

llvm-toolchain-snapshot (1:10~svn374655-1~exp1) experimental; urgency=medium

  * New snapshot release
  * Install pp-trace, clang-move and clang-offload-wrapper in
    clang-tools-10
  * Revert
    "[clang-tools-extra] [cmake] Link against libclang-cpp whenever
    possible" as it introduces a dep from libclang to libclang-cpp
    Breaking the symbol list (and people should like to libclang-cpp
    if they want to use C++ api)
    https://bugs.llvm.org/show_bug.cgi?id=43589
  * Added a check in debian/rules to prevent that from happening again

llvm-toolchain-snapshot (1:10~svn372920-1~exp1) experimental; urgency=medium

  * New snapshot release
  * Add two new symbols to libclang1:
    - clang_install_aborting_llvm_fatal_error_handler
    - clang_uninstall_llvm_fatal_error_handler
  * site-packages renamed to dist-packages in python3-lldb-10

llvm-toolchain-snapshot (1:10~svn370840-1~exp1) experimental; urgency=medium

  * New snapshot release
  * Update of the license file. Upstream moved to Apache 2
    with LLVM exception (Closes: #935149)
  * Debian moved to gcc-9. This gcc version now refuses -flto="Thin"
    Move from LLVM_ENABLE_LTO="Thin" to BOOTSTRAP_LLVM_ENABLE_LTO="Thin"
    to mitigate the issue (the argument should be passed only at the
    second stage of the build process)
    See https://bugs.llvm.org/show_bug.cgi?id=43193
  * Rename libclang-cpp1-10 to libclang-cpp10 to match the soname and libllvm10
    naming (at some point, all libs should do that ...)
  * New symbols in libomp5:
   - GOMP_loop_nonmonotonic_dynamic_next
   - GOMP_loop_nonmonotonic_dynamic_start
   - GOMP_loop_nonmonotonic_guided_next
   - GOMP_loop_nonmonotonic_guided_start
   - GOMP_loop_ull_nonmonotonic_dynamic_next
   - GOMP_loop_ull_nonmonotonic_dynamic_start
   - GOMP_loop_ull_nonmonotonic_guided_next
   - GOMP_loop_ull_nonmonotonic_guided_start
   - GOMP_parallel_loop_nonmonotonic_dynamic
   - GOMP_parallel_loop_nonmonotonic_guided
  * Workaround bug https://bugs.llvm.org/show_bug.cgi?id=42994
    (fails to link on Debian buster)
  * for Ubuntu xenial: pass PYTHON_EXE to the stage2 build

llvm-toolchain-snapshot (1:10~svn368740-1~exp1) experimental; urgency=medium

  [ Gianfranco Costamagna ]
  * Fixed wrong shlib generation of libomp5 library
  * clangd: fix missing epoch in breaks/replaces relationship
  * testsuite, add python, used in some test
  * Cherry-pick various fixes from branch 8 and 9, do not break anymore with libllvm3.9v4

  [ Aurelien Jarno ]
  * Add support for riscv64:
    - Always link with -latomic on riscv64.
    - patches/clang-riscv64-multiarch.diff: add multiarch paths for riscv64.
    - patches/clang-riscv64-rv64gc.diff: default to lp64d ABI and rv64gc ISA.
  * Document riscv64 debian specific changes in README.source.

  [ Sylvestre Ledru ]
  * New snapshot release
  * lldb-mi removed
  * Ship clangd-10 as a new package (Closes: #932432)

llvm-toolchain-snapshot (1:10~svn368706-1~exp1) experimental; urgency=medium

  [ Sylvestre Ledru ]
  * lldb-mi removed

  [ Gianfranco Costamagna ]
  * clangd: fix missing epoch in breaks/replaces relationship
  * testsuite, add python, used in some test
  * Cherry-pick various fixes from branch 8 and 9, do not break anymore with libllvm3.9v4

  [ Sylvestre Ledru ]
  * New snapshot release

llvm-toolchain-snapshot (1:10~svn366440-1~exp1) experimental; urgency=medium

  * New version in snapshot (10)

llvm-toolchain-9 (1:9.0.1-15) unstable; urgency=low

  * Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
  * Ensure fixfilepath feature is disabled.  The fixfilepath
    feature sets a -ffile-prefix-map flag, which is only
    supported in clang-10. (Closes: #972751).
    Thanks to Vagrant Cascadian for the patch
  * Don't use gold on ppc64el. It fails to build in that case
    (Closes: #972317)

llvm-toolchain-9 (1:9.0.1-14) unstable; urgency=medium

  * debian/patches/b288d90b39f4b905c02092a9bfcfd6d78f99b191.patch:
  * debian/patches/3185c30c54d0af5bffbff3bcfd721668d086ff10.patch:
    - cherry-pick upstream fixes for ppc64el build failure (Closes: #968174)
  * Previous version closed bug: 964988 (Closes: #964988)

llvm-toolchain-9 (1:9.0.1-13) unstable; urgency=medium

  [ Aurelien Jarno ]
  * Add mips-force-nomadd4.diff to default to +nomadd4 on MIPS. (Closes:
    #964988)

  [ Ximin Luo ]
  * Add 373184.patch to fix soundness issue affecting rustc. (Closes: #959877)
  * Add f8e146f3430de3a6cd904f3f3f7aa1bfaefee14c.patch to fix big-endian
    miscompilation affecting rustc.

llvm-toolchain-9 (1:9.0.1-12) unstable; urgency=medium

  [ Jessica Clarke ]
  * Cherry-pick upstream patch D74453 to fix atomic compare-and-swap on
    riscv64.

  [ William Grant ]
  * debian/patches/riscv64-multilib-empty.patch: Adjust riscv64 GCC detector
    to also check for existence of crtbegin.o in the default multilib dir,
    like most other ports. Fixes FTBFS on riscv64, since on Ubuntu
    /usr/lib/gcc/riscv64-linux-gnu/10 exists but is empty (gcc-10-base is
    installed, but libgcc-10-dev is not).

llvm-toolchain-9 (1:9.0.1-11) unstable; urgency=medium

  * Allow one to build g++ 9 & 10 to fix a gcc build dependency
    (closes: #955144)
    And disable thin lto on all archs
    It needs gcc-8 after after 8 will reject the -flto=thin arg
    And BOOTSTRAP_LLVM_ENABLE_LTO will generate .so with llvm IR instead
    of native code

llvm-toolchain-9 (1:9.0.1-10) unstable; urgency=medium

  * debian/patches/947f9692440836dcb8d88b74b69dd379d85974ce.patch:
    - cherry-pick upstream fix for glibc 2.31

llvm-toolchain-9 (1:9.0.1-9) unstable; urgency=medium

  * Add patch to fix python3.8 test failures with deprecated cgi method, move
    to new html parser

llvm-toolchain-9 (1:9.0.1-8) unstable; urgency=medium

  * Add two new python autopkgtests to avoid regressions in the future
  * Fix m68k architecture
  * Add Myself to uploaders
  * Revert site-packages/dist-packages hacking mv, this is done upstream now

llvm-toolchain-9 (1:9.0.1-7) unstable; urgency=medium

  * Add dependency on libclang-cpp-9 from llvm-9-dev (Closes: #946761)
  * fix lldb-9 -P path print (Closes: #945445)
  * Fix lldb python installation path and symlinks

llvm-toolchain-9 (1:9.0.1-6) unstable; urgency=medium

  * Team upload.
  * Add some more python3 shebangs (Closes: #948497)

llvm-toolchain-9 (1:9.0.1-5) unstable; urgency=medium

  * Install clang in Python3 directory (Closes: #948409)
    - thanks Mike Gabriel for the helpful report!

llvm-toolchain-9 (1:9.0.1-4) unstable; urgency=medium

  * Source only upload to sid
  * Force a python3 shebang on python modules to fix testsuite
  * Do not run z3 tests if z3 support is not enabled

llvm-toolchain-9 (1:9.0.1-3) unstable; urgency=medium

  [ John Paul Adrian Glaubitz ]
  * Build polly docs and manpages only when polly is enabled (Closes: #947236)

  [ Sylvestre Ledru ]
  * Introduce python3-clang-9 (closes: #942826)
  * Remove python-lldb-9
  * Remove Python 2 deps (Closes: #945695)

llvm-toolchain-9 (1:9.0.1-2) unstable; urgency=medium

  [ James Clarke ]
  * Include upstream patch D71028 for rust mips tests (Closes: #946874)

  [ Aurelien Jarno ]
  * Include upstream patch D60657 for rust support on riscv64.

llvm-toolchain-9 (1:9.0.1-1) unstable; urgency=medium

  * New stable release

llvm-toolchain-9 (1:9.0.1~+rc3-2) unstable; urgency=medium

  * Team upload.
  [ Gianfranco Costamagna ]
  * Commit Breaks/Replaces into git

  [ Julian Andres Klode ]
  * Fix llvm-9-tools Breaks/Replaces libclang-common-9-dev (<< 1:9.0.1~+rc2)
    (Closes: #946473)

llvm-toolchain-9 (1:9.0.1~+rc3-1) unstable; urgency=medium

  [ Sylvestre Ledru ]
  * New snapshot release + upload to unstable
  * Use secure URI in debian/watch.
  * Move source package lintian overrides to debian/source.
  * Remove patches force-gcc-header-obj.diff, hurd-pathmax.diff, impl-
    path-hurd.diff, libcxxabi-arm-ehabi-fix.patch, libcxxabi-test-don-t-
    fail-extended-long-double.patch, revert-change-soname.diff, try-to-
    unbreak-thinlto.diff that are missing from debian/patches/series.
  * Rely on pre-initialized dpkg-architecture variables.
  * Move transitional package libclang-cpp1-9 to oldlibs/optional per
    policy 4.0.1.

  [ Aurelien Jarno ]
  * llvm-riscv64-fix-cffi.diff: backport patch to fix CFI directives on
    riscv64 from master.

llvm-toolchain-9 (1:9.0.1~+rc2-1~exp1) experimental; urgency=medium

  * New snapshot release
  * Fix some paths, upstream moved from site-packages
    to dist-packages for python packages
  * Move yaml-bench from libclang-common-X.Y-dev to llvm-X.Y-tools where
    it belongs
    See http://lists.llvm.org/pipermail/llvm-dev/2019-December/137337.html
  * Add a project in the cmake-test to silent a warning
    (Closes: #945489)

llvm-toolchain-9 (1:9.0.1~+rc1-1~exp1) experimental; urgency=medium

  * New snapshot release

llvm-toolchain-9 (1:9.0.0-5) UNRELEASED; urgency=medium

  [ Gianfranco Costamagna ]
  * Patch cmake files to disable the z3 support in Ubuntu
  * Simplify rules file to put -g1 everywhere

  [ Sylvestre Ledru ]
  * Add a project in the cmake-test to silent a warning (Closes: #945489)

llvm-toolchain-9 (1:9.0.0-4) unstable; urgency=medium

  [ Samuel Thibault ]
  * hurd-cxx-paths.diff: Re-introduce patch to find C++ headers.
  * hurd-EIEIO-undef.diff: Drop patch, already fixed a different way upstream.
  * hurd-pathmax.diff: Drop now-useless parts.

  [ Sylvestre Ledru ]
  * Add libz3-dev as dependencies on llvm-X.Y-dev (Closes: #943996)
  * Update build-dep libpfm4-dev to linux-any.
    Thanks to Samuel Thibault for the patch

  [ Gianfranco Costamagna ]
  * Add also Ubuntu focal to the gcc-8 arch list

llvm-toolchain-9 (1:9.0.0-3) unstable; urgency=medium

  * Seems to be ok, uploading to unstable
    (Closes: #942864) fuzzer issues
    (Closes: #943623) libclangIndex.a are llvm ir bitcode

llvm-toolchain-9 (1:9.0.0-3~exp2) experimental; urgency=medium

  [ Weston Ortiz ]
  * Remove incorrect Breaks/Conflicts for lldb-9 package
    https://bugs.llvm.org/show_bug.cgi?id=43451

  [ Sylvestre Ledru ]
  * disable-fuzzer-compiler-rt.diff: bring back this patch.
    Still breaks i386 compiler-rt/fuzzer
    Disable fuzzer only for i386
  * Use stage2 files to build the doc. For some reasons, clang-tools-extra
    html generation stopped working
  * Disable z3 when the version is too old

llvm-toolchain-9 (1:9.0.0-3~exp1) experimental; urgency=medium

  * Revert the change -DBOOTSTRAP_LLVM_ENABLE_LTO to use
    -DLLVM_ENABLE_LTO to see if it fixes 943623
    and/or 942864
    Disable disable-fuzzer-compiler-rt.diff to evaluate the whole thing

llvm-toolchain-9 (1:9.0.0-2) unstable; urgency=medium

  * polly, openmp & lldb aren't enabled for every platform
    So, add to PROJECTS only when enabled
  * clang: Force the installation of libclang-cpp with the exact same version
    and remove libclang as dep
  * With the github move, libfuzzer is now compiled as part of the build
    process. It fails to compile for some unexpected reasons.
    As I have been compiling libfuzzer by hand for a while, just still
    do this.
    See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942864
    https://bugs.llvm.org/show_bug.cgi?id=43677
    disable-fuzzer-compiler-rt.diff
  * Disable all kfreebsd patches:
    - Needs rebasing on snapshot often
    - Didn't build on Debian for a while
    - Not forwarded upstream
    - No support from the team

llvm-toolchain-9 (1:9.0.0-1) unstable; urgency=medium

  * Repack to move to git
  * Move the c…
  • Loading branch information
Simon Chopin authored and testbot committed Oct 14, 2022
1 parent a848b83 commit b0a0775
Show file tree
Hide file tree
Showing 258 changed files with 23,104 additions and 0 deletions.
25 changes: 25 additions & 0 deletions debian/NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
llvm-toolchain-7 (1:7.0.1-1) unstable; urgency=medium

* llvm-toolchain packages are built using clang itself (stage2)
- stage1 = build clang with gcc
- stage2 = clang building itself
This could lead to some unexpected (but rare) ABI issues.

-- Sylvestre Ledru <sylvestre@debian.org> Fri, 16 Nov 2018 13:00:39 +0100

llvm-toolchain-7 (1:7-1) unstable; urgency=medium

* From version 7, llvm-toolchain also provides libc++, libc++abi
and OpenMP packages. Non-coinstallable on purpose.
* Packages, binaries and libraries have been renamed.
Instead of the X.Y naming, we moved to X to match the
naming from upstream.
As example, clang version 7 is named clang-7 (unlike clang-6.0)

-- Sylvestre Ledru <sylvestre@debian.org> Wed, 17 Jan 2018 10:50:39 +0100

llvm-toolchain-snapshot (1:3.6~svn214630-1~exp1) experimental; urgency=medium

* clang is now co-instalable. Available on version 3.4, 3.5 and 3.6

-- Sylvestre Ledru <sylvestre@debian.org> Sat, 02 Aug 2014 12:57:41 +0200
111 changes: 111 additions & 0 deletions debian/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
Organization of the repository
==============================

The debian package for each LLVM point release is maintained as a git branch.
For example, the 10 release lives at in the "10" branch.

The current snapshot release is maintained in the "snapshot" branch.

The easiest way to get all branches is probably to have one
clone per version:

for f in 8 9 10 snapshot; do
git clone git@salsa.debian.org:pkg-llvm-team/llvm-toolchain.git -b $f $f
done

Steps for manually building a snapshot release
==============================================

1) Retrieve the latest snapshot and create original tarballs.

Run the orig-tar.sh script,

$ sh snapshot/debian/orig-tar.sh

which will retrieve the latest version for each LLVM subproject (llvm,
clang, lldb, etc.) from the main development (upstream github). and repack it
as a set of tarballs.

2) Unpack the original tarballs and apply quilt debian patches.

From the branches/ directory run the unpack.sh script,

$ sh unpack.sh

which will unpack the source tree inside a new directory such as
branches/llvm-toolchain-snapshot_3.9~+20191018225217+3b123a2be6d.
(date+hour+short git hash).
Depending on the current snapshot version number and git release,
the directory name will be
different.

Quilt patches will then be applied.

3) Build the binary packages using,

$ fakeroot debian/rules binary

When debugging, successive builds can be recompiled faster by using tools such
as ccache (PATH=/usr/lib/ccache:$PATH fakeroot debian/rules binary).

Retrieving a specific branch or release candidate with orig-tar.sh
==================================================================

When using orig-tar.sh, if you need to retrieve a specific branch, you can pass
the branch name as the first argument. For example, to get the 10 release
branch at
https://github.com/llvm/llvm-project/branches
you should use,

$ sh 10/debian/orig-tar.sh release/10.x

To retrieve a specific release candidate, you can pass the branch name as the
first argument, and the tag rc number as the second argument. For example, to
get the 9.0.1 release candidate rc3 at
https://github.com/llvm/llvm-project/tags
you should use,

$ sh 10/debian/orig-tar.sh 10.0.1 rc3

For a stable release, the syntax is:

$ sh 10/debian/orig-tar.sh 10.0.0


Additional maintainer scripts
=============================

The script qualify-clang.sh that is found at the git debian/ directory
should be used to quickly test a newly built package. It runs a short
set of sanity-check tests and regression tests.

The script releases/snapshot/debian/prepare-new-release.sh is used when
preparing a new point release. It automatically replaces version numbers
in various files of the package.

Making a change to all versions
===============================

Sometimes, we want to make a change on all branches.
In that case, start to make the change from the older
version (example: 8), then, change branch (example: 9) and
$ git merge origin/8
to retrieve the changes


Change in major upstream version
================================
TODO update with the git commands

$ svn copy snapshot VERSION
$ svn commit -m "VERSION branched" VERSION
$ cd VERSION
$ sed -i -e '0,/llvm-toolchain-snapshot/s/llvm-toolchain-snapshot/llvm-toolchain-VERSION/' debian/changelog debian/control
$ svn commit -m "snapshot => VERSION"
$ cd ../snapshot
$ emacs debian/prepare-new-release.sh
# Change the version
$ bash debian/prepare-new-release.sh
$ svn commit -m "new snapshot release"

Now, try build build it.
46 changes: 46 additions & 0 deletions debian/README.source
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
All programs and libraries shipped in this package are trying to stay as close
as possible from upstream.

However, because of the objectives of Debian, besides paths, some changes are
made.

The Debian packaging is also used by apt.llvm.org.

From 12.0.1-10 & 13.0.0-9, the build system use the runtimes build system.
This is now the upstream preferred way to build llvm.
It means that some projects like libc++ or compiler-rt are built once clang
is built.

= File names =

* To make sure that most of the llvm-toolchain packages are co-installable,
files are installed in /usr/lib/llvm-X/
and symlinks are managed by the other package llvm-defaults


= CPU extensions =

* For x86, SSE2 extensions are disabled (and the target CPU is i686 instead of
pentium4).

* For armel, uses float ABI instead of hard.

* For armv7-a, NEON extensions are disabled.

* For mips, FPXX is enabled, MADD4 instructions are disabled.

* For riscv64, the hard-float ABI is used instead of the float one, and
the target CPU is set to RV64GC instead of RV64I.

* For s390x: set default abi to z196 for debian, and z13 for ubuntu.
See https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-10/+bug/1864226

= Libraries =

* sonames are created

* Build-ID are enabled


-- Sylvestre Ledru <sylvestre@debian.org>, Mon, 30 Mar 2020 11:08:10 +0200

14 changes: 14 additions & 0 deletions debian/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
* package utils/creduce-clang-crash.py

* add the support of libclang in llvm default (for now, it is
called libclang1-3.3.so)

* move the header at the right place in libclang-dev

* In 1:7.0.1~+rc2-5, we did:
* Fix a baseline violation on armhf (Closes: #914268)
clang-arm-default-vfp3-on-armv7a.patch has been updated to disable
neon in another place
It caused 200+ tests to fail on arm:
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-7&arch=amd64&ver=1%3A7.0.1%7E%2Brc2-4&stamp=1542503855&raw=0
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-7&arch=amd64&ver=1%3A7.0.1%7E%2Brc2-5&stamp=1542863723&raw=0
Loading

0 comments on commit b0a0775

Please sign in to comment.