mirror of
https://github.com/libretro/virtualjaguar-libretro.git
synced 2026-11-10 17:28:58 -10:00
Upstream's x86_64-macos zip holds an arm64 dylib and it publishes no Linux binary, so shaders only worked on Apple silicon and Windows. A reusable librashader.yml builds the C API from a pinned tag/commit (archive SHA-256 verified, cargo xtask build --profile optimized --locked) for x86_64 and aarch64 macOS (MACOSX_DEPLOYMENT_TARGET=11.0) and x86_64/aarch64 Linux on the Ubuntu 22.04 packaging runners, cached by commit+target+rust, uploaded as librashader-<triple>. macOS builds both slices from the same source and lipo-merges them; check-universal.sh and make-universal.sh lose the arm64-only exception. AppImage and .deb bundle librashader.so beside the executable (already probed). CMake gains -DVJ_LIBRASHADER_LIB. The packaged libraries are loaded by CI, including the x86_64 slice under Rosetta. release.yml leaves librashader-* intermediates out of the release assets. Refs #950 Co-Authored-By: Claude Opus 5.5 <[email protected]>