diff --git a/tools/gluten-te/ubuntu/dockerfile-buildenv b/tools/gluten-te/ubuntu/dockerfile-buildenv index 41fc202395e82..dcb5489a05289 100644 --- a/tools/gluten-te/ubuntu/dockerfile-buildenv +++ b/tools/gluten-te/ubuntu/dockerfile-buildenv @@ -65,7 +65,7 @@ RUN cat /root/.m2/settings.xml ## APT dependencies # Update, then install essentials -RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo locales wget tar tzdata git ccache cmake ninja-build build-essential llvm-11-dev clang-11 libiberty-dev libdwarf-dev libre2-dev libz-dev libssl-dev libboost-all-dev libcurl4-openssl-dev +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo locales wget tar tzdata git ccache ninja-build build-essential llvm-11-dev clang-11 libiberty-dev libdwarf-dev libre2-dev libz-dev libssl-dev libboost-all-dev libcurl4-openssl-dev curl zip unzip tar pkg-config autoconf-archive bison flex # install HBM dependencies RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y autoconf automake g++ libnuma-dev libtool numactl unzip libdaxctl-dev @@ -103,6 +103,14 @@ RUN set-login-env "LANG=en_US.UTF-8" RUN set-login-env "LANGUAGE=en_US:en" RUN set-login-env "LC_ALL=en_US.UTF-8" +# Install CMake +RUN cd /opt && https://github.com/Kitware/CMake/releases/download/v3.30.0/cmake-3.30.0-linux-x86_64.sh + && mkdir cmake + && bash cmake-3.30.0-linux-x86_64.sh --skip-license --prefix=/opt/cmake + && ln -s /opt/cmake/bin/cmake /usr/bin/cmake + +RUN cmake --version + # Build & install Spark 3.2.2 RUN cd /opt && wget https://archive.apache.org/dist/spark/spark-3.2.2/spark-3.2.2-bin-hadoop3.2.tgz RUN cd /opt && mkdir spark322 && tar -xvf spark-3.2.2-bin-hadoop3.2.tgz -C spark322 --strip-components=1 diff --git a/tools/gluten-te/ubuntu/examples/buildhere-veloxbe-portable-libs/scripts/all.sh b/tools/gluten-te/ubuntu/examples/buildhere-veloxbe-portable-libs/scripts/all.sh index 216febcca3319..18dd92a343f95 100755 --- a/tools/gluten-te/ubuntu/examples/buildhere-veloxbe-portable-libs/scripts/all.sh +++ b/tools/gluten-te/ubuntu/examples/buildhere-veloxbe-portable-libs/scripts/all.sh @@ -44,7 +44,7 @@ function retry { cd /opt/gluten retry apt-get update -retry apt-get install -y curl zip unzip tar pkg-config autoconf-archive bison flex +retry apt-get install -y --dry-run # We now have all essentials installed in image. BASH_ARGS=$@