m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.56k stars 266 forks source link

Minimize Clang usage in MINGW envs #2792

Closed woot000 closed 2 weeks ago

woot000 commented 2 weeks ago

Since the suite installs rust via msys2 instead of rustup, this commit is no longer necessary since the issue it works around isn't encountered on msys2's rust. All rust libraries build fine after this change, and also appear to run fine (tested Av1an, rav1e, and dssim).

This also means Clang is no longer a strict requirement for building on MINGW32/64, so ~1GB can be saved when the suite is installed for the first time. Clang now only installs when building Av1an or ffmpeg with cuda-llvm enabled, since they both require libclang to compile.