mauricek / qtwasm_builder

Build Qt for WebAssembly with docker and re-use for app testing
MIT License
25 stars 6 forks source link

binding cache appears to be not working #5

Closed patrickelectric closed 4 years ago

patrickelectric commented 5 years ago

It appears that -v ~/.emscripten_cache2:/root/.emscripten_cache is not working and everything is being build from scratch. Can this be confirmed ?

mauricek commented 5 years ago

So you are trying to have a local cache being exposed to the running instance? I'll try that out, didn't think about that way so far.

patrickelectric commented 5 years ago

Hi @mauricek, the idea is to have a local cache folder to allow faster builds for the docker.

mauricek commented 5 years ago

docker run --rm -v $PWD:/project/source -v $PWD:/project/build -v ~/asmcache:/root/.emscripten_cache maukalinow/qtwasm_builder:5.13_latest

Seems to work nicely for me, creating cache on first run, and re-using it on the second. Would you be able to provide some more details? Which docker version on which OS? Are there any errors being displayed?

Is the directory correctly mounted when you run it interactively? Meaning, does it really take that directory as cache?

mauricek commented 4 years ago

Closing due to missing feedback. If this reoccurs, please re-open.