This is an automated email from the ASF dual-hosted git repository.

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-devops-release.git


The following commit(s) were added to refs/heads/main by this push:
     new 5c1a2ad  Update gcc/g++ settings for PAX on RockyLinux 8
5c1a2ad is described below

commit 5c1a2ada9a93ab5f930aebd0018a7369fdf61930
Author: Dianjin Wang <[email protected]>
AuthorDate: Wed Jun 25 18:28:43 2025 +0800

    Update gcc/g++ settings for PAX on RockyLinux 8
    
    Cloudberry can now be built with PAX support using the default GCC/G++
    toolchain on Rocky Linux 8. There is no longer a need to upgrade
    GCC/G++.
    
    The default GCC/G++ version on Rocky Linux 8 are:
     - gcc 8.5.0
     - g++ 8.5.0
    
    See PR: https://github.com/apache/cloudberry/pull/1165
---
 images/docker/cbdb/build/rocky8/Dockerfile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/images/docker/cbdb/build/rocky8/Dockerfile 
b/images/docker/cbdb/build/rocky8/Dockerfile
index 19d054c..a7f810b 100644
--- a/images/docker/cbdb/build/rocky8/Dockerfile
+++ b/images/docker/cbdb/build/rocky8/Dockerfile
@@ -87,8 +87,8 @@ RUN dnf makecache && \
         diffutils \
         file \
         flex \
-        gcc-toolset-11-gcc \
-        gcc-toolset-11-gcc-c++ \
+        gcc \
+        gcc-c++ \
         gdb \
         glibc-langpack-en \
         glibc-locale-source \
@@ -136,8 +136,6 @@ RUN dnf makecache && \
         perl-IPC-Run \
         protobuf-devel && \
     dnf clean all && rm -rf /var/cache/dnf/* && \
-    echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/profile.d/gcc.sh && \
-    source /etc/profile.d/gcc.sh && \
     cd && XERCES_LATEST_RELEASE=3.3.0 && \
     wget -nv 
"https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${XERCES_LATEST_RELEASE}.tar.gz";
 && \
     echo "$(curl -sL 
https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${XERCES_LATEST_RELEASE}.tar.gz.sha256)"
 | sha256sum -c - && \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to