mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-14 13:55:54 +00:00
finish the management when libc is disabled
This commit is contained in:
parent
6ccf025a03
commit
08dfdeb5a8
6
debian/rules
vendored
6
debian/rules
vendored
@ -1328,6 +1328,10 @@ endif
|
|||||||
if test "$(LLDB_PYTHON_ENABLE)" = no; then \
|
if test "$(LLDB_PYTHON_ENABLE)" = no; then \
|
||||||
echo "" > debian/python3-lldb-$(LLVM_VERSION).install; \
|
echo "" > debian/python3-lldb-$(LLVM_VERSION).install; \
|
||||||
fi
|
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
|
# Remove some mlir example
|
||||||
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libMyExtensionCh*.a
|
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
|
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxx || true
|
||||||
|
|
||||||
# Libc
|
# Libc
|
||||||
|
ifeq (${LIBC_ENABLE},yes)
|
||||||
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libc || true
|
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libc || true
|
||||||
|
endif
|
||||||
|
|
||||||
# Libcxxabi
|
# Libcxxabi
|
||||||
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxxabi || true
|
ninja $(VERBOSE) -C $(TARGET_BUILD_STAGE2) check-libcxxabi || true
|
||||||
|
Loading…
Reference in New Issue
Block a user