mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-23 23:23:55 +08:00
* Create universal binary for libyuv
* Add comment about universal binaries to build script
* Remove duplicate license
old-commit-hash: f911e5f028
12 lines
301 B
Bash
12 lines
301 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
git clone https://chromium.googlesource.com/libyuv/libyuv
|
|
cd libyuv
|
|
git reset --hard 4a14cb2e81235ecd656e799aecaaf139db8ce4a2
|
|
cmake .
|
|
|
|
## To create universal binary on Darwin:
|
|
## ```
|
|
## lipo -create -output Darwin/libyuv.a path-to-x64/libyuv.a path-to-arm64/libyuv.a
|
|
## ``` |