Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit 5c1a2ad

Browse files
committed
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: apache/cloudberry#1165
1 parent 133a813 commit 5c1a2ad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

images/docker/cbdb/build/rocky8/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ RUN dnf makecache && \
8787
diffutils \
8888
file \
8989
flex \
90-
gcc-toolset-11-gcc \
91-
gcc-toolset-11-gcc-c++ \
90+
gcc \
91+
gcc-c++ \
9292
gdb \
9393
glibc-langpack-en \
9494
glibc-locale-source \
@@ -136,8 +136,6 @@ RUN dnf makecache && \
136136
perl-IPC-Run \
137137
protobuf-devel && \
138138
dnf clean all && rm -rf /var/cache/dnf/* && \
139-
echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/profile.d/gcc.sh && \
140-
source /etc/profile.d/gcc.sh && \
141139
cd && XERCES_LATEST_RELEASE=3.3.0 && \
142140
wget -nv "https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${XERCES_LATEST_RELEASE}.tar.gz" && \
143141
echo "$(curl -sL https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-${XERCES_LATEST_RELEASE}.tar.gz.sha256)" | sha256sum -c - && \

0 commit comments

Comments
 (0)