Skip to content

Commit

Permalink
Update install scripts for PRISM-games.
Browse files Browse the repository at this point in the history
  • Loading branch information
davexparker committed Dec 26, 2023
1 parent 7fd364e commit 7c9cf45
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 16 deletions.
10 changes: 5 additions & 5 deletions prism/etc/scripts/prism-install-cygwin
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/sh

# Script for installation of PRISM on a clean install of Cygwin
# Script for installation of PRISM-games on a clean install of Cygwin
# already set up with required packages, e.g., via prism-install-win

set -e # Abort if one of the commands fails
set -x # Print commands as they are executed

# Download the latest development version from GitHub
git clone https://github.com/prismmodelchecker/prism.git
git clone https://github.com/prismmodelchecker/prism-games.git

# Compile PRISM and run a single test
# (should ultimately display: "Testing result: PASS")
(cd prism/prism && make && make test)
# Compile PRISM-games and run a few tests
# (each should display: "Testing result: PASS")
(cd prism-games/prism && make && make test testz3)
10 changes: 5 additions & 5 deletions prism/etc/scripts/prism-install-fedora
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# Script for installation of PRISM on a clean install of Fedora-based Linux
# Script for installation of PRISM-games on a clean install of Fedora-based Linux
# (current based on Amazon Linux, should be easy to adapt to RHEL/CentOS/etc.)

set -e # Abort if one of the commands fails
Expand All @@ -14,8 +14,8 @@ sudo yum -y install make gcc gcc-c++ java-11-amazon-corretto-devel git
sudo yum -y install python

# Download the latest development version from GitHub
git clone https://github.com/prismmodelchecker/prism.git
git clone https://github.com/prismmodelchecker/prism-games.git

# Compile PRISM and run a single test
# (should ultimately display: "Testing result: PASS")
(cd prism/prism && make && make test)
# Compile PRISM-games and run a few tests
# (each should display: "Testing result: PASS")
(cd prism-games/prism && make && make test testz3)
8 changes: 3 additions & 5 deletions prism/etc/scripts/prism-install-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ cd ..
# cp /usr/lib/libz3.so ../prism-games/prism/lib
# cd ..

# Compile PRISM-games and run two tests
# (should ultimately display: "Testing result: PASS")
cd prism-games/prism
make PPL_DIR=/usr/local/lib
make test testppl testyices testz3
# Compile PRISM-games and run a few tests
# (each should display: "Testing result: PASS")
(cd prism-games/prism && make PPL_DIR=/usr/local/lib && make test testppl testyices testz3)
2 changes: 1 addition & 1 deletion prism/etc/scripts/prism-install-windows.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@REM Script to prepare for installation of PRISM on a clean Windows install
@REM Script to prepare for installation of PRISM-games on a clean Windows install
@REM Run this in a Windows Command Prompt
@REM e.g. cmd /K prism-install-windows.bat
@REM Then run prism-install-cygwin in a Cygwin window
Expand Down

0 comments on commit 7c9cf45

Please sign in to comment.