Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662310 - >=dev-db/postgresql-11 add USE=llvm support
Summary: >=dev-db/postgresql-11 add USE=llvm support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-27 20:06 UTC by Dan Goodliffe
Modified: 2018-08-09 19:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
postgresql-11_beta2.ebuild with llvm support (postgresql-11_beta2.ebuild,13.12 KB, text/plain)
2018-07-27 20:06 UTC, Dan Goodliffe
Details

Note You need to log in before you can comment on or make changes to this bug.
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