[Pkg-javascript-devel] wasm help needed
Jonas Smedegaard
jonas at jones.dk
Tue Oct 19 19:51:45 BST 2021
Quoting Yadd (2021-10-19 17:06:09)
> Le 19/10/2021 à 18:39, Jonas Smedegaard a écrit :
> > Quoting Yadd (2021-10-19 16:13:41)
> >> I uploaded webpack version 5, however it is based on
> >> es-module-lexer which requires to build a WASM and some other
> >> binary files (#996836).
> >> Could someone help me here ?
> >
> > Which toolchain is used? Emscripten or something else or more
> > convoluted?
> Looking at Makefile, needed commands are :
> * ../wasi-sdk-12.0/bin/clang
> * emcc
emcc is part of emscripten:
$ apt-file search bin/emcc
emscripten: /usr/bin/emcc
> I tried emcc but the upstream command seems not compatible.
Which exact command did you try, did you try with Debian-packaged
emscripten or something else, and what was the error message?
> For now I found a workaround: es-module-lexer can be disabled.
> I'm cleaning some other non-DFSG files in webpack before pushing it to
> experimental.
> Note: I tested it on workerpool, it seems to work even without lexer.
Most likely WASM was used for a speed boost somewhere.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211019/9b2dc1b0/attachment.sig>
More information about the Pkg-javascript-devel
mailing list