diff --git a/debian/changelog b/debian/changelog index 832284b9..adaabd84 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ llvm-toolchain-7 (1:7-3) unstable; urgency=medium * Fix a syntax issue in a scan-build patch * Fix the autopkgtest script (no gcc in the test) + * Create a new llvm-lto-7-dev package to ship lto + This will avoid to download llvm-dev to get lld -- Sylvestre Ledru Fri, 21 Sep 2018 22:48:47 +0200 diff --git a/debian/control b/debian/control index 6dd39b5e..e86cf031 100644 --- a/debian/control +++ b/debian/control @@ -294,6 +294,16 @@ Description: Modular compiler and toolchain technologies, libraries and headers This package provides the libraries and headers to develop applications using llvm. +Package: libllvm-lto-7-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Modular compiler and toolchain technologies, LTO lib + LLVM is a collection of libraries and tools that make it easy to build + compilers, optimizers, just-in-time code generators, and many other + compiler-related programs. + . + This package provides the LTO libraries. + Package: llvm-7-tools Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, python, @@ -381,7 +391,7 @@ Description: Modular compiler and toolchain technologies, examples Package: lld-7 Architecture: amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el kfreebsd-amd64 kfreebsd-i386 s390 sparc alpha hppa m68k powerpcspe ppc64 sh4 sparc64 x32 # ia64 hurd powerpc have been removed -Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm7 (= ${binary:Version}), llvm-7-dev +Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm7 (= ${binary:Version}), libllvm-lto-7-dev (= ${binary:Version}) Pre-Depends: ${misc:Pre-Depends} Description: LLVM-based linker LLD is a new, high-performance linker. It is built as a set of reusable diff --git a/debian/libllvm-lto-X.Y-dev.install.in b/debian/libllvm-lto-X.Y-dev.install.in new file mode 100644 index 00000000..4eeb014f --- /dev/null +++ b/debian/libllvm-lto-X.Y-dev.install.in @@ -0,0 +1 @@ +usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.* diff --git a/debian/llvm-X.Y-dev.install.in b/debian/llvm-X.Y-dev.install.in index f367b8e9..25d65a75 100644 --- a/debian/llvm-X.Y-dev.install.in +++ b/debian/llvm-X.Y-dev.install.in @@ -4,7 +4,6 @@ usr/lib/llvm-@LLVM_VERSION@/lib/LLVM*.so usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM.so usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM-@LLVM_VERSION@.so usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM-@LLVM_VERSION_FULL@.so -usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.* usr/lib/llvm-@LLVM_VERSION@/lib/BugpointPasses.so usr/lib/llvm-@LLVM_VERSION@/lib/TestPlugin.so usr/lib/llvm-@LLVM_VERSION@/include/llvm/ usr/include/llvm-@LLVM_VERSION@/