Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22279
Change subject: [thirdparty] fix building LLVM/CLANG 11.0.0 with GCC13 ...................................................................... [thirdparty] fix building LLVM/CLANG 11.0.0 with GCC13 GCC13 (G++13) is the default system compiler on contemporary Linux OS flavors such as Ubuntu 24.04 LTS. With this patch it's now possible to compile LLVM/CLANG in Kudu's thirdparty on Ubuntu 24.04 LTS. This patch picks up a few relevant updates from the LLVM project's upstream repository [1] with minor tweaks to adapt to the change in the sources layout change happened in LLVM/CLANG 12. The updates are about preventing leaking in the parts of the standard library installed at the build machine into the components of the LLVM/CLANG that are supposed to be completely freestanding/standalone. I guess it should help not only with making it possible to build LLVM/CLANG 11 with GCC13, but also address the root cause of the issues we have hit on SLES15 and elsewhere in the codegen [2][3]. I haven't had a chance to verify this hypothesis, though. We definitely need to upgrade from LLVM 11.0.0 to LLVM 19.1.6, but it's a separate task on its own while this patch focuses on making the current version of LLVM/CLANG in the Kudu's thirdparty buildable on recent Linux OS releases (such as Ubuntu 24.04 LTS). I also snuck in a update to skip building compiler-rt tests since they aren't run in the scope of building LLVM/CLANG as a thirdparty component of the Apache Kudu project. [1] https://github.com/llvm/llvm-project [2] https://issues.apache.org/jira/browse/KUDU-3479 [3] https://issues.apache.org/jira/browse/KUDU-3545 Change-Id: I9b8282c85bbac5f25eae885e4b3ec183104bc540 --- M thirdparty/build-definitions.sh M thirdparty/download-thirdparty.sh A thirdparty/patches/llvm-include-llvm-support-signals.patch A thirdparty/patches/llvm-nostdinc-nostdlib-00.patch A thirdparty/patches/llvm-nostdinc-nostdlib-01.patch A thirdparty/patches/llvm-nostdinc-nostdlib-02.patch 6 files changed, 265 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/22279/1 -- To view, visit http://gerrit.cloudera.org:8080/22279 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I9b8282c85bbac5f25eae885e4b3ec183104bc540 Gerrit-Change-Number: 22279 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
