GitHub user edespino added a comment to the discussion: source compile configure --with-llvm
While building Cloudberry from source with the --with-llvm option, I ran into some issues on Rocky Linux 9, which ships with LLVM 19. - Since Cloudberry is based on PostgreSQL 14.4, my understanding is that the supported LLVM versions likely extend only up to LLVM 14, consistent with the PostgreSQL REL_14_STABLE branch. - Attempting to build with LLVM 19 fails, which makes sense given this mismatch. Two concerns came up in this process: 1. Documentation gap: I wasn’t able to find anything in the Cloudberry docs specifying which LLVM versions are supported. This would be extremely helpful for adopters, especially as many distributions now ship newer LLVM toolchains by default. 2. Practical hurdle: Hunting for older pre-built LLVM/Clang binaries (or building them locally) isn’t a great experience. Questions / Suggestions: - Could the project add explicit documentation about supported LLVM versions (and perhaps recommended install methods)? - Is there a roadmap or appetite for upgrading the JIT code base to support more current LLVM versions (LLVM 15+ through 19)? - Finally, I don’t think disabling -Werror is a good workaround, as it risks masking critical warnings the project should catch. I’d be happy to help test builds against newer LLVM versions if the community decides to move forward here. Thanks, -=e GitHub link: https://github.com/apache/cloudberry/discussions/1362#discussioncomment-14483549 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
