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
- Host: GitHub
- URL: https://github.com/pgedge/pgbin-build
- Owner: pgEdge
- Created: 2024-01-19T14:10:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T08:12:17.000Z (about 2 years ago)
- Last Synced: 2024-05-22T13:27:38.340Z (about 2 years ago)
- Language: Shell
- Size: 126 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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