mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-17 14:08:48 +00:00
Ship the lldb headers into lldb-X.Y-dev (Closes: #723743)
I might create a liblldb-X.Y library at some point but I think it is too early.
This commit is contained in:
parent
2f8839dd19
commit
6d6fb79caf
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -3,8 +3,11 @@ llvm-toolchain-3.3 (1:3.3-10) unstable; urgency=low
|
||||
* Update of the description of LLVM packages
|
||||
(LLVM no longer mean Low Level Virtual Machine)
|
||||
* Disable the build of lldb under HURD
|
||||
* Ship the lldb headers into lldb-X.Y-dev (Closes: #723743)
|
||||
I might create a liblldb-X.Y library at some point but I think it is too
|
||||
early.
|
||||
|
||||
--
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 09 Sep 2013 14:35:08 +0200
|
||||
|
||||
llvm-toolchain-3.3 (1:3.3-9) unstable; urgency=low
|
||||
|
||||
|
11
debian/control
vendored
11
debian/control
vendored
@ -414,3 +414,14 @@ Description: Next generation, high-performance debugger
|
||||
LLDB is a next generation, high-performance debugger. It is built as a set of
|
||||
reusable components which highly leverage existing libraries in the larger LLVM
|
||||
Project, such as the Clang expression parser and LLVM disassembler.
|
||||
|
||||
Package: lldb-3.3-dev
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, lldb-3.3 (= ${binary:Version})
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Next generation, high-performance debugger - Header files
|
||||
LLDB is a next generation, high-performance debugger. It is built as a set of
|
||||
reusable components which highly leverage existing libraries in the larger LLVM
|
||||
Project, such as the Clang expression parser and LLVM disassembler.
|
||||
.
|
||||
This package provides the header files to build extension over lldb.
|
||||
|
1
debian/lldb-3.3-dev.install
vendored
Normal file
1
debian/lldb-3.3-dev.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
/usr/lib/llvm-3.3/include/lldb
|
33
debian/patches/lldb-install-headers.diff
vendored
Normal file
33
debian/patches/lldb-install-headers.diff
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
Index: llvm-toolchain-3.3-3.3/lldb/include/lldb/Makefile
|
||||
===================================================================
|
||||
--- llvm-toolchain-3.3-3.3.orig/lldb/include/lldb/Makefile (révision 191067)
|
||||
+++ llvm-toolchain-3.3-3.3/lldb/include/lldb/Makefile (copie de travail)
|
||||
@@ -4,11 +4,11 @@
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
install-local::
|
||||
- $(Echo) Installing Clang include files
|
||||
+ $(Echo) Installing LLDB include files
|
||||
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
|
||||
- $(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/clang/include/clang" ; then \
|
||||
- cd $(PROJ_SRC_ROOT)/tools/clang/include && \
|
||||
- for hdr in `find clang -type f '!' '(' -name '*~' \
|
||||
+ $(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/lldb/include/lldb" ; then \
|
||||
+ cd $(PROJ_SRC_ROOT)/tools/lldb/include && \
|
||||
+ for hdr in `find lldb -type f '!' '(' -name '*~' \
|
||||
-o -name '.#*' -o -name '*.in' -o -name '*.txt' \
|
||||
-o -name 'Makefile' -o -name '*.td' -o -name '*.orig' ')' -print \
|
||||
| grep -v CVS | grep -v .svn | grep -v .dir` ; do \
|
||||
@@ -21,9 +21,9 @@
|
||||
done ; \
|
||||
fi
|
||||
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
|
||||
- $(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/clang/include/clang" ; then \
|
||||
- cd $(PROJ_OBJ_ROOT)/tools/clang/include && \
|
||||
- for hdr in `find clang -type f '!' '(' -name 'Makefile' ')' -print \
|
||||
+ $(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/lldb/include/lldb" ; then \
|
||||
+ cd $(PROJ_OBJ_ROOT)/tools/lldb/include && \
|
||||
+ for hdr in `find lldb -type f '!' '(' -name 'Makefile' ')' -print \
|
||||
| grep -v CVS | grep -v .tmp | grep -v .dir` ; do \
|
||||
$(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
|
||||
done ; \
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -35,3 +35,4 @@ libprofile_rt_sparc.patch
|
||||
lldb-hurd.diff
|
||||
libstdc++-header-i386.diff
|
||||
kfreebsd_target_info_clang33.diff
|
||||
lldb-install-headers.diff
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -105,12 +105,12 @@ override_dh_auto_configure: debian/lldb-$(LLVM_VERSION).install debian/lldb-$(LL
|
||||
fi; \
|
||||
ln -s ../polly .
|
||||
|
||||
if test $(LLDB_ENABLE) = yes; then \
|
||||
if test $(LLDB_ENABLE) = yes; then \
|
||||
cd tools/ && \
|
||||
if test -h lldb; then \
|
||||
rm lldb; \
|
||||
fi; \
|
||||
ln -s ../lldb .; \
|
||||
ln -s ../lldb .; \
|
||||
fi
|
||||
|
||||
cd projects/ && \
|
||||
@ -176,7 +176,7 @@ build_doc:
|
||||
|
||||
for f in llvm-dwarfdump llvm-mc llvm-mcmarkup llvm-objdump llvm-rtdyld llvm-size llvm-tblgen macho-dump lldb clang-format cpp11-migrate; do \
|
||||
help2man --version-string=$(LLVM_VERSION) $(TARGET_BUILD)/Release/bin/$$f > debian/man/$$f-$(LLVM_VERSION).1; \
|
||||
done
|
||||
done
|
||||
|
||||
override_dh_auto_install:
|
||||
$(MAKE) -C $(TARGET_BUILD) VERBOSE=1 install DESTDIR=$(CURDIR)/debian/tmp/
|
||||
|
Loading…
Reference in New Issue
Block a user