Created attachment 541470 [details] postgresql-11_beta2.ebuild with llvm support PostgreSQL 11 introduces support for LLVM based JIT which is apparently quite a performance boost in many cases. Enabling support for it should be as simple as adding --with-llvm to the configure command line (see https://www.postgresql.org/docs/devel/static/jit-reason.html), along with IUSE and dependencies for sys-devel/llvm and sys-devel/clang. I did a quick change to the 11-beta2 ebuild and everything appeared to work just fine. I've attached my modified ebuild. Would be great to get support for it in Gentoo :)
Added in postgres 11_beta3