mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-22 04:12:02 +00:00
Disable OpenMP on unsupported architectures
This commit is contained in:
parent
e7ce26b199
commit
97de2c13ae
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
llvm-toolchain-7 (1:7~+rc2-1~exp4) UNRELEASED; urgency=medium
|
||||
|
||||
[ John Paul Adrian Glaubitz ]
|
||||
* Disable OpenMP on unsupported architectures powerpc,
|
||||
powerpcspe, riscv64 and sparc64 (Closes: #907912)
|
||||
|
||||
-- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Tue, 04 Sep 2018 10:20:57 +0200
|
||||
|
||||
llvm-toolchain-7 (1:7~+rc2-1~exp3) experimental; urgency=medium
|
||||
|
||||
* Remove libtool flex, bison, dejagnu, tcl, expect,
|
||||
|
6
debian/rules
vendored
6
debian/rules
vendored
@ -262,7 +262,7 @@ override_dh_auto_configure: preconfigure
|
||||
ln -s ../compiler-rt .; \
|
||||
readlink compiler-rt
|
||||
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), s390x))
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe riscv64 sparc64 s390x))
|
||||
cd projects/ && \
|
||||
if test -h openmp; then \
|
||||
rm openmp; \
|
||||
@ -428,7 +428,7 @@ build_doc:
|
||||
echo "Generating manpage of $$f"; \
|
||||
LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/:/usr/lib/*/libfakeroot help2man --no-info --version-string=$(LLVM_VERSION) $(TARGET_BUILD)/bin/$$f > debian/man/$$f-$(LLVM_VERSION).1; \
|
||||
done
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), s390x))
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe riscv64 sparc64 s390x))
|
||||
cd openmp/runtime && doxygen doc/doxygen/config
|
||||
cd openmp/runtime/doc/doxygen/generated/html/ && rm jquery.js && ln -s /usr/share/javascript/jquery/jquery.js
|
||||
endif
|
||||
@ -456,7 +456,7 @@ override_dh_auto_install:
|
||||
ln -s libomp.so.$(SONAME_OPENMP) libomp.so
|
||||
|
||||
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), s390x))
|
||||
ifeq (,$(filter $(DEB_HOST_ARCH), powerpc powerpcspe riscv64 sparc64 s390x))
|
||||
mkdir -p debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/include/openmp
|
||||
cp -f openmp/runtime/exports/common*/include/* debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/include/openmp
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user