Conversation
CC may be resolved as absolute path, such as /emsdn_portable/sdk/emcc. And add empty __init__.py files.
the default encoding is utf8, and will print like `u'xxx'`
Some tests needs dynamic library. Since default build will test and generate docs, so emscripten build just need the wasm module
use 'aubio' as exported module name
|
hi @liulongbiao, thanks! looks good to me, except the first commit. will comment in details. cheers, piem |
piem
left a comment
There was a problem hiding this comment.
- why would you need to create the
__init__.pyfiles? these directories are not python modules - what's missing with the current test?
>>> 'emcc' in '/path/to/emcc -E'
True
piem
left a comment
There was a problem hiding this comment.
tests and examples were correctly build last time i checked, and could be run with node. why disable them? see wscript#L528
piem
left a comment
There was a problem hiding this comment.
could you describe a configuration where the list c_mangled_names is not generated correctly?
without the |
When I execute the script |
|
hi @liulongbiao please don't close this issue until it is resolved. i will have a deeper look. thanks for your patience, Paul |
Codecov Report
@@ Coverage Diff @@
## master #258 +/- ##
=======================================
Coverage 88.09% 88.09%
=======================================
Files 124 124
Lines 9716 9716
Branches 1729 1729
=======================================
Hits 8559 8559
Misses 1110 1110
Partials 47 47Continue to review full report at Codecov.
|
Fixed some issue when I use docker to build aubio with emscripten.
Now we can use Docker to build WebAssembly module with :