Make install scripts less verbose
We don't need to know the contents of the tarballs on each build.
This commit is contained in:
@ -58,18 +58,18 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# cmake
|
# cmake
|
||||||
wget http://max-tst-01.mariadb.com/ci-repository/cmake-3.7.1-Linux-x86_64.tar.gz --no-check-certificate
|
wget -q http://max-tst-01.mariadb.com/ci-repository/cmake-3.7.1-Linux-x86_64.tar.gz --no-check-certificate
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo "CMake can not be downloaded from Maxscale build server, trying from cmake.org"
|
echo "CMake can not be downloaded from Maxscale build server, trying from cmake.org"
|
||||||
wget https://cmake.org/files/v3.7/cmake-3.7.1-Linux-x86_64.tar.gz --no-check-certificate
|
wget -q https://cmake.org/files/v3.7/cmake-3.7.1-Linux-x86_64.tar.gz --no-check-certificate
|
||||||
fi
|
fi
|
||||||
sudo tar xzvf cmake-3.7.1-Linux-x86_64.tar.gz -C /usr/ --strip-components=1
|
sudo tar xzf cmake-3.7.1-Linux-x86_64.tar.gz -C /usr/ --strip-components=1
|
||||||
|
|
||||||
cmake_version=`cmake --version | grep "cmake version" | awk '{ print $3 }'`
|
cmake_version=`cmake --version | grep "cmake version" | awk '{ print $3 }'`
|
||||||
if [ "$cmake_version" \< "3.7.1" ] ; then
|
if [ "$cmake_version" \< "3.7.1" ] ; then
|
||||||
echo "cmake does not work! Trying to build from source"
|
echo "cmake does not work! Trying to build from source"
|
||||||
wget https://cmake.org/files/v3.7/cmake-3.7.1.tar.gz --no-check-certificate
|
wget -q https://cmake.org/files/v3.7/cmake-3.7.1.tar.gz --no-check-certificate
|
||||||
tar xzvf cmake-3.7.1.tar.gz
|
tar xzf cmake-3.7.1.tar.gz
|
||||||
cd cmake-3.7.1
|
cd cmake-3.7.1
|
||||||
|
|
||||||
./bootstrap
|
./bootstrap
|
||||||
@ -98,7 +98,7 @@ cd ../../
|
|||||||
# TCL
|
# TCL
|
||||||
mkdir tcl
|
mkdir tcl
|
||||||
cd tcl
|
cd tcl
|
||||||
wget --no-check-certificate http://prdownloads.sourceforge.net/tcl/tcl8.6.5-src.tar.gz
|
wget -q --no-check-certificate http://prdownloads.sourceforge.net/tcl/tcl8.6.5-src.tar.gz
|
||||||
|
|
||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
@ -106,7 +106,7 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar xzvf tcl8.6.5-src.tar.gz
|
tar xzf tcl8.6.5-src.tar.gz
|
||||||
cd tcl8.6.5/unix
|
cd tcl8.6.5/unix
|
||||||
./configure
|
./configure
|
||||||
sudo make install
|
sudo make install
|
||||||
@ -131,7 +131,7 @@ sudo make install
|
|||||||
cd ../../
|
cd ../../
|
||||||
|
|
||||||
# Avro C API
|
# Avro C API
|
||||||
wget -r -l1 -nH --cut-dirs=2 --no-parent -A.tar.gz --no-directories http://mirror.netinch.com/pub/apache/avro/stable/c
|
wget -q -r -l1 -nH --cut-dirs=2 --no-parent -A.tar.gz --no-directories http://mirror.netinch.com/pub/apache/avro/stable/c
|
||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
echo "Error getting avro-c"
|
echo "Error getting avro-c"
|
||||||
|
Reference in New Issue
Block a user