summaryrefslogtreecommitdiff
path: root/FETCH_DEPS.md
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-28 02:23:25 +0100
committerskal <pascal.massimino@gmail.com>2026-01-28 02:23:25 +0100
commit546715dd706d39ccef09c98c9cab2fee25ca2ddd (patch)
tree3aa9923dfbd21d0deb4714d5c0b516098a313c3f /FETCH_DEPS.md
parent5722d68a3e529fb22886c2430dc0d268c33424e7 (diff)
fix(crunch): Use strip/gzexe on macOS instead of UPX
UPX is unreliable on macOS. Switched to using standard 'strip -u -r' and 'gzexe' for binary compression on Darwin systems. Achieved a compressed binary size of ~48KB (dynamically linked). Updated FETCH_DEPS.md to reflect that UPX is now only required for Linux/Windows.
Diffstat (limited to 'FETCH_DEPS.md')
-rw-r--r--FETCH_DEPS.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/FETCH_DEPS.md b/FETCH_DEPS.md
index c8f315f..ce62db2 100644
--- a/FETCH_DEPS.md
+++ b/FETCH_DEPS.md
@@ -59,14 +59,10 @@ These scripts will download `glfw3webgpu.h` and `glfw3webgpu.c` into `third_part
## UPX
-Executable packer for binary compression.
+Executable packer for binary compression (Linux/Windows only).
+On macOS, the build script defaults to `strip` and `gzexe` due to UPX compatibility issues.
### Installation
-**macOS:**
-```bash
-brew install upx
-```
-
-**Other platforms:**
+**Linux/Windows:**
Download the appropriate release from https://github.com/upx/upx/releases and ensure the `upx` executable is in your PATH.