1 project('win-flex-bison-binary', version : '3.7.6')
3 py3 = import('python3').find_python()
5 message('Downloading and extracting bison for macOS x64...')
7 arch = host_machine.cpu_family()
8 tar_hash = '932f91d7c7fa0121abc3e5f8e54a7234b03d3de468c254ab8063ff8e6eb92a09'
10 warning('bison binary is untested on non-x86_64, please report whether this worked or not')
14 ret = run_command(py3, files('download-binary.py'), meson.project_version(), arch, tar_hash,
17 conf = configuration_data()
18 conf.set('SRCDIR', meson.project_source_root())
19 conf.set('EXTRACTDIR', ret.stdout())
20 bison_py = configure_file(
25 meson.override_find_program('bison', find_program(bison_py))