This is an automated email from the ASF dual-hosted git repository.
hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 7435d69e03 [GLUTEN-7458][VL] Upgrade GCC to version 11 in gluten-te's
ubuntu dockerfile (#7859)
7435d69e03 is described below
commit 7435d69e0397906c90190f266971ce3b50d6ceef
Author: Hongze Zhang <[email protected]>
AuthorDate: Fri Nov 8 12:43:30 2024 +0800
[GLUTEN-7458][VL] Upgrade GCC to version 11 in gluten-te's ubuntu
dockerfile (#7859)
---
tools/gluten-te/ubuntu/dockerfile-buildenv | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/tools/gluten-te/ubuntu/dockerfile-buildenv
b/tools/gluten-te/ubuntu/dockerfile-buildenv
index 47c7b80d86..df13e87261 100644
--- a/tools/gluten-te/ubuntu/dockerfile-buildenv
+++ b/tools/gluten-te/ubuntu/dockerfile-buildenv
@@ -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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]