Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Nov 8, 2024
1 parent d8a6cde commit 29c08ad
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tools/gluten-te/ubuntu/dockerfile-buildenv
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,18 @@ RUN cd /opt && wget https://github.com/Kitware/CMake/releases/download/v3.28.3/c
&& mkdir cmake \
&& bash cmake-3.28.3-linux-x86_64.sh --skip-license --prefix=/opt/cmake \
&& ln -s /opt/cmake/bin/cmake /usr/bin/cmake

RUN cmake --version

# Install GCC 11
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common
RUN add-apt-repository ppa:ubuntu-toolchain-r/test
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y gcc-11 g++-11
RUN rm -f /usr/bin/gcc /usr/bin/g++
RUN ln -s /usr/bin/gcc-11 /usr/bin/gcc
RUN ln -s /usr/bin/g++-11 /usr/bin/g++
RUN cc --version
RUN c++ --version

# Spark binaries
WORKDIR /opt
ARG BUILD_SPARK_BINARIES
Expand Down

0 comments on commit 29c08ad

Please sign in to comment.