Bug#986948: split out a llvm-linker-tools packge

Matthias Klose doko at debian.org
Wed Apr 14 16:16:41 BST 2021


Package: src:llvm-toolchain-12
Version: 1:12.0.0~++rc5-1
Tags: patch

The files libLTO.so.12 LLVMgold.so and LLVMPolly.so are currently shipped in
llvm-12-dev.  Shipping plugins in a -dev package is not ideal, and these are
required when calling clang -flto.

As discussed, split them out into it's own package, and let both clang-12 and
llvm-12 depend on it. Note that the new install file need x permissions.

Maybe also ship the linker tools llvm-{ar,ranlib,objcopy,nm} in that new package.

Two unrelated changes in the patch:
 - better clean the debian directory
 - build with optimize=-lto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: linker-tools.diff
Type: text/x-patch
Size: 6321 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20210414/e4f55d2e/attachment.bin>


More information about the Pkg-llvm-team mailing list