Skip to content

XuanhaoBao/ngspice

 
 

Repository files navigation

ngspice container tools

EMCC Build CI

Docker environment to build ngspice from source with a focus on command-line operations

WASM

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 ngspice

Build the Docker image:

cd emcc
docker build -t ngspice:emcc .

Run the Docker image:

docker run -it -v $(realpath .):/mnt ngspice:emcc

This will create a new directory build which has the generated JS and WASM runtime files.

Linux

Linux Build CI

First clone the repository:

git clone https://github.com/danchitnis/ngspice.git
cd ngspice

Build the Docker image:

cd linux
sudo docker build -t ngspice:linux .

Run the Docker image:

docker run -it -v $(realpath .):/mnt ngspice:linux

This will create a new directory build which contains the generated ngspice executable

Windows

TBA

GUI debug container

TBA

Notice that the docker image is based on container-xrdp

Ngspice mirror

Mirror CI

https://github.com/danchitnis/ngspice-sf-mirror

Details

See: https://sourceforge.net/p/ngspice/patches/99/

Contributions

ngspice

Emscripten

SPICE3f5

About

Ngspice development tools for browser (WASM), Linux and Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 54.0%
  • M4 24.3%
  • JavaScript 8.9%
  • C 7.3%
  • Shell 3.0%
  • Dockerfile 1.8%
  • CSS 0.7%