mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-13 09:00:11 +00:00
Workaround some missing files on buster
This commit is contained in:
parent
5a8e878733
commit
b938a0de44
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -3,6 +3,7 @@ llvm-toolchain-snapshot (1:16~++20221111053703+a77a02aa5794-1~exp2) experimental
|
||||
* Adjust some path since upstream changed the path from
|
||||
/usr/lib/llvm-16/lib/clang/16.0.0/ to
|
||||
/usr/lib/llvm-16/lib/clang/16/
|
||||
* Workaround some missing files on buster
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 19 Nov 2022 10:16:49 +0100
|
||||
|
||||
|
8
debian/rules
vendored
8
debian/rules
vendored
@ -398,6 +398,11 @@ else
|
||||
PROJECTS+=;lldb
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(DISTRO),buster))
|
||||
# Don't enable lld python for old distros
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_PYTHON=OFF
|
||||
endif
|
||||
|
||||
|
||||
LLD_ENABLE=yes
|
||||
|
||||
@ -539,13 +544,14 @@ ifdef LLVM_SPIRV
|
||||
# *.spv files.
|
||||
sed -i -e "s|#spv\ ||g" debian/libclc-$(LLVM_VERSION).install
|
||||
endif
|
||||
if test "$(DISTRO)" = "stretch"; then \
|
||||
if test "$(DISTRO)" = "buster"; then \
|
||||
echo "" > debian/python3-lldb-$(LLVM_VERSION).install; \
|
||||
fi
|
||||
|
||||
# Conditionally enable install clangd grpc files
|
||||
if test "$(CLANGD_GRPC_INSTALLED)" = "yes"; then \
|
||||
sed -i -e "s|#grpc\ ||g" debian/libclang-$(LLVM_VERSION)-dev.install; \
|
||||
mkdir -p $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/gdb/python/ompd/; \
|
||||
fi
|
||||
|
||||
# Override this two targets. They are trying to manage the .in conversion for me
|
||||
|
Loading…
Reference in New Issue
Block a user