mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-24 16:35:52 +00:00
Add new llvm-11-linker-tools
This commit is contained in:
parent
d4cc4b9682
commit
f0f580b0b5
17
debian/control
vendored
17
debian/control
vendored
@ -32,6 +32,7 @@ Package: clang-11
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
||||
${dep:devlibs-objc}, libclang-common-11-dev (= ${binary:Version}),
|
||||
llvm-11-linker-tools (= ${binary:Version}),
|
||||
libclang1-11 (= ${binary:Version}), libc6-dev, binutils
|
||||
Provides: c-compiler, objc-compiler, c++-compiler
|
||||
Recommends: llvm-11-dev, python3, libomp-11-dev
|
||||
@ -282,10 +283,24 @@ Description: Modular compiler and toolchain technologies, runtime library
|
||||
.
|
||||
This package contains the LLVM runtime library.
|
||||
|
||||
Package: llvm-11-linker-tools
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Breaks: llvm-11-dev (<< 1:11.1.0-2)
|
||||
Replaces: llvm-11-dev (<< 1:11.1.0-2)
|
||||
Description: Modular compiler and toolchain technologies
|
||||
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 contains the LLVMgold and LLVMPolly linker plugins.
|
||||
|
||||
Package: llvm-11
|
||||
Architecture: any
|
||||
Suggests: llvm-11-doc
|
||||
Depends: llvm-11-runtime (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
|
||||
Depends: llvm-11-runtime (= ${binary:Version}),
|
||||
llvm-11-linker-tools (= ${binary:Version}),
|
||||
${shlibs:Depends}, ${misc:Depends}
|
||||
Recommends: llvm-11-dev
|
||||
Description: Modular compiler and toolchain technologies
|
||||
LLVM is a collection of libraries and tools that make it easy to build
|
||||
|
3
debian/llvm-X.Y-dev.install.in
vendored
3
debian/llvm-X.Y-dev.install.in
vendored
@ -2,10 +2,9 @@
|
||||
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/libLLVM*.a
|
||||
#usr/lib/llvm-@LLVM_VERSION@/lib/libllvm*.a
|
||||
[!powerpc !powerpcspe] 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/libLTO.*
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.so
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/libRemarks.*
|
||||
usr/lib/llvm-@LLVM_VERSION@/include/llvm/ usr/include/llvm-@LLVM_VERSION@/
|
||||
usr/lib/llvm-@LLVM_VERSION@/include/llvm-c/ usr/include/llvm-c-@LLVM_VERSION@/
|
||||
|
4
debian/llvm-X.Y-linker-tools.install.in
vendored
Normal file
4
debian/llvm-X.Y-linker-tools.install.in
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/dh-exec
|
||||
|
||||
usr/lib/llvm-@LLVM_VERSION@/lib/libLTO.so.@LLVM_VERSION@
|
||||
[!powerpc !powerpcspe] usr/lib/llvm-@LLVM_VERSION@/lib/LLVM*.so
|
13
debian/rules
vendored
13
debian/rules
vendored
@ -325,7 +325,12 @@ preconfigure:
|
||||
done
|
||||
|
||||
# Make install file executable for dh-exec
|
||||
chmod +x debian/llvm-$(LLVM_VERSION)-dev.install debian/libclang-common-$(LLVM_VERSION)-dev.install debian/clang-tools-$(LLVM_VERSION).install debian/libomp-$(LLVM_VERSION)-dev.install
|
||||
chmod +x \
|
||||
debian/clang-tools-$(LLVM_VERSION).install \
|
||||
debian/libclang-common-$(LLVM_VERSION)-dev.install \
|
||||
debian/libomp-$(LLVM_VERSION)-dev.install \
|
||||
debian/llvm-$(LLVM_VERSION)-dev.install \
|
||||
debian/llvm-$(LLVM_VERSION)-linker-tools.install
|
||||
|
||||
# Override this two targets. They are trying to manage the .in conversion for me
|
||||
override_dh_ocamlinit:
|
||||
@ -877,5 +882,11 @@ override_dh_auto_clean:
|
||||
if test -f lld/docs/ld.lld-$(LLVM_VERSION).1; then \
|
||||
mv lld/docs/ld.lld-$(LLVM_VERSION).1 lld/docs/ld.lld.1; \
|
||||
fi
|
||||
for f in debian/*.in; do \
|
||||
f2=$$(echo $$f | sed 's/\.in$$//;s/X\.Y/$(LLVM_VERSION)/'); \
|
||||
rm -f $$f2; \
|
||||
done
|
||||
: # for some reason, the docs are written to debian/usr and debian/man ...
|
||||
rm -rf debian/usr debian/man
|
||||
|
||||
.PHONY: override_dh_strip preconfigure debian-full-build debian-libfuzzer-build debian-libcxx-build debian-libcxxabi-build
|
||||
|
Loading…
Reference in New Issue
Block a user