| 1 |
# CMake is required to compile software (http://www.cmake.org/cmake/resources/software.html) |
| 2 |
# you can install software by executing this file: sh INSTALL |
| 3 |
# |
| 4 |
|
| 5 |
# Prepare GATB sub-module |
| 6 |
git submodule init |
| 7 |
git submodule update |
| 8 |
|
| 9 |
# Prepare directories: |
| 10 |
rm -rf build |
| 11 |
mkdir build |
| 12 |
|
| 13 |
# Go in the 'build' directory |
| 14 |
cd build |
| 15 |
|
| 16 |
# Prepare the makefile |
| 17 |
cmake .. |
| 18 |
|
| 19 |
# Run the newly created makefile: |
| 20 |
make |
| 21 |
# To compile faster, use: |
| 22 |
# make -j8 |
| 23 |
|
| 24 |
# Go back at the installation root directory |
| 25 |
cd .. |
| 26 |
# run tests |
| 27 |
echo "Running simple test..." |
| 28 |
cd test |
| 29 |
. ./simple_test.sh |
| 30 |
cd .. |