Giter Club home page Giter Club logo

spin-build's Introduction

spin-build

Build and install the Spin model checker.

$ ./spin-build             # installs spin, modex and friends in $HOME/spin
$ ./spin-build /opt/spin   # installs in specified path
$ ./spin-clean             # clean sources extracted in current working directory

This script itself requires Python 3 to run.

Sample Session:

$ git clone https://github.com/scottt/spin-build
$ cd spin-build
$ ./spin-build

(...)

spin-build: installed spin, ispin, jspin, modex, and tau in /home/scottt/spin

Add this to your .bashrc or equivalent:
  source /home/scottt/spin/spin.env

$ source $HOME/spin.env
$ printf 'init { printf("hello\\n") }' > hello.pml
$ spin hello.pml 
      hello
1 process created

You'll need to have:

  • byacc, bison, flex, make, gcc packages installed to build Spin and Modex.

You'll further need:

  • graphviz and Tcl/Tk to run ispin and tau
  • tau needs GNU awk instead of the one shipped with MacOS (brew install gawk)
  • a graphical Java environment to run jspin

Rationale

  • spin, modex and related utilities:
    • either don't have a toplevel directory in their tarballs or have one that doesn't match their tarball names
    • don't follow the standard ./configure --prefix, make, make install convention of software packaging
  • This script exists to saves new users some time

spin-build's People

Watchers

James Cloos avatar Jason Yao avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.