Commit d27e63b7 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Cleanup.

parent 93b91a80
......@@ -6,22 +6,18 @@ set -x
root=${PWD}
if [ ! -d install/MTL ]; then
mkdir -p install/MTL.tmp
cd install/MTL.tmp
mkdir -p install/MTL
cd install/MTL
curl -o MTL.tar.gz "http://www.simunova.com/downloads/mtl4/MTL-4.0.9555-Linux.tar.gz"
tar --strip-components=2 -xf MTL.tar.gz
rm MTL.tar.gz
cd ..
mv MTL.tmp MTL
cd ..
cd ${root}
fi
if [ ! -d install/gtest ]; then
mkdir -p install/gtest-build
cd install/gtest-build
mkdir -p install/gtest
cd install/gtest
cmake -DCMAKE_INSTALL_PREFIX=${root}/install/gtest /usr/src/gtest
make && make install
cd ..
rm -rf gtest-build
cd ..
make
cd ${root}
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment