blob: e464b0881c68d9b041269bf68b48cb77e7710acc [file] [log] [blame]
#!/bin/sh
ABORT=no
check_cmake() {
(cmake --version) < /dev/null > /dev/null 2>&1 || {
echo "error: cmake 2.8 or higher must be present to configure and install MADlib"
ABORT=yes
}
}
check_cmake
test "$ABORT" = yes && exit -1
cd `dirname $0`
mkdir -p build
cd build
rm -f CMakeCache.txt
cmake "$@" ..