* Install libclang.so in /usr/lib/*/libclang-3.4.so

* Also ship the python clang binding (python-clang-3.4)
* Enable polly if the dependencies are OK
This commit is contained in:
Sylvestre Ledru 2013-10-19 15:12:45 +00:00
parent bb53ff0ab1
commit d5ce4ee9fc
2 changed files with 18 additions and 7 deletions

5
debian/changelog vendored
View File

@ -8,9 +8,10 @@ llvm-toolchain-snapshot (1:3.4~svn191069-1) unstable; urgency=low
* libprofile_rt and runtime has been removed upstream (r191835)
Features are provided by compiler-rt
* Update the build dependency from tcl8.5 to tcl (Closes: #725954)
* Install libclang.so in /usr/lib/*/libclang-3.3.so
* Install libclang.so in /usr/lib/*/libclang-3.4.so
* Install libclang.so.1 in /usr/lib/*/libclang-3.3.so.1
* Also ship the python clang binding (python-clang-3.3)
* Also ship the python clang binding (python-clang-3.4)
* Enable polly if the dependencies are OK
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 20 Sep 2013 05:25:17 +0200

20
debian/rules vendored
View File

@ -58,6 +58,14 @@ ifneq (,$(findstring $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
endif
endif
# Enable polly (or not)
POLLY_ENABLE=no
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' libisl-dev) ge 0.12.1; echo $$?),0)
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' libcloog-isl-dev) ge 0.18.1; echo $$?),0)
POLLY_ENABLE=YES
endif
endif
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
# enable the code coverage
CODECOVERAGE=yes
@ -125,11 +133,13 @@ override_dh_auto_configure: debian/lldb-$(LLVM_VERSION).install debian/lldb-$(LL
ln -s ../clang .; \
readlink clang
# cd tools/ && \
# if test -h polly; then \
# rm polly; \
# fi; \
# ln -s ../polly .
if test $(POLLY_ENABLE) = yes; then \
cd tools/ && \
if test -h polly; then \
rm polly; \
fi; \
ln -s ../polly .; \
fi
if test $(LLDB_ENABLE) = yes; then \
cd tools/ && \