Installing WRENCH
Developer Documentation

Prerequisites

WRENCH is developed in C++. The code follows the C++11 standard, and thus older compilers may fail to compile it. Therefore, we strongly recommend users to satisfy the following requirements:

  • CMake - version 3.2.3 or higher

And, one of the following:

  • g++ - version 5.0 or higher
  • clang - version 3.6 or higher

Dependencies

Source Install

Building WRENCH

You can download the wrench-1.0-alpha.tar.gz archive from the GitHub releases page and install it as follows:

tar xf wrench-1.0-alpha.tar.gz
cd wrench-1.0-alpha
cmake .
make
make install # try "sudo make install" if you don't have the permission to write

If you want to stay on the bleeding edge, you should get the latest git version, and recompile it as you would do for an official archive:

git clone https://github.com/wrench-project/wrench

Existing Compilation Targets

In most cases, compiling and installing WRENCH is enough:

make
make install # try "sudo make install" if you don't have the permission to write

In addition, several compilation targets are provided in WRENCH:

make doc # Builds WRENCH documentation
make unit_tests # Builds WRENCH unit tests

If you want to see actual compiler and linker invocations, add VERBOSE=1 to your compilation command:

make VERBOSE=1