Revert "Add UPX compression - 80% binary size reduction"
This reverts commit 9bc2f7be11.
This commit is contained in:
@@ -46,7 +46,7 @@ jobs:
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
git build-essential libtool autotools-dev automake pkg-config \
|
||||
libssl-dev libevent-dev bsdmainutils libboost-all-dev \
|
||||
libminiupnpc-dev libzmq3-dev tor curl wget upx-ucl
|
||||
libminiupnpc-dev libzmq3-dev tor curl wget
|
||||
|
||||
# Build BerkeleyDB 4.8
|
||||
cd /tmp
|
||||
@@ -76,13 +76,6 @@ jobs:
|
||||
make -f makefile.unix -j\$(nproc) USE_UPNP=1
|
||||
strip trianglesd
|
||||
|
||||
# Compress with UPX (80% size reduction!)
|
||||
echo '=== Before UPX ==='
|
||||
ls -lh trianglesd
|
||||
upx --best --lzma trianglesd
|
||||
echo '=== After UPX ==='
|
||||
ls -lh trianglesd
|
||||
|
||||
# Copy to workspace
|
||||
mkdir -p /workspace/bin
|
||||
cp trianglesd /workspace/bin/
|
||||
|
||||
@@ -33,14 +33,12 @@ sudo ./install.sh
|
||||
|
||||
## What's Included
|
||||
|
||||
- **trianglesd** v5.4.4 - Native ARM64 binary (1.6MB, UPX compressed)
|
||||
- **trianglesd** v5.4.4 - Native ARM64 binary (85MB)
|
||||
- **Tor integration** - Built-in hidden service support
|
||||
- **Updated seed nodes** - Latest v5.4.4 onion addresses
|
||||
- **Auto-installer** - One-command setup
|
||||
- **Full documentation** - Build instructions and usage guide
|
||||
|
||||
**Note:** Binary is compressed with UPX (Ultimate Packer for Executables) for 80% size reduction. Decompresses automatically on execution with no performance penalty.
|
||||
|
||||
## System Requirements
|
||||
|
||||
- **Platform:** Raspberry Pi 4/5 (64-bit) or any ARM64 Linux server
|
||||
|
||||
Binary file not shown.
@@ -118,22 +118,11 @@ These are cosmetic and don't affect functionality.
|
||||
# Strip debug symbols (reduces size to ~40MB)
|
||||
strip trianglesd
|
||||
|
||||
# Compress with UPX (RECOMMENDED - reduces to ~1.6MB!)
|
||||
sudo apt-get install -y upx-ucl
|
||||
upx --best --lzma trianglesd
|
||||
# Before: ~40MB → After: ~1.6MB (80% reduction)
|
||||
|
||||
# Install to system
|
||||
sudo cp trianglesd /usr/local/bin/
|
||||
sudo chmod +x /usr/local/bin/trianglesd
|
||||
```
|
||||
|
||||
**UPX Compression Benefits:**
|
||||
- 80% smaller binary (40MB → 1.6MB)
|
||||
- Faster download/transfer
|
||||
- No performance penalty (decompresses to RAM on load)
|
||||
- Fully reversible: `upx -d trianglesd`
|
||||
|
||||
**Verify installation:**
|
||||
```bash
|
||||
trianglesd --version
|
||||
|
||||
Reference in New Issue
Block a user