finish the management when libc is disabled

This commit is contained in:
Sylvestre Ledru 2024-03-13 14:08:58 +01:00
parent 6ccf025a03
commit 08dfdeb5a8

6
debian/rules vendored
View File

@ -1328,6 +1328,10 @@ endif
if test "$(LLDB_PYTHON_ENABLE)" = no; then \
echo "" > debian/python3-lldb-$(LLVM_VERSION).install; \
fi
# if libc isn't built, remove what we want to install
if test "$(LIBC_ENABLE)" = no; then \
echo "" > debian/libllvmlibc-$(LLVM_VERSION)-dev.install; \
fi
# Remove some mlir example
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libMyExtensionCh*.a
@ -1481,7 +1485,9 @@ endif
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxx || true
# Libc
ifeq (${LIBC_ENABLE},yes)
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libc || true
endif
# Libcxxabi
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxxabi || true