1#!/usr/bin/sh 2 3set -x 4 5set -eu 6 7UPDATE_BUILDDIR="$(mktemp -d)" 8 9trap "rm -rf $UPDATE_BUILDDIR" EXIT 10 11export CC=gcc 12export CXX=g++; 13 14[ $(uname -m) = 'x86_64' ] 15 16meson setup -Dabi=deprecated,stable "$UPDATE_BUILDDIR" 17meson compile -C "$UPDATE_BUILDDIR" abi-dump 18./scripts/abi-dump-formatter < "$UPDATE_BUILDDIR"/src/current.dump > abi/x86_64/gcc.dump 19