Docker environment to build ngspice from source with a focus on command-line operations
We use Emscripten to compile the ngspice codebased into WASM to run client-side inside compatible browsers.
First clone the repository:
git clone https://github.com/danchitnis/ngspice.git
cd ngspiceBuild the Docker image:
cd emcc
docker build -t ngspice:emcc .Run the Docker image:
docker run -it -v $(realpath .):/mnt ngspice:emccThis will create a new directory build which has the generated JS and WASM runtime files.
First clone the repository:
git clone https://github.com/danchitnis/ngspice.git
cd ngspiceBuild the Docker image:
cd linux
sudo docker build -t ngspice:linux .Run the Docker image:
docker run -it -v $(realpath .):/mnt ngspice:linuxThis will create a new directory build which contains the generated ngspice executable
TBA
TBA
Notice that the docker image is based on container-xrdp
https://github.com/danchitnis/ngspice-sf-mirror