Disable LLDB_BUILD_INTEL_PT on Ubuntu bionic

This commit is contained in:
Sylvestre Ledru 2024-07-14 22:12:00 +02:00
parent 3f5db5d6aa
commit c2a0a64082
2 changed files with 5 additions and 0 deletions

1
debian/changelog vendored
View File

@ -3,6 +3,7 @@ llvm-toolchain-18 (1:18.1.8-3) UNRELEASED; urgency=medium
* Revert LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON * Revert LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON
9ca35f30383d89e4fdd45d15e0eb82c832df4b8c 9ca35f30383d89e4fdd45d15e0eb82c832df4b8c
For causing https://github.com/llvm/llvm-project/issues/96210 For causing https://github.com/llvm/llvm-project/issues/96210
* Disable LLDB_BUILD_INTEL_PT on Ubuntu bionic
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 13 Jul 2024 10:26:40 +0200 -- Sylvestre Ledru <sylvestre@debian.org> Sat, 13 Jul 2024 10:26:40 +0200

4
debian/rules vendored
View File

@ -462,9 +462,13 @@ else
STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_LUA=OFF STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_LUA=OFF
PROJECTS+=;lldb PROJECTS+=;lldb
endif endif
LLDB_PT_DISABLE_DISTRO := bionic
ifneq (,$(filter $(DEB_HOST_ARCH),i386 amd64)) ifneq (,$(filter $(DEB_HOST_ARCH),i386 amd64))
ifneq (,$(filter $(LLDB_PT_DISABLE_DISTRO),$(DISTRO)))
STAGE_ALL_CMAKE_EXTRA += -DLLDB_BUILD_INTEL_PT=ON -DLIBIPT_INCLUDE_PATH=/usr/include -DLIBIPT_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH) STAGE_ALL_CMAKE_EXTRA += -DLLDB_BUILD_INTEL_PT=ON -DLIBIPT_INCLUDE_PATH=/usr/include -DLIBIPT_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)
endif endif
endif
LLDB_PYTHON_DISABLE_DISTRO := bionic buster LLDB_PYTHON_DISABLE_DISTRO := bionic buster
LLDB_PYTHON_ENABLE=yes LLDB_PYTHON_ENABLE=yes