sgblanch / degenprime-wrap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

degenprime-wrap

This is an experiment in the viability of compiling DeGenPrime to Web Assembly. The hope is that WASM (specifically WASI) will permit DeGenPrime to run locally in a web browser and perhaps as a base for a cross-platform distribution.

Known Limitations

  • No MAFFT integration

Using this repo

Warning

Here be dragons. The instructions below are a rough guide, not well tested, and probably wont work for you. Using vscode and the devcontainer to compile degenprime to web assembly is highly recommended

git clone https://github.com/sgblanch/DeGenPrime.git degenprime
git -C degenprime checkout wasm-support
cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_TOOLCHAIN_FILE:FILEPATH=degenprime/src/wasi-sdk.cmake -S degenprime/src -B degenprime/build -G Ninja
cmake --build degenprime/build --config Release --target all --
make

About

License:GNU General Public License v2.0


Languages

Language:JavaScript 54.1%Language:Python 18.4%Language:Makefile 17.5%Language:HTML 6.6%Language:Dockerfile 3.5%