krakjoe/em build
Compile PHP to WebAssembly using the em build system
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| EM_PHP_DIR | Path to PHP source directory | yes | — |
| EM_PHP_CONFIGURE | Extra configure arguments for PHP | no | "" |
| EM_EMSDK_CFLAGS | Extra CFLAGS used when compiling with emcc | no | "" |
| EM_EMSDK_LDFLAGS | Extra LDFLAGS used when linking with emcc | no | "" |
| bake | Space-separated list of bakers | no | "" |
| without | Space-separated list of exclusions (only applies to bakers) | no | "" |
| with | Space-separated list of recipes to build (e.g. "ctype opcache pdo sqlite3") | no | "" |
| emsdk | emsdk version to use | no | 4.0.11 |
Outputs
| name | description |
|---|---|
| wasm-file | Path to generated WASM file |
| js-file | Path to generated JS file |