An open API service indexing awesome lists of open source software.

https://github.com/pgedge/pgbin-build

Building our Postgres Binaries and Extensions from Source
https://github.com/pgedge/pgbin-build

Last synced: about 1 year ago
JSON representation

Building our Postgres Binaries and Extensions from Source

Awesome Lists containing this project

README

          

# PGBIN-BUILD

The steps listed below are for:

* RHEL (Rocky or Alma) version 8 on AMD architecture
* RHEL (Rocky or Alma) version 9 on ARM architecture

## Creating an AMD64-EL8 or ARM64-EL9 build environment

### 1.) Setup a CLI environment (see https://github.com/pgEdge/cli for more info)
```
cd ~
mkdir dev
cd dev
git clone https://github.com/pgEdge/cli
cd cli/devel/setup ...
```

### 2.) Setup a BUILD (BLD) environment
```
cd /opt
sudo git clone https://github.com/pgedge/pgbin-build
sudo chown -R $USER:$USER pgbin-build
```

### 3.) cd $BLD
a) run `./sharedLibs.sh` the first time and each time you do incremental pg releases (after `dnf update`)
b) run `./build-all-pgbin.sh 17` & `build-all-components.sh spock40 17' to confirm build environment
c) execute build-scripts as necessary and maintain IN directory binaries via push & pull scripts