Skip to content

800: source build towards PostgreSQL 11 RPM installation

KaiGai Kohei edited this page Dec 31, 2019 · 1 revision

Symptom

PostgreSQL 11 RPM package distributed by PostgreSQL Global Development Group (PGDG) enables JIT option. It requires additional packages installation when we build extension modules (including PG-Strom) towards the binary programs.

Solution

CentOS 7.x

Install llvm5.0 package from the extras repository, and also install llvm-toolset-7 and related packaged from the SCL(Software Collections) repository.

# yum install centos-release-scl
# yum install llvm-toolset-7 llvm5.0 --enablerepo=extras

Red Hat Enterprise Linux 7.x

Install llvm-toolset-7 and llvm5.0 package from the rhel-7-server-devtools-rpms repository.

# yum install llvm-toolset-7 llvm5.0 --enablerepo=rhel-7-server-devtools-rpms

Once above packages are installed, you can build PG-Strom from the source towards PostgreSQL 11 binary software distribution.

Metadata

Author: KaiGai Kohei <kaigai@heterodb.com> Initial Date: 23-Jul-2019 Update Date: 31-Aug-2019 Software version: PG-Strom v2.1