mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-04 09:43:40 +00:00
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:
parent
123bb7d6c5
commit
5fcdd41fdc
5
debian/control
vendored
5
debian/control
vendored
@ -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
3
debian/rules
vendored
@ -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 = ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user