Commit 93b91a80 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Also build gtest.

parent b606c5a7
#! /bin/bash
set -e
set -x
if [ ! -d install/MTL ]; then
mkdir -p install/MTL.tmp
cd install/MTL.tmp
curl -o MTL.tar.gz ""
tar --strip-components=2 -xf MTL.tar.gz
rm MTL.tar.gz
cd ..
mv MTL.tmp MTL
cd ..
if [ ! -d install/gtest ]; then
mkdir -p install/gtest-build
cd install/gtest-build
cmake -DCMAKE_INSTALL_PREFIX=${root}/install/gtest /usr/src/gtest
make && make install
cd ..
rm -rf gtest-build
cd ..
Supports Markdown
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