Hello Ashwani Raina, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/23033
to look at the new patch set (#2).
Change subject: Add support for Rocky Linux 9 in build toolchain scripts
......................................................................
Add support for Rocky Linux 9 in build toolchain scripts
This commit enables proper C++17 compilation on Rocky Linux 9 by:
1. Adding OS detection for Rocky Linux 9 in enable_devtoolset.sh
2. Implementing a new custom_run_at_rocky9() function that:
- Activates gcc-toolset-12 using /opt/rh/gcc-toolset-12/enable
- Integrates ccache using pre-built wrapper scripts
- Sets CC/CXX environment variables to appropriate compilers
3. Creating ccache wrapper scripts in build-support/ccache-gcc-toolset-12:
- cc: Executes ccache with gcc
- c++: Executes ccache with g++
4. Maintaining backward compatibility with existing RHEL/CentOS 6/7 systems
The changes ensure Kudu can be built on Rocky Linux 9 using gcc-toolset-12
which provides GCC 12.X.X and full C++17 support. The solution follows
the same pattern as existing devtoolset implementations but adapts to
Rocky's gcc-toolset environment.
Change-Id: Ibb232f6ec4c36369e79b03370b487ae64aac6f3d
---
A build-support/ccache-gcc-toolset-12/c++
A build-support/ccache-gcc-toolset-12/cc
M build-support/enable_devtoolset.sh
3 files changed, 65 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/33/23033/2
--
To view, visit http://gerrit.cloudera.org:8080/23033
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibb232f6ec4c36369e79b03370b487ae64aac6f3d
Gerrit-Change-Number: 23033
Gerrit-PatchSet: 2
Gerrit-Owner: KeDeng <[email protected]>
Gerrit-Reviewer: Ashwani Raina <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)