Last active
September 19, 2024 01:12
-
-
Save leo-pfeiffer/92a095fa92d247fb9a788fbe9c84b2a6 to your computer and use it in GitHub Desktop.
Install Spin and iSpin on Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Spin and iSpin on MacOS | |
# adapted from https://philenius.github.io/software%20quality/2020/04/09/installing-spin-on-ubuntu-19.html | |
# (requires developer tools to be installed; to install them, run `xcode-select --install`) | |
# Install in a new directory | |
INSTALL_DIR=Spin | |
mkdir $INSTALL_DIR | |
cd $INSTALL_DIR | |
curl -OL https://github.com/nimble-code/Spin/archive/version-6.5.2.tar.gz | |
tar xfz version-6.5.2.tar.gz | |
cd Spin-version-*/Src | |
make | |
sudo cp spin /usr/local/bin/ | |
# Example: Check if Spin was installed | |
# spin -V | |
# Example: Running Spin | |
# spin $INSTALL_DIR/Spin-version-*/Examples/hello.pml | |
# Example: Running iSpin | |
# cd $INSTALL_DIR/Spin-version-*/optional_gui/ | |
# ./ispin.tcl |
Thanks a lot!
Thank you It was helpful.
Thanks a lot!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has helped me, thanks!