The x86_64 bison works fine out of the box.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3589>
message('Downloading and extracting bison for macOS x64...')
-arch = host_machine.cpu_family()
+arch = 'x86_64' # run under emulation on arm64
tar_hash = '932f91d7c7fa0121abc3e5f8e54a7234b03d3de468c254ab8063ff8e6eb92a09'
-if arch != 'x86_64'
- warning('bison binary is untested on non-x86_64, please report whether this worked or not')
- arch = 'x86_64'
-endif
ret = run_command(py3, files('download-binary.py'), meson.project_version(), arch, tar_hash,
check: true)