Skip to content

Commit 04ba0ca

Browse files
committed
feat(build): complete WASM package build scripts
- yoga-layout: Add WASM linking with Emscripten bindings - onnx-runtime: Add Homebrew Emscripten detection fallback - minilm-builder: Implement full ML pipeline with Python scripts - toolchain: Add Python ML dependencies (transformers, optimum, onnx) - gitignore: Exclude build artifacts, checkpoints, and downloaded sources Enables building optimized WASM modules for layout engine, ONNX Runtime, and MiniLM embedding models. Supports both EMSDK and Homebrew installations of Emscripten for better developer experience.
1 parent f2ea75d commit 04ba0ca

File tree

6 files changed

+794
-41
lines changed

6 files changed

+794
-41
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Thumbs.db
2424
**/dist
2525
**/build
2626
**/node_modules
27+
.build-checkpoints
2728
**/pkg
2829
**/target
2930
*.d.ts
@@ -42,3 +43,8 @@ Thumbs.db
4243

4344
# Ignore platform binary build artifacts
4445
packages/socketbin-*/bin/
46+
47+
# Ignore downloaded build sources
48+
packages/*/.yoga-source
49+
packages/*/.onnx-source
50+
packages/*/.minilm-source

packages/minilm-builder/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ dist/
66

77
# Node modules.
88
node_modules/
9+
10+
# Auto-generated Python scripts.
11+
python/

0 commit comments

Comments
 (0)