Skip to content

Latest commit

 

History

History
44 lines (41 loc) · 1.1 KB

README-Starexec.md

File metadata and controls

44 lines (41 loc) · 1.1 KB

Building and running on Starexec VM

  1. The VM:
VM: https://www.starexec.org/vmimage/
user: root
passwd: St@rexec
  1. Install newer CMake:
git clone 'https://gitlab.kitware.com/cmake/cmake.git'
cd cmake
./configure
gmake
make install
  1. Install Mata
git clone 'https://github.com/VeriFIT/mata.git'
cd mata
vim CMakeLists.txt
# ... comment out the following two lines:
#       include(CodeCoverage)
#       setup_target_for_coverage(${PROJECT_NAME}_coverage tests coverage)
CC=/opt/rh/devtoolset-8/root/usr/bin/gcc CXX=/opt/rh/devtoolset-8/root/usr/bin/g++ make release
make install
  1. Compile Noodler:
git clone 'https://github.com/VeriFIT/z3-noodler.git'
mkdir z3-noodler/build
cd z3-noodler/build
vim ../src/test/CMakeLists.txt
# ... comment out the following line:
#       add_subdirectory(noodler)
CC=/opt/rh/devtoolset-8/root/usr/bin/gcc CXX=/opt/rh/devtoolset-8/root/usr/bin/g++ cmake -DCMAKE_BUILD_TYPE=Release ..
make
  1. Now you should be able to run Z3-Noodler by typing
/root/z3-noodler/build/z3 smt.string_solver="noodler" <path/to/instance.smt2>