forked from Z3Prover/z3
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from VeriFIT/readme-update
Readme update
- Loading branch information
Showing
2 changed files
with
56 additions
and
54 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## Building and running on Starexec VM | ||
|
||
1. The VM: | ||
``` | ||
VM: https://www.starexec.org/vmimage/ | ||
user: root | ||
passwd: St@rexec | ||
``` | ||
2. Install newer CMake: | ||
```shell | ||
git clone 'https://gitlab.kitware.com/cmake/cmake.git' | ||
cd cmake | ||
./configure | ||
gmake | ||
make install | ||
``` | ||
3. Install Mata | ||
```shell | ||
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 | ||
``` | ||
4. Compile Noodler: | ||
|
||
```shell | ||
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 | ||
``` | ||
|
||
5. Now you should be able to run Z3-Noodler by typing | ||
```shell | ||
/root/z3-noodler/build/z3 smt.string_solver="noodler" <path/to/instance.smt2> | ||
``` |
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