* Use -mxgot on mips64el.

* Disable tests on mips64el, they do timeout.
This commit is contained in:
Matthias Klose 2024-09-04 15:13:23 +02:00
parent 2661c00c67
commit 0231acb556
2 changed files with 5 additions and 1 deletions

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ llvm-toolchain-19 (1:19.1.0~++rc4-2) UNRELEASED; urgency=medium
* Disable z3 again for Ubuntu, and make the libz3-dev (build) dependency
conditional.
* Use -mxgot on mips64el.
* Disable tests on mips64el, they do timeout.
-- Matthias Klose <doko@debian.org> Wed, 04 Sep 2024 11:52:22 +0200

4
debian/rules vendored
View File

@ -262,6 +262,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips64el))
# avoid an issue with search path on mips64el
# https://bugs.llvm.org/show_bug.cgi?id=41204
STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=mips64el-linux-gnuabi64
CFLAGS_EXTRA += -mxgot
CXXFLAGS_EXTRA += -mxgot
endif
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc))
@ -442,7 +444,7 @@ endif
endif
# llvm tests timeout, disable it on mipsel and x32
ifneq (,$(filter $(DEB_HOST_ARCH), mipsel x32))
ifneq (,$(filter $(DEB_HOST_ARCH), mipsel mips64el x32))
RUN_TEST=no
endif