Closed TLescoatTFX closed 1 week ago
I see, but I would actually prefer it to behave exactly like the custom libraries: build if not present, else do not rebuild. I do not want to set SKIP_ffmpeg
manually (this is the job of the shell script, I do not want to replicate some logic outside of it)
Unlike external libraries, the build scripts are set to always build ffmpeg
and ffmpeg-kit
. Here’s why: External libraries don’t change, so running their build scripts again will create the same binary unless the build tools are updated. But for ffmpeg
, the binary depends on which external libraries are enabled. For example, running ./ios.sh --enable-opus
will produce different ffmpeg
binaries than ./ios.sh --enable-dav1d
. That’s why we’ve set it up this way.
If you’re sure that rebuilding ffmpeg
isn’t needed, you can pass --skip-ffmpeg
and/or --skip-ffmpeg-kit
options to the build script.
./ios.sh -x --skip-ffmpeg --skip-ffmpeg-kit
Description Using
./ios.sh
, ffmpeg is always rebuilt. Scenario: run twice the exact same command. This adds at least 1 min per buildExpected behavior
Note the already built that I expect to see
Current behavior
Note the ok instead of already built
To Reproduce Run the same command twice
Screenshots N/A
Logs N/A
Environment
iOS
v5.1
main
15.4