llvm-toolchain-10/debian
openKylinBot f5d82cd448 Import Debian changes 1:10.0.0-ok1
llvm-toolchain-10 (1:10.0.0-ok1) yangtze; urgency=medium

  * Build for openKylin.
2022-07-16 17:39:38 +08:00
..
patches Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
source Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
tests Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
NEWS Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
README Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
README.source Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
TODO Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
changelog Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-X.Y-doc.docs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-X.Y-doc.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-X.Y-examples.examples.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-format-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-format-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-format-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tidy-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tidy-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tidy-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tidy-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tools-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tools-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tools-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clang-tools-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clangd-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
clangd-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
compat Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
control Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
copyright Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
debian_path.h Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++-X.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++-X.Y-dev.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++1-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++1-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++1-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++abi-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++abi-X.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++abi-X.Y-dev.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++abi1-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++abi1-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libc++abi1-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-X.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-common-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-common-X.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-cppX.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-cppX.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-cppX.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang-cppX.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang1-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang1-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang1-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libclang1-X.Y.symbols.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblld-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblld-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblld-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblldb-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblldb-X.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblldb-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblldb-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
liblldb-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libllvm-X.Y-ocaml-dev.META.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libllvm-X.Y-ocaml-dev.dirs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libllvm-X.Y-ocaml-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libllvm-X.Y-ocaml-dev.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libllvmX.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libllvmX.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libllvmX.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp-X.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp-X.Y-doc.docs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp5-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp5-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp5-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
libomp5-X.Y.symbols.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
lld-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
lld-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
lldb-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
lldb-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
lldb-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
lldb-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
lldb-X.Y.postinst.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-dev.dirs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-dev.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-dev.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-doc.dirs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-doc.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-examples.dirs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-examples.examples.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-examples.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-runtime.binfmt.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-runtime.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-runtime.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-runtime.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-runtime.postinst.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-runtime.prerm.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-tools.dirs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y-tools.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y.dirs.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y.lintian-overrides.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-X.Y.manpages.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
llvm-priv-dev.dirs Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
orig-tar.sh Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
pollycc.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
prepare-new-release.sh Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
python3-clang-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
python3-lldb-X.Y.install.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
python3-lldb-X.Y.links.in Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
qualify-clang.sh Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
rules Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
unpack.sh Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00
watch Import Debian changes 1:10.0.0-ok1 2022-07-16 17:39:38 +08:00

README

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+3b113a2be6d.
   (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.