vendor: add complete multi-platform support (runtime + dev)

This commit is contained in:
LC mac
2026-01-12 17:18:28 +08:00
parent 5d02205353
commit c380986e26
19 changed files with 75 additions and 39 deletions

View File

@@ -46,14 +46,16 @@ VENDOR_LINUX := vendor/linux-x86_64
help:
@echo "pyhdwallet build system (macOS + Linux compatible)"
@echo ""
help:
@echo "📦 Vendoring (for offline/air-gapped use):"
@echo " make vendor-macos - Build macOS ARM64 wheels (requires macOS native)"
@echo " make vendor-linux - Build Linux x86_64 wheels (Docker - any OS)"
@echo " make vendor-macos - Build macOS ARM64 wheels (runtime)"
@echo " make vendor-macos-dev - Build macOS ARM64 dev wheels (pytest)"
@echo " make vendor-linux - Build Linux x86_64 wheels (Docker)"
@echo " make vendor-linux-dev - Build Linux x86_64 dev wheels (Docker)"
@echo " make vendor-linux-arm - Build Linux ARM64/aarch64 wheels (Docker)"
@echo " make vendor-linux-dev - Build Linux x86_64 dev wheels (includes pytest)"
@echo " make vendor-linux-arm-dev - Build Linux ARM64 dev wheels (includes pytest)"
@echo " make vendor-linux-arm-dev - Build Linux ARM64 dev wheels (Docker)"
@echo " make vendor-all - Build runtime wheels for ALL platforms"
@echo " make vendor-all-dev - Build runtime + dev wheels for Linux platforms"
@echo " make vendor-all-dev - Build dev wheels for ALL platforms"
@echo " make verify-vendor - Test offline installation from vendor/"
@echo ""
@@ -81,8 +83,8 @@ help:
@echo " make down - Stop and remove dev container"
@echo ""
@echo "🧹 Cleanup:"
@echo " make clean - Remove venv, wheelhouse (keeps vendor/)"
@echo " make clean-vendor - Remove vendor/ only"
@echo " make clean-vendor - Remove all vendor wheels"
@echo " make clean - Remove vendor/ + .venv + cache"
@echo " make clean-release - Remove releases/ only"
@echo ""
@echo " Platform Info:"