Commit afe1642
chore(ffmpeg): vendor macos-arm64 prebuilt tree (captured from CI artifact)
Companion to the already-committed libs/ffmpeg/macos-x86_64/. Captured
from CI run 26064600141 build-macos job (commit b58c97c — the one-shot
upload-artifact step). Together with macos-x86_64 this enables:
1. macOS universal builds: cmake/ffmpeg.cmake can lipo per-arch dylibs
into a universal tree at build-time when CMAKE_OSX_ARCHITECTURES is
a list, unblocking CI to ship a universal .app/.vst3/.au/.clap that
runs on both Apple Silicon and Intel Macs. (Local Intel-only dev
path unchanged — continues using libs/ffmpeg/macos-x86_64/ directly.)
2. Removing the "Vendor LGPL ffmpeg" step from mac CI: with both trees
committed, the from-source ffmpeg rebuild on every CI invocation
becomes redundant. 15-25 min per CI run → ~10 sec git checkout.
Pattern extends to libs/ffmpeg/windows-x86_64/ + linux-x86_64/ as
those CI lanes start producing valid trees.
3. Reproducibility: bit-exact same ffmpeg across CI runs and local
builds (within an arch). The build script (scripts/build_ffmpeg_lgpl.sh)
stays useful for bumping ffmpeg version + initial vendoring of new
platforms — just no longer runs every CI invocation.
Tree contents (149 files, 5.5 MB):
- include/{libavcodec,libavformat,libavutil,libswscale,wels}/ — headers
identical between arches (verified)
- lib/ — ffmpeg 7.1.2 + openh264 2.1.1 arm64 dylibs with the same
versioned-canonical + symlink-alias layout as macos-x86_64
Symlinks recreated locally — actions/upload-artifact dereferences
symlinks during artifact transport, so the downloaded tree had three
1.5 MB copies of libavcodec.dylib instead of one canonical file + two
symlinks. Re-symlinked to match the macos-x86_64 tree layout (13 MB →
5.5 MB).
License compliance: libs/ffmpeg/LICENSE.LGPL.txt + LICENSE.openh264.txt
at the libs/ffmpeg/ root cover both per-arch trees uniformly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b58c97c commit afe1642
149 files changed
Lines changed: 34118 additions & 0 deletions
File tree
- libs/ffmpeg/macos-arm64
- include
- libavcodec
- libavformat
- libavutil
- libswscale
- wels
- lib
- pkgconfig
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments