blob: 59f841d40c1be0bd2aae456fcfd081e6e64b7c92 [file] [log] [blame]
Andrew Jefferycd975642024-07-23 14:26:27 +09301#!/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