File tree Expand file tree Collapse file tree 5 files changed +6
-83
lines changed
Expand file tree Collapse file tree 5 files changed +6
-83
lines changed Original file line number Diff line number Diff line change 44.travis.yml
55package.json
66build
7- docker
7+
88libpg_query /** /* .a
99libpg_query /** /* .h
1010
Original file line number Diff line number Diff line change @@ -208,8 +208,6 @@ This package uses a **WASM-only build system** for true cross-platform compatibi
208208### Prerequisites
209209
210210- Node.js (version 16 or higher recommended)
211- - Docker (for WASM compilation using Emscripten)
212- - yarn or npm
213211
214212### Building WASM Artifacts
215213
@@ -236,7 +234,7 @@ This package uses a **WASM-only build system** for true cross-platform compatibi
236234### Build Process Details
237235
238236The WASM build process:
239- - Uses Docker with Emscripten SDK for compilation
237+ - Uses Emscripten SDK for compilation
240238- Compiles C wrapper code to WebAssembly
241239- Generates ` wasm/libpg-query.js ` and ` wasm/libpg-query.wasm ` files
242240- No native compilation or node-gyp dependencies required
@@ -288,9 +286,9 @@ Our latest is built with `17-latest` branch from libpg_query
288286- Ensure you call an async method first to initialize the WASM module
289287- Or use the async versions of methods which handle initialization automatically
290288
291- ** Docker permission errors :**
292- - Ensure Docker is running and accessible
293- - On Linux, you may need to add your user to the docker group
289+ ** Build environment issues :**
290+ - Ensure Emscripten SDK is properly installed and configured
291+ - Check that all required build dependencies are available
294292
295293### Build Artifacts
296294
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2929 },
3030 "scripts" : {
3131 "clean" : " rimraf build" ,
32- "wasm:make" : " docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) emscripten/emsdk emmake make" ,
32+ "wasm:make" : " emmake make" ,
3333 "wasm:build" : " yarn wasm:make build" ,
3434 "wasm:rebuild" : " yarn wasm:make rebuild" ,
3535 "wasm:clean" : " yarn wasm:make clean" ,
You can’t perform that action at this time.
0 commit comments