#!/bin/bash set -euo pipefail prefix=/usr/grte/v5 libdir="${prefix}/lib64" # Install the build tools export DEBIAN_FRONTEND=noninteractive apt-get update -qq apt-get install -y -qq --no-install-recommends build-essential gawk bison python3 git texinfo ca-certificates > /dev/null # Get the GRTE v5 source, Google's glibc 2.27 git clone --depth 1 https://third-party-mirror.googlesource.com/GRTEv5 /src # Build the libraries in the library directory searched by the GRTE v5 loader mkdir /build cd /build cat > configparms <