try to do the workaround later

This commit is contained in:
Sylvestre Ledru 2022-11-20 17:46:57 +01:00
parent 82d26c045d
commit f445b2b0bc

12
debian/rules vendored
View File

@ -544,12 +544,9 @@ ifdef LLVM_SPIRV
# *.spv files.
sed -i -e "s|#spv\ ||g" debian/libclc-$(LLVM_VERSION).install
endif
# Disable the python binding for buster. not sure why it regressed
# regressed de4364f1ecaa..0745b0c0354a
if test "$(DISTRO)" = "buster"; then \
echo "" > debian/python3-lldb-$(LLVM_VERSION).install; \
mkdir -p $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/gdb/python/ompd/; \
touch $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/gdb/python/ompd/empty; \
fi
# Conditionally enable install clangd grpc files
@ -1052,6 +1049,13 @@ endif
rmdir $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/local; \
fi
# Disable the python binding for buster. not sure why it regressed
# regressed de4364f1ecaa..0745b0c0354a
if test "$(DISTRO)" = "buster"; then \
mkdir -p $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/gdb/python/ompd/; \
touch $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/share/gdb/python/ompd/empty; \
fi
# Delete the target build directory to save some space on the build systems
# All the files have been installed in $(CURDIR)/debian/tmp/ already
rm -rf $(TARGET_BUILD)