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.54k stars 267 forks source link

Question regaring curl #2760

Open Selur opened 2 months ago

Selur commented 2 months ago

Out of curiosity: Why is curl rebuild each time? (running both building 32bit and 64bit)

woot000 commented 2 months ago

curl is updated very frequently

If you want libraries to be built only once, set ffmpegUpdate=3

diegocr commented 2 months ago

Personally i do have this ..\mabs\build\curl_extra.sh

_pre_vcs() {

    ref=$(cd "${REPO_DIR}" && git log -n 1 --pretty=format:"%H")
}

i.e. the local repo is frozen to the last commit built, so whenever you want cURL updated rename the *extra.sh file.

HTH. 🙂

PS: If i am not mistaken, FFmpeg does not uses cURL, it's libmediainfo who does, and it's a pita having to re-compile it each time or disabling building other libraries, thus...

L4cache commented 2 months ago

My choice is to use #tag=LATEST though, I don't really need bleeding edge curl, latest release tag is plenty.