Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.63 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.63 KB

msieve Web

Compile msieve with Emscripten to WebAssembly.

Building from source

You can build the provided binaries using the provided build.sh script.

Option 1: Using emsdk

Setup the Emscripten toolchain using the emsdk tool. Make sure emconfigure, emmake, and emcc are available in your $PATH and run the following command:

$ ./build.sh

On Windows, you might want to use the Docker variant instead.

Option 2: Using Docker

If you don't want to set up Emscripten on your machine you can use docker with the following command:

$ docker run --rm -v $(pwd):$(pwd) -w $(pwd) -u $(id -u):$(id -g) --platform linux/amd64 emscripten/emsdk /bin/bash ./build.sh

License

As a result, the provided binaries are in turn also licensed under the GNU LGPLv3. All other files are licensed under the Apache License v2. This mainly requests to keep the name of the original authors and give according credit to them if you change or redistribute the sources.