mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
CI scripts: added support for yum #2520
This commit is contained in:
parent
eefc4fd9c5
commit
a107f113f1
@ -34,6 +34,9 @@ case $PACKAGE_MANAGER in
|
||||
cmake)
|
||||
$SUDO apt-get install -y cmake3 || $SUDO apt-get install -y cmake
|
||||
;;
|
||||
ninja)
|
||||
$SUDO apt-get install -y ninja-build
|
||||
;;
|
||||
curl)
|
||||
$SUDO apt-get install -y curl
|
||||
;;
|
||||
@ -69,6 +72,52 @@ case $PACKAGE_MANAGER in
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
yum)
|
||||
case $WHAT in
|
||||
prepare)
|
||||
;;
|
||||
svn)
|
||||
$SUDO yum install -y subversion
|
||||
;;
|
||||
gcc*)
|
||||
$SUDO yum install -y gcc gcc-c++ libstdc++-static
|
||||
;;
|
||||
git)
|
||||
$SUDO yum install -y git
|
||||
;;
|
||||
cmake)
|
||||
$SUDO yum install -y cmake
|
||||
;;
|
||||
ninja)
|
||||
$SUDO yum install -y ninja-build
|
||||
;;
|
||||
curl)
|
||||
$SUDO yum install -y curl
|
||||
;;
|
||||
jq)
|
||||
$SUDO yum install -y jq
|
||||
;;
|
||||
libssl-dev)
|
||||
$SUDO yum install -y openssl-devel
|
||||
;;
|
||||
libicu-dev)
|
||||
$SUDO yum install -y libicu-devel
|
||||
;;
|
||||
libreadline-dev)
|
||||
$SUDO yum install -y readline-devel
|
||||
;;
|
||||
libunixodbc-dev)
|
||||
$SUDO yum install -y unixODBC-devel libtool-ltdl-devel
|
||||
;;
|
||||
libmariadbclient-dev)
|
||||
echo "There is no package with static mysqlclient library"; echo 1;
|
||||
#$SUDO yum install -y mariadb-connector-c-devel
|
||||
;;
|
||||
*)
|
||||
echo "Unknown package"; exit 1;
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
pkg)
|
||||
case $WHAT in
|
||||
prepare)
|
||||
@ -88,6 +137,9 @@ case $PACKAGE_MANAGER in
|
||||
cmake)
|
||||
$SUDO pkg install -y cmake
|
||||
;;
|
||||
ninja)
|
||||
$SUDO pkg install -y ninja-build
|
||||
;;
|
||||
curl)
|
||||
$SUDO pkg install -y curl
|
||||
;;
|
||||
|
@ -4,6 +4,7 @@ set -e -x
|
||||
source default-config
|
||||
|
||||
./install-os-packages.sh cmake
|
||||
./install-os-packages.sh ninja
|
||||
|
||||
if [[ "$COMPILER_INSTALL_METHOD" == "packages" ]]; then
|
||||
. install-compiler-from-packages.sh
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
add_library (mysqlxx ${SPLIT_SHARED}
|
||||
src/Connection.cpp
|
||||
src/Exception.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user