Skip to content

Commit

Permalink
Update VAL installation instructions (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvan Sievers authored and jendrikseipp committed Jul 16, 2020
1 parent 5740df1 commit 931ce80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,12 @@ jobs:
- name: Compile VAL
working-directory: ../deps
run: |
sudo apt-get -y install g++ make flex bison
sudo apt-get -y install bison cmake flex g++ make
git clone https://github.com/KCL-Planning/VAL.git
cd VAL
git checkout a5565396007eee73ac36527fbf904142b3077c74
make clean # Remove old build artifacts and binaries.
sed -i 's/-Werror //g' Makefile # Ignore warnings.
make -j
mv validate ../
cd ../
rm -rf VAL
git checkout 8d61593 # Newer versions require time stamps (https://github.com/KCL-Planning/VAL/issues/46).
bash scripts/linux/build_linux64.sh all release
ln -s `realpath build/linux64/release/bin/Validate` ../validate
- name: Clone benchmarks
working-directory: ../deps
Expand Down
13 changes: 5 additions & 8 deletions docs/downward.tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,13 @@ Install VAL

::

sudo apt install g++ make flex bison
sudo apt install bison cmake flex g++ make
git clone https://github.com/KCL-Planning/VAL.git
cd VAL
# Newer VAL versions need time stamps, so we use an old version
# (https://github.com/KCL-Planning/VAL/issues/46).
git checkout a5565396007eee73ac36527fbf904142b3077c74
make clean # Remove old binaries.
sed -i 's/-Werror //g' Makefile # Ignore warnings.
make
sudo cp validate /usr/local/bin # Add binary to a directory on PATH.
git checkout 8d61593 # Newer versions are incompatible with Fast Downward.
bash scripts/linux/build_linux64.sh all release
# Add binary to a directory on PATH.
sudo ln -s `realpath build/linux64/release/bin/Validate` /usr/local/bin/validate


Run tutorial experiment
Expand Down

0 comments on commit 931ce80

Please sign in to comment.