blob: 59f841d40c1be0bd2aae456fcfd081e6e64b7c92 [file] [log] [blame]
#!/usr/bin/sh
set -x
set -eu
UPDATE_BUILDDIR="$(mktemp -d)"
trap "rm -rf $UPDATE_BUILDDIR" EXIT
export CC=gcc
export CXX=g++;
[ $(uname -m) = 'x86_64' ]
meson setup -Dabi=deprecated,stable "$UPDATE_BUILDDIR"
meson compile -C "$UPDATE_BUILDDIR" abi-dump
./scripts/abi-dump-formatter < "$UPDATE_BUILDDIR"/src/current.dump > abi/x86_64/gcc.dump