mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-09 11:48:52 +00:00
polly, openmp & lldb aren't enabled for every platform So, add to PROJECTS only when enabled
This commit is contained in:
parent
1e2fd2d1ba
commit
d2c4dc9417
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -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 <sylvestre@debian.org> Sun, 20 Oct 2019 17:27:50 +0200
|
||||
|
||||
llvm-toolchain-9 (1:9.0.0-1) unstable; urgency=medium
|
||||
|
||||
* Repack to move to git
|
||||
|
10
debian/rules
vendored
10
debian/rules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user