Commit efdb0712 authored by Sylvestre Ledru's avatar Sylvestre Ledru

* Fix inverted logic in ifeq statement for POLLY_ENABLE

  and OPENMP_ENABLE (Closes: #908646)
* Drop gnustep and gnustep-devel suggestions (Closes: #902847)
* Enable polly on s390x
* Disable omp on armel mips and mipsel for now
parents e2c21f45 4610de73
llvm-toolchain-snapshot (1:8~svn340819-2) UNRELEASED; urgency=medium
[ John Paul Adrian Glaubitz ]
* Fix inverted logic in ifeq statement for POLLY_ENABLE
and OPENMP_ENABLE (Closes: #908646)
[ Gianfranco Costamagna ]
* Drop gnustep and gnustep-devel suggestions (Closes: #902847)
* Enable polly on s390x
* Disable omp on armel mips and mipsel for now
-- Gianfranco Costamagna <locutusofborg@debian.org> Wed, 12 Sep 2018 10:58:12 +0200
llvm-toolchain-7 (1:7~+rc3-1) unstable; urgency=medium
[ John Paul Adrian Glaubitz ]
* Disable OpenMP on unsupported architectures powerpc,
powerpcspe, riscv64 and sparc64 (Closes: #907912)
......
......@@ -32,7 +32,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
libclang1-8 (= ${binary:Version}), libc6-dev, binutils
Provides: c-compiler, objc-compiler, c++-compiler
Recommends: llvm-8-dev, python, libomp-dev
Suggests: gnustep, gnustep-devel, clang-8-doc
Suggests: clang-8-doc
Description: C, C++ and Objective-C compiler
Clang project is a C, C++, Objective C and Objective C++ front-end
based on the LLVM compiler. Its goal is to offer a replacement to the
......@@ -481,7 +481,7 @@ Description: Next generation, high-performance debugger, header files
Package: libomp-8-dev
Section: libdevel
Architecture: amd64 arm64 armhf armel i386 mips mipsel mips64el ppc64el ppc64
Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64
Depends: libomp5-8 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Suggests: libomp-8-doc
Replaces: libiomp-dev (<< 3.8-1), libomp-dev (<< 7~+rc1-1~exp1)
......@@ -494,7 +494,7 @@ Description: LLVM OpenMP runtime - dev package
Package: libomp5-8
Multi-Arch: same
Architecture: amd64 arm64 armhf armel i386 mips mipsel mips64el ppc64el ppc64
Architecture: amd64 arm64 armhf i386 mips64el ppc64el ppc64
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: libomp5 (<< 7~+rc1-1~exp1)
Breaks: libomp5 (<< 7~+rc1-1~exp1)
......
......@@ -3,7 +3,6 @@ usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/include
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/lib
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/*.txt
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/share/*.txt
usr/lib/llvm-@LLVM_VERSION@/lib/cmake/polly/*.cmake
#usr/lib/clang/@LLVM_VERSION_FULL@/lib /usr/lib/clang/@LLVM_VERSION@/
#usr/lib/clang/@LLVM_VERSION_FULL@/include/ /usr/include/clang/@LLVM_VERSION@/
......
......@@ -107,13 +107,13 @@ endif
# Enable polly (or not)
POLLY_ENABLE=yes
ifeq (,$(filter-out $(DEB_HOST_ARCH), powerpc powerpcspe s390x))
ifneq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe))
POLLY_ENABLE=no
endif
# Enable openmp (or not)
OPENMP_ENABLE=yes
ifeq (,$(filter-out $(DEB_HOST_ARCH), powerpc powerpcspe riscv64 sparc64 s390x))
ifneq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe riscv64 sparc64 s390x armel mips mipsel))
OPENMP_ENABLE=no
endif
......@@ -629,6 +629,9 @@ endif
override_dh_install:
# cp $(TARGET_BUILD)/lib/libLLVM-$(LLVM_VERSION).so $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libLLVM-$(LLVM_VERSION).so.$(SONAME_EXT)
ifeq (${POLLY_ENABLE},yes)
dh_install -p libclang-common-$(LLVM_VERSION)-dev usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/polly/*.cmake usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/polly
endif
dh_install --fail-missing
override_dh_installdeb:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment