JIT works only partially with meson build? - #417
pg-hub-mirror[bot] wants to merge 1 commit into
Conversation
Meson builds do not generate the LLVM bitcode that JIT inlining needs. So with -Dllvm, JIT compilation works, but inlining does not. Document that in the JIT chapter, and mention -Dllvm next to --with-llvm. While at it, use <option> for --with-llvm, per review. This should be reverted once Meson learns to build the bitcode. Author: Yugo Nagata <nagata@sraoss.co.jp> Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at> Reviewed-by: shihao zhong <zhong950419@gmail.com> Discussion: https://postgr.es/m/20250526150820.28ea70625645e0d6d12be7d5@sraoss.co.jp Backpatch-through: 16
81f2bc7 to
2038cd5
Compare
|
Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp> via pgsql-hackers · original email Hi Shihao,
New patch set: v4-0001-doc-Mention-that-JIT-inlining-does-not-work-with-.patch |
|
Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp> via pgsql-hackers · original email On Fri, 18 Sep 2026 21:00:20 +0900
|
pgsql-hackersCAGRkXqQd26aCrGX03fXiV9MWZmAtYsFDd9N5HzHOxsiSfoKsXA@mail.gmail.comPatch files:
Hi Yugo,
cfbot fails because v2 is a plain diff, and git am cannot apply it.
Attached v3 is the same change made with git format-patch, plus a
commit message. It applies to master and REL_16_STABLE through
REL_19_STABLE.
One suggestion: EXPLAIN still shows "Inlining: true" in this case,
since it only checks PGJIT_INLINE. Maybe the note should say so.
Regards,
Shihao