# Build a modern version of libpq and depending libs from source on Centos 5
set -euo pipefail
-set -x
# WARNING: the version used in CI are defined in .github/workflows/packages-bin.yml
# so it can pretty much only be executed by a sudo user as it is.
set -euo pipefail
-# set -x
python_versions="3.8.10 3.9.13 3.10.5 3.11.0 3.12.0"
pg_version=16
# available to the debian distro or the newest available from the pgdg ppa.
set -euo pipefail
-set -x
libpq=${1:-}
rel=$(lsb_release -c -s)
# repeat the same result.
set -euo pipefail
-set -x
# Assemble a markers expression from the MARKERS and NOT_MARKERS env vars
markers=""
# libraries it links.
set -euo pipefail
-# set -x
source /etc/os-release
# It will use scaleway_m1.sh to provision a server and use it.
set -euo pipefail
-# set -x
function log {
echo "$@" >&2
# See https://www.scaleway.com/en/developers/api/apple-silicon/ for api docs.
set -euo pipefail
-# set -x
project_id="4cf7a85e-f21e-40d4-b758-21d1f4ad3dfb"
zone=fr-par-3
# This script is designed to run on a wheel archive before auditwheel.
set -euo pipefail
-# set -x
source /etc/os-release
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# This script is designed to be used by cibuildwheel as CIBW_BEFORE_ALL_LINUX
set -euo pipefail
-set -x
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# The PG_VERSION env var must be set to a Postgres major version (e.g. 16).
set -euo pipefail
-set -x
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"