Skip to content

Commit

Permalink
Build script: do not build newer Hadoop shim versions on Ubuntu 14.04…
Browse files Browse the repository at this point in the history
… and CentOS 6.
  • Loading branch information
mikeov committed May 15, 2022
1 parent 8cdbe86 commit fe8e079
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ MYCMAKE_CENTOS5='cmake28'
MYCMAKE_OPTIONS_CENTOS5=$MYCMAKE_OPTIONS' -D _OPENSSL_INCLUDEDIR=/usr/include/openssl101e'
MYCMAKE_OPTIONS_CENTOS5=$MYCMAKE_OPTIONS_CENTOS5' -D _OPENSSL_LIBDIR=/usr/lib64/openssl101e'

MYQFSHADOOP_VERSIONS_UBUNTU1404_CENTOS6='0.23.4 0.23.11 1.0.4 1.1.2 2.5.1 2.7.2'
MYQFSHADOOP_VERSIONS_UBUNTU1804='1.0.4 1.1.2 2.7.2 2.7.7 2.8.5 2.9.2 2.10.1 3.1.4 3.2.2 3.3.1'
MYQFSHADOOP_VERSIONS_CENTOS5='0.23.4 0.23.11 1.0.4 1.1.2 2.5.1'

Expand Down Expand Up @@ -197,6 +198,7 @@ build_ubuntu()
fi
if [ x"$1" = x'14.04' ]; then
install_maven
QFSHADOOP_VERSIONS=$MYQFSHADOOP_VERSIONS_UBUNTU1404_CENTOS6
fi
do_build_linux \
${MYPATH+PATH="${MYPATH}:${PATH}"} \
Expand Down Expand Up @@ -262,6 +264,8 @@ build_centos()
MYCMAKE_OPTIONS=$MYCMAKE_OPTIONS_CENTOS5
MYCMAKE=$MYCMAKE_CENTOS5
QFSHADOOP_VERSIONS=$MYQFSHADOOP_VERSIONS_CENTOS5
elif [ x"$1" = x'6' ]; then
QFSHADOOP_VERSIONS=$MYQFSHADOOP_VERSIONS_UBUNTU1404_CENTOS6
fi
if [ x"$1" = x'6' ]; then
# Remove jre 1.8 as jdk is only 1.7
Expand Down

0 comments on commit fe8e079

Please sign in to comment.