The version of bison that ships with macOS is too old, so we need to provide our own version of it. Fixes https://gitlab.freedesktop.org/gstreamer/gst-build/-/issues/174 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/257>
677 B
677 B
How to generate binaries and update build files
- Download the latest bison source tarball
- Extract, then build it with --prefix=/
- Install into some dir using
DESTDIR - Delete all files except the following subdirs:
binlibshare/bisonshare/aclocal - Rename installdir to
bison-$version-macos-$archwhere$archfollows Meson's CPU families list: https://mesonbuild.com/Reference-tables.html#cpu-families tar -cvjf bison-$version-macos-$arch.tar.bz2 bison-$version-macos-$arch/- Fetch sha256sum:
shasum -256 bison-$version-macos-$arch.tar.bz2 - Update sha256sum in
meson.build - Update
project()version inmeson.build
That's it!