Searched hist:e3e35afdbc4de911bb6ec60fb6e7fb6f05f8ebc4 (Results 1 – 1 of 1) sorted by relevance
| /libCEED/ |
| H A D | Makefile | diff e3e35afdbc4de911bb6ec60fb6e7fb6f05f8ebc4 Fri Aug 12 13:33:23 UTC 2022 Jed Brown <jed@jedbrown.org> Makefile: add custom executable suffixes for emscripten
emcc looks for the output suffix .wasm when linking executables.
This now builds cleanly:
$ emmake make STATIC=1 OPT=-O build/ex2-surface.wasm [...] $ wasmer run build/ex2-surface.wasm -- -s 32767 [...] Exact mesh surface area : 6 Computed mesh surface area : 5.9548265118955 Surface area error : -0.04517348810445
Increasing the size causes calloc to fail, likely to do some default memory limits that I haven't worked out yet.
Emscripten docs:
https://emscripten.org/docs/compiling/Building-Projects.html#building-projects
|