~ubuntu-branches/ubuntu/precise/llvm-toolchain-3.4/precise-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-12-04 15:37:39 UTC
  • Revision ID: package-import@ubuntu.com-20131204153739-x8ef75rcy2g5ekb1
Tags: 1:3.4~+rc2-2
* Add the Ocaml ABI dependency (Closes: #731344)
* Disable LLDB also for ia64, mips & mipsel

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        COVERITY_ENABLE=0
103
103
endif
104
104
 
 
105
 
105
106
LLDB_ENABLE=yes
106
 
ifeq ($(DEB_HOST_ARCH),hurd-i386)
 
107
LLDB_DISABLE_ARCHS := hurd-i386 mips mipsel ia64
 
108
# hurd has threading issues
 
109
# mips* fails with "undefined references to `__atomic_load_8'"
 
110
ifneq (,$(findstring $(DEB_HOST_ARCH),$(LLDB_DISABLE_ARCHS)))
 
111
# Disable LLDB for this arch.
107
112
        LLDB_ENABLE=no
108
113
endif
109
114
 
 
115
 
110
116
%:
111
 
        dh $@
112
 
# --buildsystem=cmake --builddirectory=$(TARGET_BUILD)
 
117
        dh $@ --with ocaml
113
118
 
114
119
 
115
120
debian/%: debian/%.in
116
121
        sed -e 's|@DEB_HOST_MULTIARCH@|$(DEB_HOST_MULTIARCH)|g' -e "s|@OCAML_STDLIB_DIR@|$(OCAML_STDLIB_DIR)|g" -e "s|@LLVM_VERSION@|$(LLVM_VERSION)|g" $< > $@
117
122
 
 
123
# Override this two targets. They are trying to manage the .in conversion for me
 
124
override_dh_ocamlinit:
 
125
override_dh_ocamlclean:
118
126
 
119
127
override_dh_auto_configure: debian/lldb-$(LLVM_VERSION).install debian/lldb-$(LLVM_VERSION).links debian/libllvm$(LLVM_VERSION).install debian/llvm-$(LLVM_VERSION)-dev.links debian/libllvm-$(LLVM_VERSION)-ocaml-dev.install debian/libllvm-$(LLVM_VERSION)-ocaml-dev.dirs debian/llvm-$(LLVM_VERSION)-runtime.binfmt debian/llvm-$(LLVM_VERSION)-runtime.prerm debian/libclang1-$(LLVM_VERSION).links debian/libclang-$(LLVM_VERSION)-dev.links debian/libclang1-$(LLVM_VERSION).install debian/pollycc
120
128
        echo "Using gcc: "