Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 662310

Summary: >=dev-db/postgresql-11 add USE=llvm support
Product: Gentoo Linux Reporter: Dan Goodliffe <gentoo>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: postgresql-11_beta2.ebuild with llvm support

Description Dan Goodliffe 2018-07-27 20:06:50 UTC
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 :)
Comment 1 Patrick Lauer gentoo-dev 2018-08-09 19:44:19 UTC
Added in postgres 11_beta3