nspire-emus / firebird

Multi-platform emulator of TI Nspire calculators
GNU General Public License v3.0
665 stars 66 forks source link

WIP: Support Qt for WebAssembly #294

Open Vogtinator opened 1 year ago

Vogtinator commented 1 year ago
Vogtinator commented 1 year ago

Demo deployed at https://nspire-emus.github.io/firebird/wasm

Vogtinator commented 1 year ago
  • [ ] Fix caching of emsdk libraries in the GH build

Apparently that's because setup-emsdk behaves differently if the cache was found. If it's not found, it'll install emsdk into emsdk-main and create a cache in emsdk-cache. The system libs end up in emsdk-main in those builds, but only emsdk-cache is cached. If the cache is found, it uses emsdk-cache as emsdk location and build system libs inside that directory.

Vogtinator commented 1 year ago

Fix caching of emsdk libraries in the GH build

Fixed by running emsdk manually instead of using the setup-emsdk action

Vogtinator commented 1 year ago

-O3 -flto is not noticably faster compared to the default (-O3 for object files, -O2 for linking), but it takes twice as long to build.