diff --git a/debian/changelog b/debian/changelog index 44d7342b..850158ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-9 (1:9.0.0-2) unstable; urgency=medium + + * polly, openmp & lldb aren't enabled for every platform + So, add to PROJECTS only when enabled + + -- Sylvestre Ledru Sun, 20 Oct 2019 17:27:50 +0200 + llvm-toolchain-9 (1:9.0.0-1) unstable; urgency=medium * Repack to move to git diff --git a/debian/rules b/debian/rules index 83468891..dfbab504 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f -PROJECTS="clang;clang-tools-extra;libcxx;libcxxabi;lldb;compiler-rt;lld;polly;debuginfo-tests;openmp" +# polly, openmp & lldb aren't enabled for every platform +PROJECTS="clang;clang-tools-extra;libcxx;libcxxabi;compiler-rt;lld;debuginfo-tests" TARGET_BUILD := build-llvm TARGET_BUILD_STAGE2 := $(TARGET_BUILD)/tools/clang/stage2-bins @@ -169,12 +170,16 @@ BOOTSTRAP_CFLAGS_EXTRA = $(CFLAGS_EXTRA) # Nothing for now. Keeping in case w POLLY_ENABLE=yes ifneq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe)) POLLY_ENABLE=no +else + PROJECTS += ";polly" endif # Enable openmp (or not) OPENMP_ENABLE=yes ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel powerpc powerpcspe riscv64 sparc64 s390x x32)) OPENMP_ENABLE=no +else + PROJECTS= += ";openmp" endif RUN_TEST=yes @@ -218,11 +223,12 @@ LLDB_DISABLE_ARCHS := hurd-i386 ia64 powerpc powerpcspe ppc64 riscv64 sparc64 # hurd has threading issues ifeq (,$(filter-out $(LLDB_DISABLE_ARCHS), $(DEB_HOST_ARCH))) # Disable LLDB for this arch. - LLDB_ENABLE=no + LLDB_ENABLE=no else # See https://llvm.org/bugs/show_bug.cgi?id=28898 # Enable it again as it seems it is fixed upstream https://bugs.llvm.org/show_bug.cgi?id=35291 # CMAKE_EXTRA += -DLLDB_DISABLE_LIBEDIT=ON + PROJECTS += ";lldb" endif LLD_ENABLE=yes