build: disable profiler support on armel/armhf

LLVM 19 on those two archs doesn't ship the compiler runtime needed for this
feature at the moment. can be re-enabled once it is back.

Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
This commit is contained in:
Fabian Grünbichler 2024-10-25 16:06:23 +02:00
parent 123bb7d6c5
commit 5fcdd41fdc
2 changed files with 5 additions and 3 deletions

5
debian/control vendored
View File

@ -21,8 +21,9 @@ Build-Depends:
gcc-mingw-w64-x86-64-posix:native [amd64] <!nowindows>,
gcc-mingw-w64-i686-posix:native [i386] <!nowindows>,
libllvm19 (>= 1:19.0.0),
libclang-rt-19-dev:native,
libclang-rt-19-dev,
# temp. disabled for armel/armhf
libclang-rt-19-dev:native [!armhf !armel],
libclang-rt-19-dev [!armhf !armel],
cmake (>= 3.0),
# needed by some vendor crates
pkgconf:native,

3
debian/rules vendored
View File

@ -60,9 +60,10 @@ ifeq (armhf,$(DEB_TARGET_ARCH))
CLANG_RT_ARCH = armhf
endif
ifneq (,$(filter $(DEB_TARGET_ARCH),sparc64 mips64el hurd-i386 hurd-amd64))
ifneq (,$(filter $(DEB_TARGET_ARCH),sparc64 mips64el hurd-i386 hurd-amd64 armel armhf))
# sparc64: see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061125
# mips64el: has profiler, but buggy atm (32-bit overflow in some counter?)
# armel/armhf: temp disabled, out-of-sync with rest of llvm-19 on thsoe archs
CLANG_RT_ARCH =
PROFILER = "false"
PROFILER_PATH = ""