macos-bison-binary: Remove warning when running on arm64
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 16 Dec 2022 22:15:23 +0000 (03:45 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 16 Dec 2022 23:58:07 +0000 (23:58 +0000)
The x86_64 bison works fine out of the box.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3589>

subprojects/macos-bison-binary/meson.build

index 860308d..f257d58 100644 (file)
@@ -4,12 +4,8 @@ py3 = import('python3').find_python()
 
 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)