ci-setup 467 Bytes
Newer Older
Ansgar Burchardt's avatar
Ansgar Burchardt committed
1
2
3
#! /bin/bash

set -e
Ansgar Burchardt's avatar
Ansgar Burchardt committed
4
5
6
set -x

root=${PWD}
Ansgar Burchardt's avatar
Ansgar Burchardt committed
7
8

if [ ! -d install/MTL ]; then
Ansgar Burchardt's avatar
Ansgar Burchardt committed
9
10
   mkdir -p install/MTL
   cd install/MTL
Ansgar Burchardt's avatar
Ansgar Burchardt committed
11
   curl -o MTL.tar.gz "http://www.simunova.com/downloads/mtl4/MTL-4.0.9555-Linux.tar.gz"
Ansgar Burchardt's avatar
Ansgar Burchardt committed
12
   tar --strip-components=2 -xf MTL.tar.gz
Ansgar Burchardt's avatar
Ansgar Burchardt committed
13
   rm MTL.tar.gz
Ansgar Burchardt's avatar
Ansgar Burchardt committed
14
   cd ${root}
Ansgar Burchardt's avatar
Ansgar Burchardt committed
15
16
fi

17
18
19
20
21
22
23
# if [ ! -d install/gtest ]; then
#    mkdir -p install/gtest
#    cd install/gtest
#    cmake -DCMAKE_INSTALL_PREFIX=${root}/install/gtest /usr/src/gtest
#    make
#    cd ${root}
# fi